An Introduction to Compression-Based Machine Learning

John Hurwitz, Edward Raff, Charles K. Nicholas
9/18/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Any lossless compression algorithm (like gzip) may be converted into a machine learning method, via either Normalized Compression Distance or the Minimum Description Length principle. Any auto-regressive model may be converted into a lossless compression method via entropy coding.

Show full abstract

This seemingly circular dependence has unrealized potential in modern artificial intelligence and machine learning, and we survey and formalize the various strategies that have been used to leverage compression for machine learning. We introduce and empirically validate a design framework for compression-based ML, finding compression-based methods competitive with conventional baselines and decisively stronger on malware. We find that varying these design choices yields accuracy gains of up to 0.62.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hurwitz2026introduction,
  title  = {An Introduction to Compression-Based Machine Learning},
  author = {John Hurwitz and Edward Raff and Charles K. Nicholas},
  year   = {2026},
  eprint = {2609.21309},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.21309v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.21309.svg)](https://codeofpaper.com/paper/2609.21309)

Discussion