Approximability and Generalisation

Andrew James Turner, Ata KabánarXiv 2022 · DOI

Introduction

In the current landscape of machine learning, the deployment of massive neural networks on resource-constrained "edge" devices has become a standard engineering challenge. Techniques such as quantization—reducing the bit-precision of weights—and pruning—removing redundant connections—are widely employed to compress these models. Remarkably, these compressed versions often maintain a level of accuracy nearly identical to their full-precision counterparts.

While the empirical success of model compression is well-documented, the theoretical justification for why these approximations work so effectively has remained elusive. This paper establishes a formal bridge between model compression and statistical learning theory, proposing that "approximability" is not just a convenient engineering property, but a fundamental driver of a model's ability to generalize to unseen data.

The Metric of Approximation Sensitivity

The core of the authors' theoretical framework is the introduction of Approximation Sensitivity ($D_A(f)$). This metric quantifies the degree to which a predictor’s output changes when subjected to an approximation operator $A$ (such as rounding weights or zeroing out small parameters).

Formally, if a model $f$ is highly sensitive, a small change in its internal representation leads to significant shifts in its predictions. Conversely, an "approximable" model is one where $D_A(f)$ is low, meaning its decision boundaries remain stable even under the loss of precision. The authors argue that this stability is a hallmark of robust learning.

Theoretical Framework and Generalization

To link sensitivity to generalization, the researchers utilize Rademacher complexity, a standard measure in learning theory that evaluates a function class's capacity to fit random noise. By incorporating sensitivity into Rademacher-based generalization bounds, the paper demonstrates that functions with low approximation sensitivity belong to a "simpler" hypothesis space.

Key methodological insights include:

  • Dimension-Independent Learning: For linear models, the authors prove that weight sensitivity can guarantee strong generalization even in high-dimensional spaces, bypassing the traditional requirement for strictly bounded norms.
  • Structural Modeling: The paper analyzes the "geometry" of sensitivity. If the approximation only affects predictions on a small, sparse subset of the data, the generalization guarantees become significantly tighter. This explains why certain architectures or datasets are inherently easier to compress than others.

The Strategic Use of Unlabeled Data

One of the most compelling insights of this research is the role of unlabeled data. Because Approximation Sensitivity ($D_A(f)$) depends solely on the model’s inputs and the approximation operator—not the ground-truth labels—it can be estimated using abundant unlabeled datasets.

This allows practitioners to "trim" the hypothesis space before ever looking at a label. By restricting the search to models that are robust to approximation, the amount of expensive labeled data required to achieve a target error rate (sample complexity) is significantly reduced. In essence, the ability to be compressed serves as a prior that guides the learning process toward more generalizable solutions.

Algorithmic Guarantees

The paper moves beyond pure theory to propose practical learning objectives. The authors introduce a Joint Objective Function that minimizes both training error and approximation sensitivity.

  1. Constrained ERM: They present a constrained Empirical Risk Minimization (ERM) algorithm that is guaranteed to find a predictor that generalizes well in both its original and compressed forms.
  2. Regularized Trade-offs: They provide a regularized version of this algorithm that automatically balances the trade-off between fitting the training data and maintaining low sensitivity. This removes the need for manual, heuristic-based tuning of compression thresholds during the training phase.

Conclusion and Future Directions

This study reframes model compression from a post-hoc optimization step into a fundamental property of learnable concepts. It suggests that the success of techniques like BinaryConnect or Deep Compression is a signal that the underlying problems possess a "benign" structure that favors generalization.

While the current work focuses primarily on deterministic approximation operators, it opens the door for future research into stochastic schemes and the application of these bounds to other frameworks like PAC-Bayes. Ultimately, the paper provides a rigorous foundation for understanding why the models we can compress are often the same models that truly understand the data.

Summary updated

Abstract

Approximate learning machines have become popular in the era of small devices, including quantised, factorised, hashed, or otherwise compressed predictors, and the quest to explain and guarantee good generalisation abilities for such methods has just begun. In this paper we study the role of approximability in learning, both in the full precision and the approximated settings of the predictor that is learned from the data, through a notion of sensitivity of predictors to the action of the approximation operator at hand. We prove upper bounds on the generalisation of such predictors, yielding the following main findings, for any PAC-learnable class and any given approximation operator. 1) We show that under mild conditions, approximable target concepts are learnable from a smaller labelled sample, provided sufficient unlabelled data. 2) We give algorithms that guarantee a good predictor whose approximation also enjoys the same generalisation guarantees. 3) We highlight natural examples of structure in the class of sensitivities, which reduce, and possibly even eliminate the otherwise abundant requirement of additional unlabelled data, and henceforth shed new light onto what makes one problem instance easier to learn than another. These results embed the scope of modern model compression approaches into the general goal of statistical learning theory, which in return suggests appropriate algorithms through minimising uniform bounds.
BibTeX
@misc{turner2022approximability,
  author = {Andrew James Turner and Ata Kabán},
  title = {{Approximability and Generalisation}},
  year = {2022},
  eprint = {2203.07989},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.07989},
}
Figure