Relative Deviation Margin Bounds

Corinna Cortes, Mehryar Mohri, Ananda Theertha Suresh

Introduction

This paper introduces a new family of "relative deviation" margin bounds designed to provide tighter generalization guarantees for machine learning models. By combining margin theory with relative deviation techniques, the authors derive distribution-dependent bounds that achieve fast learning rates (scaling at $1/m$) when empirical error is zero. Crucially, they extend these results to handle unbounded loss functions, such as the cross-entropy loss commonly used in deep learning.

The Generalization Bottleneck

In machine learning theory, generalization bounds estimate how well a model trained on a finite sample will perform on unseen data. Margin-based bounds are particularly useful because they explain why algorithms like Support Vector Machines (SVMs) and Boosting perform well even in high-dimensional spaces—they focus on the "confidence" of predictions rather than just raw accuracy.

However, standard margin bounds often suffer from a pessimistic "one-size-fits-all" scaling of $1/\sqrt{m}$ (where $m$ is the sample size). This scaling is overly conservative for models that achieve very low error on the training set. Relative deviation bounds offer a solution by scaling the complexity term with the error itself, potentially leading to much tighter guarantees.

The authors address two primary gaps in existing literature:

  1. Previous relative deviation margin bounds were often distribution-independent (worst-case scenarios) or limited to specific architectures like linear classifiers.
  2. Standard bounds struggle with unbounded loss functions (like log-loss), which can theoretically take infinitely large values.

Methodology

The authors employ several sophisticated mathematical tools to bridge these theoretical gaps:

  • Symmetrization & Peeling: To handle Rademacher complexity, they introduce a "peeling-based" argument. This involves partitioning the hypothesis set into subsets based on their empirical error levels and applying concentration inequalities to each "peel" separately.
  • $\alpha$-Moments: Instead of relying solely on variance (the 2nd moment), they generalize their bounds to any $\alpha$-moment where $\alpha \in (1, 2]$. This mathematical flexibility is key to handling unbounded losses.
  • Covering Numbers: They provide a self-contained proof for bounds based on $\ell_\infty$-covering numbers, a technique previously postulated but not fully proven under these specific conditions.
  • Loss Function Smoothing: They analyze various surrogate loss functions—such as the ramp loss and smoothed margin loss—to make the theoretical analysis tractable.
Illustration of different choices of function $\phi$ (loss surrogates) for $\rho = 0.25$.

Key Insights and Results

Rather than evaluating on empirical datasets like ImageNet, this theoretical paper provides rigorous mathematical proofs applicable to broad classes of models, including linear hypothesis sets, feed-forward neural networks of arbitrary depth, and predictor ensembles.

The "Fast Rate" Interpolation

The new bounds effectively interpolate between a standard $1/\sqrt{m}$ rate and a "fast" $1/m$ rate. If a model achieves zero empirical margin loss, the complexity term drops significantly, providing a much more optimistic and realistic guarantee.

Distribution Dependence

Unlike previous "maximum Rademacher complexity" bounds that evaluate the worst possible data sample, these new bounds are distribution-dependent. The guarantee adapts to the actual data the model is likely to encounter, making it inherently tighter.

Handling the Infinite

By assuming only that a finite $\alpha$-moment of the loss exists (rather than requiring the loss to be strictly bounded), the authors provide the first margin-based guarantees for unbounded losses using covering numbers and Rademacher complexity. This represents a major step toward a theoretical understanding of modern deep learning losses.

Application to Specific Architectures

  • Neural Networks: For deep NNs, the authors derive bounds with a more favorable dependency on the empirical margin loss than previous state-of-the-art results. When the training margin loss is small, their bound is significantly tighter.
  • Linear Classifiers: They recover and generalize recent results for linear classifiers, removing the strict requirement that the hypothesis set must be linear.

Limitations and Future Work

While the theoretical rates are improved, the constant factors in Rademacher complexity for deep neural networks remain large. This is a common issue in the field that often makes these bounds "vacuous" (greater than 1) in practice, even if they are theoretically superior.

Because the paper is primarily analytical, a promising future direction is to design new training algorithms that explicitly minimize these relative deviation margin bounds to see if they result in better empirical generalization. Additionally, the choice of the optimal $\alpha$ for a given unbounded loss is not yet fully automated and requires prior knowledge of the loss distribution's tails.

Summary updated

BibTeX
@inproceedings{cortes2021relative,
  author = {Corinna Cortes and Mehryar Mohri and Ananda Theertha Suresh},
  title = {{Relative Deviation Margin Bounds}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=VKkvfA5EJMz},
}
Figure