TL;DR
Why can we ruthlessly prune and quantize massive neural networks without ruining their accuracy? This paper provides direct mathematical evidence for the "learning as compression" hypothesis by introducing QuBD, the first scalable method to estimate the true algorithmic complexity of modern deep neural networks. By watching how the hidden structure of weights evolves, the authors show that learning literally compresses a network's description length—giving us a principled, practical diagnostic for deciding how much we can shrink a model.
What Problem Does This Paper Address?
For years, researchers have leaned on the "learning as compression" hypothesis: the idea that training forces randomly initialized, chaotic network weights to organize into structured, redundant patterns. That hidden structure is why models generalize well instead of merely memorizing, and why post-training compression works.
The ultimate mathematical yardstick for structure is Kolmogorov-Chaitin-Solomonoff (KCS) complexity—the length of the shortest computer program capable of generating an object. Random noise is incompressible (high KCS complexity); a structured pattern has a short generating program (low KCS complexity).
While KCS complexity is technically uncomputable due to the halting problem, we can approximate it for tiny binary strings using massive lookup tables of simulated Turing machines, known as the Coding Theorem Method (CTM), and extend it to slightly larger binary arrays via the Block Decomposition Method (BDM). However, these tools hit a brick wall with modern deep learning. Neural networks contain millions or billions of floating-point numbers, not tiny binary grids. Crudely binarizing weights (e.g., keeping only their $\pm$ signs) throws away crucial information, while serializing floats into massive bit-streams quickly saturates finite lookup tables, making complex networks indistinguishable from simple ones.
Methods
To bridge the gap between small binary Turing tables and billion-parameter floating-point networks, the authors introduce Quantized Block Decomposition (QuBD).
Instead of squashing weights into 1-bit signs or stringing bits end-to-end, QuBD borrows a classic trick from digital image processing: bit-plane decomposition.
- Quantize: Floating-point weight matrices (reshaped to 2D if needed) are mapped to $b$-bit integers (e.g., 8-bit codes from $0$ to $255$).
- Decompose: Rather than reading each weight's bits together, QuBD slices across the entire layer by bit position. All the Most Significant Bits (MSBs) form one 2D binary grid, the second-most significant bits form another, down to the Least Significant Bits (LSBs).
- Aggregate: Standard $4 \times 4$ BDM/CTM lookup tables estimate the algorithmic complexity of each binary bit-plane independently, and QuBD sums them up.
The authors prove theoretically that if bit-planes are independent, QuBD provides a tighter upper bound on ideal KCS complexity than binarization, while avoiding the lookup-table saturation that plagues serialized bit-streams.
Datasets
No new benchmarks are introduced; instead, the authors evaluate QuBD across standard datasets spanning multiple scales and modalities:
- Fashion-MNIST (for MLPs of varying parameter counts and data budgets)
- CIFAR-10 (for Tiny-ViT training dynamics)
- ImageNet (evaluating 100 pretrained
timmmodels and post-training quantization on ResNet, ViT, EfficientNet, and MobileNet) - The Pile (analyzing training checkpoints of the 1-billion-parameter Pythia-1B LLM)
- Synthetic Modular Arithmetic ($P=97$, used to study "grokking")
Key Insights and Ideas
- Generalization is simplification; memorization is complexification: As a model learns, the QuBD complexity of its weights steadily drops. Remarkably, when an MLP begins to overfit, its weight complexity bends upward again—memorizing noise requires more algorithmic description length than learning a clean rule.
- Tracking "Grokking" under the hood: In grokking—where a model memorizes training data immediately but only generalizes thousands of epochs later—QuBD complexity stays stubbornly high during the memorization phase, plunges right as validation loss drops to zero, and keeps falling afterward as the network continues to simplify its internal circuit.
- Structure lives in the top bits: Across architectures, training organizes the Most Significant Bit-planes while leaving the Least Significant Bit-planes looking almost completely random.
Key Results
The authors normalize complexity against random weights ($\Delta\mathcal{C}_{\text{QuBD}}$), where $100\%$ means random noise and lower percentages indicate learned structure:
- Scaling with data and size: Training MLPs ($0.6\text{M}$ to $13.7\text{M}$ parameters) with more Fashion-MNIST samples monotonically increases accuracy and drops $\Delta\mathcal{C}_{\text{QuBD}}$—down to $\sim 5\%$ of initialization complexity for the largest MLP. Standard BDM (with binarization) and raw
GZIPcompression fail to capture this trend. - 100 Pretrained Models & LLMs: Across 100
timmvision models (up to $100\text{M}$ parameters) and Pythia-1B, pretrained weights consistently exhibit lower complexity than random initialization, continuing to simplify even after training loss plateaus. - Zero-shot compression diagnostic: Testing 16-bit QuBD on five ImageNet models (including ResNet-50 and ViT-B/16) reveals that only the top $\sim 5$ bit-planes show complexity reduction; lower planes sit at $\Delta\mathcal{C}_{\text{QuBD}} \approx 100\%$. Sure enough, applying post-training quantization (PTQ) shows virtually no accuracy drop down to 4-to-6 bits, confirming that algorithmically "random" bit-planes can be safely discarded.
Limitations and Future Work
- The independence assumption: Summing complexity across bit-planes assumes they share no mutual algorithmic information. If correlations exist between planes, QuBD overestimates total complexity. Accounting for cross-plane mutual information could yield even tighter bounds.
- Diagnostic vs. full compression pipeline: While QuBD clearly flags redundant bit-planes and compressible inner layers, the authors note that future work is needed to turn this diagnostic into an automated pruning/quantization algorithm benchmarked head-to-head against state-of-the-art compression methods.
- Single-epoch LLM regime: Because Pythia-1B checkpoints cover a single epoch of massive-scale pretraining, LLM experiments do not explore the multi-epoch overfitting regime or variance across random seeds.
Summary updated