Next-Symbol Prediction From Compression: Statistical and Computational Foundations
Yanjun Han, Yihong Wu
IEEE BITS the Information Theory Magazine, 1-12 (2026)
Abstract
Next-symbol prediction is a central task in modern generative models, yet its statistical and computational foundations for dependent data remain poorly understood. This tutorial extends the classical information-theoretic framework that connects prediction to universal compression, revealing a fundamental distinction between prediction and parameter estimation. Addressing model classes with finite (Markov chains) and infinite memory (Hidden Markov Model and renewal processes), we characterize the minimax prediction risks without imposing mixing conditions, and show how optimal prediction can be achieved using ideas from universal compression. We further quantify the impact of memory and mixing on statistical efficiency, and establish computational hardness results demonstrating that achieving statistically optimal prediction may be computationally infeasible.




