Compression is prediction
- AI
- Machine Learning
- Infrastructure
- Programming
The post explains a standard information theory idea in plain language: good compression works by assigning short codes to likely next symbols, which means it needs a good predictor of what comes next. It walks through entropy coding, arithmetic coding, and then connects that logic to language models, where next-token prediction can also be seen as building a compressed representation of training data.
Treat compression-based framing as a sharp mental model for language models and probabilistic systems, not a blanket theory of intelligence or generalization. If you build models, evaluate them on distribution shift and task-specific edge cases instead of assuming better compression automatically means broader understanding.
-
ngrok.com
- Discuss on HN