Requential Coding: Measuring Model Compressibility by Coding Data Instead of Parameters
Shikai Qiu, Marc Finzi, Yujia Zheng, Kun Zhang, Andrew Wilson
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Contractive Recurrent Learning · Type: new method · Keywords: model compressibility, information theory, teacher-student learning, PAC-Bayes bounds, generalization guarantees
Summary
Requential coding measures model compressibility by encoding data through training, yielding a code length that reflects learned information rather than parameter count.
Explained to a 5-year-old
We want to know how easy it is to make a computer model really small. Instead of just counting the model's parts, we look at how the model learns from data. We imagine a teacher who knows the answers and a student who tries to guess. The teacher gives the student small hints, and we count how much information is needed to learn. This count tells us if the model is truly simple, even if it has many parts.
Explained to a 5-year-old, longer
Imagine you have a big puzzle with many pieces that you want to make smaller. Usually, you count the pieces to see how big the puzzle is. But sometimes the puzzle looks big but is actually easy to shrink because it learned a lot from the picture. The researchers thought of a new way to measure this: they used a teacher who knows the answers and a student who tries to guess. The teacher gives the student small hints, and they keep track of how much information is needed to learn. This tracking is called coding the learning process, not the puzzle pieces. By looking at how much information is needed, they can tell if a model is truly simple. They found that bigger models can sometimes be simpler than we think. This helps them know if a model will work well on new things without over-fitting. They also used this idea to compare different sets of data, like pictures of animals or text from the internet. The new method gives better guesses about how well a model will do in the real world. It also helps decide which data is hardest to learn from.
For a technical reader
The approach measures how compressible a model is by tracking the information exchanged between a teacher and a student during training, rather than counting model parameters. It uses relative entropy coding on synthetic samples drawn from the teacher to accumulate a cumulative KL divergence that reflects learned knowledge. This code length can be plugged into a PAC-Bayes bound to obtain tighter generalization guarantees that improve with model scale. The method also predicts overfitting and ranks dataset difficulty without being limited by model size.
Problem
Current parameter-based compression methods scale with model size and ignore how much information the model actually learned, limiting understanding of generalization and dataset selection. There is a need for a compressibility measure that is unconstrained by model size and reflects the information captured during training.
Method
The approach draws synthetic training samples from a teacher distribution and encodes them relative to the student's predictions via relative entropy coding, accumulating the cumulative teacher-student KL divergence across training to produce a compressibility measure.
Results
The approach shows that code length to reach a target loss shrinks as model and ensemble size grow, indicating that larger models can be far simpler than their parameter count suggests. When incorporated into a PAC-Bayes bound, the approach yields non-vacuous generalization guarantees that improve with scale and beat the 4-bit GPTQ baseline, and it predicts overfitting and orders dataset complexity across CIFAR-5M, OpenWebText, and FineWeb.
Contributions
The paper introduces a compressibility measure based on cumulative teacher-student KL divergence that is independent of model size and data entropy, and demonstrates its utility for generalization bounds, overfitting detection, and dataset complexity assessment.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction