Can we represent a massive dataset using only a tiny "compressed" subset without losing the ability to learn an optimal model? This ICML 2024 paper, "Agnostic Sample Compression Schemes for Regression," tackles this fundamental question in computational learning theory.
While sample compression is a well-solved problem for simple classification, regression has remained a stubborn frontier. The authors present the first positive results for bounded sample compression in agnostic regression (where data may not perfectly fit any model). They prove that for linear regression, you can achieve exact compression for $\ell_1$ and $\ell_\infty$ losses using just $O(d)$ points, and provide a general approximate compression scheme for any function class with a finite fat-shattering dimension.
The Challenge of Compressing Regression
In learning theory, a sample compression scheme is a method for picking a small subset of training data such that a "reconstruction function" can look at just those few points and recreate a hypothesis that performs well on the entire dataset.
For binary classification, it has been known for years that the size of this subset only needs to depend on the VC-dimension, not the total number of training points. However, regression—predicting continuous values—is much harder. In the agnostic setting, where we don't assume the "true" function lives in our hypothesis class, previous research suggested that exact compression might be impossible. Specifically, a 2016 paper showed that for the common $\ell_2$ (squared) loss, you cannot have a constant-size exact compression scheme for linear regression.
This paper asks: Is regression fundamentally "uncompressible," or have we just been looking at the wrong loss functions and definitions?
Key Insights: Breaking the Impossibility Barrier
To overcome prior negative results, the authors introduce several key conceptual shifts:
- The $\ell_2$ Trap: The authors clarify why $\ell_2$ loss is so hard to compress: it lacks the "sparsity" of $\ell_1$ or $\ell_\infty$. In $\ell_2$ regression, every single data point slightly pulls the optimal line. In $\ell_1$ and $\ell_\infty$, the optimal solution is often "pinned" by just a few critical points.
- Approximate is Enough: By shifting the goal from exact recovery to approximate ($\alpha$-approximate) recovery, the authors show that compression becomes possible for almost any learnable real-valued function class.
- Pointwise Approximation: A major realization is that in the agnostic setting, the compression scheme shouldn't try to find the "true" label, but rather a function that pointwise approximates the best possible function's behavior on the sample.
Methodology
The authors employ three distinct strategies to construct their compression schemes:
- Median Boosting: For general function classes, they adapt boosting techniques. Instead of trying to hit labels exactly, they use "cut-offs" that vary per point. This allows the algorithm to focus on approximating the error of the optimal regressor at each point.
- Discretization + SVM: For linear regression, they transform the continuous regression problem into a discrete binary classification problem. By creating a grid of labels around the optimal regressor and using a Support Vector Machine (SVM), they show that the resulting "support vectors" serve as an effective compression set.
- Linear Programming Duality: For the specific cases of $\ell_1$ (absolute) and $\ell_\infty$ (maximum) loss, the authors leverage the fact that these optimization problems can be written as Linear Programs (LPs). They use KKT conditions and the geometry of polytopes to prove that the optimal solution is uniquely defined by a very small number of "extreme points" in the data.
Key Results
The paper establishes several groundbreaking bounds for regression compression, summarized in the table below.
Linear Regression Breakthroughs: * $\ell_1$ Loss: Admits an exact compression scheme of size $d+1$. * $\ell_\infty$ Loss: Admits an exact compression scheme of size $d+2$. * $\ell_p$ Loss ($p \in (1, \infty)$): Admits an approximate compression scheme of size $O(d \log(p/\alpha))$.
General Function Classes: For any class with a finite fat-shattering dimension, the authors construct an approximate compression scheme whose size is entirely independent of the sample size $m$.
Generalized Impossibility: Refining prior work, they prove that for any $p \in (1, \infty)$ (which includes the standard $\ell_2$ loss), a constant-size exact agnostic compression scheme is mathematically impossible.
Limitations and Future Work
While this work opens a new frontier in learning theory, several questions remain:
- Exponential Dependence: For general (non-linear) classes, the compression size currently scales exponentially with the fat-shattering dimension. The authors leave it as an open question whether this can be reduced to a polynomial dependence.
- The Regression Conjecture: The paper poses a new version of "Warmuth’s Conjecture" for regression: Does every function class admit an exact $\ell_1$ compression scheme of size proportional to its pseudo-dimension?
- Computational Efficiency: While the linear regression schemes are efficient (based on LPs and SVMs), the general boosting-based scheme acts more as a "proof of existence" and may be computationally heavy for highly complex classes.
Summary updated