In classical learning theory, we often assume that a model needs to "see" as much data as possible to generalize. However, a growing body of research suggests that the generalization power of an algorithm is actually determined by how small a subset of the data it truly relies on. This idea is formalized through sample compression schemes, where a classifier is represented by a tiny "compression set" of training examples.
The breakthrough in recent years is the realization that compression alone isn't enough; the compression must be stable. When a learning algorithm is stable in its compression, it achieves optimal generalization bounds that were previously thought to be unreachable.
The Intuition of Stability
Imagine you are training a Support Vector Machine (SVM). The decision boundary is defined entirely by a few "support vectors." If you were to remove any training point that is not a support vector, the resulting boundary would remain exactly the same.
This is the essence of a stable sample compression scheme. As defined by Nikita Zhivotovskiy and further developed by Steve Hanneke and Aryeh Kontorovich, a scheme is stable if the removal of non-essential training points (those outside the compression set) does not alter the selected compression set or the resulting classifier.
Why does this matter for generalization? If an algorithm is stable, it means the model isn't "overfitting" to the specific noise or coincidences of the full dataset. Instead, it is anchored to a core set of informative examples. This stability acts as a powerful regularizer, ensuring that the model's performance on the training set is a reliable proxy for its performance on unseen data.
Breaking the Logarithmic Barrier
For decades, generalization bounds for "proper" learners—algorithms that pick a hypothesis from a fixed class, like linear separators—were haunted by a "pesky" logarithmic factor. While theory suggested these models should be highly efficient, the mathematical proofs always included an extra $\log(n)$ term that made the bounds looser than those of "improper" learners.
By leveraging stable compression, researchers have finally removed this overhead. Olivier Bousquet, Steve Hanneke, Shay Moran, and Nikita Zhivotovskiy demonstrated in Proper Learning, Helly Number, and an Optimal SVM Bound that SVMs achieve optimal sample complexity for learning halfspaces. The stability of the compression set allows the learner to bypass the efficiency gaps usually found in empirical risk minimization.
This line of reasoning extends to randomized algorithms as well. Arthur da Cunha and Kasper Green Larsen showed that even for complex voting classifiers, stability ensures that decisions are driven by a core set of examples, allowing for tighter, data-dependent guarantees that move closer to the theoretical limits of learning efficiency.
From Theory to Deep Learning: Unforgettable Examples
While much of the foundational work is theoretical, the concept of stable compression has a striking empirical counterpart in deep neural networks. Alessandro Sordoni, Mariya Toneva, and Yoshua Bengio investigated this through the lens of "forgetting events."
In An Empirical Study of Example Forgetting during Deep Neural Network Learning, they discovered that a massive portion of training data consists of "unforgettable" examples—points that are learned early in training and never subsequently misclassified. These examples function much like a compression set. The authors found that these stable, unforgettable samples can be removed from the training set without degrading the model's ability to generalize to new data.
A Unified Information-Theoretic View
To bridge these perspectives, researchers have turned to information theory. Mahdi Haghifam and Daniel M. Roy explored whether Conditional Mutual Information (CMI) could serve as a universal metric for this phenomenon.
In Towards a Unified Information-Theoretic Framework for Generalization, they showed that for algorithms based on stable compression, the CMI is bounded by the size of the compression set rather than the total number of samples. This provides a formal link: a model generalizes well because it "inputs" very little information from the specific composition of the training set, relying instead on the stable, representative core.
Summary
The shift toward stable sample compression represents a move away from analyzing how much data a model sees, toward analyzing which data a model requires. Whether in the rigorous margin bounds of an SVM or the learning dynamics of a deep neural network, stability ensures that a model's identity is tied to a small, essential subset of experience, providing a robust path to optimal generalization.