cs.LGSep 18, 2026

An Introduction to Compression-Based Machine Learning

Authors: John Hurwitz, Edward Raff, Charles K. Nicholas

Organizations: University of Maryland, Baltimore County · CrowdStrike · Syracuse University

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. 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.

Figures & tables

Explore similar work

CardsList
  1. Can Deep Neural Networks Improve Compression of Very Large Scientific Data?

    Jun 12, 2026Muhannad Alhumaidi, Guozhong Li, Spiros Skiadopoulos +1Predictive Coding

  2. Tiny, Hardware-Independent, Compression-based Classification

    Mar 6, 2026Charles Meyers, Aaron MacSween, Erik Elmroth +1Kernel MethodsData-Efficient Learning

  3. Learning, Compression, and Meta-Complexity

    Oct 12, 2026Halley Goldberg, Mikito Nanashima, Igor C. OliveiraKolmogorov ComplexityStatistical Learning Theory