Sharp Generalization Error Bounds for Randomly-projected Classifiers

Robert J. Durrant, Ata KabánICML 2013

Introduction

In the era of high-dimensional data, Random Projection (RP) serves as a crucial workhorse technique for dimensionality reduction. While the Johnson-Lindenstrauss Lemma guarantees that RP preserves distances reasonably well, a significant theoretical gap has persisted: the lack of tight bounds on the generalization error of classifiers trained on this projected data. Previous bounds were often "trivial" (e.g., merely guaranteeing an error rate under 100%) or relied on restrictive assumptions like data sparsity or perfect linear separability.

This paper bridges that gap by providing the first "sharp" (tight) theoretical guarantees for linear classifiers operating on data reduced by random Gaussian projections. By deriving the exact probability that a data point flips to the wrong side of a decision boundary during projection, the authors prove that high accuracy can be achieved in low-dimensional spaces without needing restrictive data assumptions.

Methodological Approach

The authors analyze a two-class classification problem using a linear classifier trained via Empirical Risk Minimization (ERM). Because this is a purely theoretical paper, the focus is on rigorous mathematical proofs applicable to any dataset drawn independently and identically from an unknown distribution. The core technical innovations include:

  • Exact Label Flipping Probability: Rather than relying on loose approximations, the authors derive the exact mathematical formula for the probability that a data point and a classifier will end up on opposite sides of the decision boundary after being projected from $d$ dimensions down to $k$ dimensions.
  • Spherical Geometry: They demonstrate that this "flipping probability" is equivalent to calculating the ratio of the surface area of a hyperspherical cap to the total surface area of a hypersphere.
  • Chernoff Bounding for Dependencies: Since all data points are projected using the same random matrix, their projection errors are statistically dependent. The authors employ a specialized Chernoff bound to manage these dependencies, yielding a significantly tighter final result than standard techniques like the Markov inequality.

Key Insights

  • Geometry Over Sparsity: For classification tasks, preserving exact distances is secondary to preserving the sign of the dot product (i.e., the side of the decision boundary). This geometric perspective enables the exact calculation of error probabilities without requiring sparse data.
  • Independence from Original Dimension ($d$): Surprisingly, the probability of a label flipping depends only on the target dimension $k$ and the angle between the data point and the classifier. The original dimension $d$ (whether 1,000 or 1,000,000) does not impact the projection penalty.
  • Exponential Decay: The extra error incurred by reducing dimensions (the projection penalty) decays exponentially as the target dimension $k$ increases. This theoretically explains why RP is highly effective in practice even for relatively small values of $k$.
  • Recovery of Classical Bounds: As the projection dimension $k$ approaches the original dimension $d$, the new bound smoothly transitions back into classical Vapnik-Chervonenkis (VC) bounds used in standard machine learning theory.

Main Theoretical Results

  • The Main Bound (Theorem 3.1): A high-probability upper bound on generalization error is established. It comprises the original error in the high-dimensional space, an average "flipping" term, and a VC-complexity term that scales with $\sqrt{k/N}$ (where $N$ is the number of samples).
  • Flipping Formula (Theorem 3.2): A closed-form expression for the flipping probability is provided, utilizing Gamma functions and integrals of sine functions.
  • Separable Classes (Corollary 6.1): For linearly separable data with a margin $m$, the bias introduced by random projection decays exponentially with $km^2$. This offers a robust guarantee for well-behaved data while maintaining applicability to non-separable, "messy" distributions.

Limitations and Future Directions

While this work establishes a new standard for random projection bounds, it has a few constraints. First, the proofs rely heavily on the orthogonal invariance of Gaussian random matrices. Consequently, the results may not directly translate to other projection methods, such as sparse "database-friendly" projections. Second, the VC-dimension component of the bound, while standard, is likely suboptimal; the authors suggest that incorporating Rademacher complexity could further sharpen the results. Finally, the current framework is strictly limited to linear classifiers. Extending these sharp bounds to kernel methods or deep neural networks remains an open challenge for future research.

Summary updated

BibTeX
@inproceedings{durrant2013sharp,
  author = {Robert J. Durrant and Ata Kabán},
  title = {{Sharp Generalization Error Bounds for Randomly-projected Classifiers}},
  booktitle = {International Conference on Machine Learning},
  year = {2013},
}
Figure