Zip-like compression algorithms are secretly autoregressive decoders

varunneal · x · 2026-11-17

varunneal observes that naive compression algorithms like zip are secretly autoregressive decoders: pick a long prefix (e.g., all of Wikipedia) and generate bit by bit, choosing whichever bit makes the whole file compress best.

This echoes the theory that prediction and compression are equivalent — better compression means better sequence prediction.

Related event: Plain Compression as Autoregressive Decoder: gzip+kNN Beats Neural Nets(2 posts)→

Original post →

More from Research

Research channel →