On Binary Classification in Extreme Regions

Hamid Jalalzai, Stéphan Clémençon, Anne Sabourin

This NeurIPS 2018 paper by Jalalzai et al. tackles a critical but often overlooked problem in machine learning: how do we make accurate predictions when the data points are "extreme" (i.e., very large in magnitude) and, by definition, incredibly rare?

The Problem: When Average Error Ignores the Extremes

In fields like finance, insurance, and environmental science, the most important observations are often the "extremes"—massive market crashes, 100-year floods, or catastrophic equipment failures. However, standard Empirical Risk Minimization (ERM) focuses on minimizing average error across a dataset.

Because extreme events are rare, they contribute almost nothing to this average error during training. Consequently, a standard classifier might be 99.9% accurate on "normal" data but completely useless in the extreme regions where the stakes are highest. The authors address this gap by defining a dedicated "asymptotic risk" for these regions and providing a framework to minimize it.

Methods: Bridging Learning Theory and Extreme Value Theory

The authors bridge the gap between Statistical Learning Theory and Multivariate Extreme Value Theory (MEVT). Their approach relies on three key technical pillars:

  1. Regular Variation: They assume the data follows a "heavy-tailed" distribution. In simple terms, this means the probability of seeing an extreme value doesn't drop off as fast as a Gaussian distribution; instead, it follows a power law.
  2. Angular Decomposition: A core insight from MEVT is that as observations become very large, their "magnitude" becomes less informative for classification than their "direction" (the angle of the vector in feature space).
Angular classification regions in extreme feature space.
  1. Algorithm 1 (ERM in the Extremes):
    • Standardization: They use a rank-transformation to ensure all features are on a comparable scale.
  2. Truncation: They discard the "bulk" of the data and keep only the $k$ largest observations (where $k$ is a small fraction of the total sample size $n$).
  3. Optimization on the Simplex: They train a classifier (like a Random Forest or k-NN) using only these $k$ points, but they project the data onto a unit sphere (the simplex) first. This forces the model to learn the "directional" patterns of extreme events.

Key Insights and Ideas

  • The "Direction" is the Key: In extreme regions, the "how much" (magnitude) matters less than the "what kind" (direction). By training on the angular component of the data, the model captures the structural relationship between features that persists even as values go to infinity.
  • A New Risk Metric: They introduce $L_\infty$, the "asymptotic risk in the extremes." This provides a theoretical target for what a "perfect" classifier should look like in the limit of rare events.
  • The $k$ Trade-off: Choosing the number of extreme points ($k$) to train on is a classic bias-variance trade-off. If $k$ is too large, you include "normal" data that biases the extreme-region model. If $k$ is too small, the variance is too high because you have too few samples.

Key Results

The authors evaluated their approach using both synthetic data (generated from a multivariate logistic distribution with well-understood tail behavior) and real-world data (the Ecoli dataset from the UCI repository).

  • Theoretical Consistency: The authors proved a new version of the Vapnik-Chervonenkis (VC) inequality tailored for low-probability regions. They showed that their extreme classifier is "consistent," meaning it converges to the optimal extreme classifier at a rate of $O_P(1/\sqrt{k})$.
  • Superior Extrapolation: In experiments using Random Forests (RF), the "Regular RF" performance degraded significantly as the test data became more extreme. In contrast, their "RF on the Simplex" maintained stable, lower error rates.
Comparison of Hamming Loss between Regular RF and RF on the Simplex across extreme test regions.
  • Empirical Edge: On the Ecoli dataset, the proposed approach showed better extrapolation ability, proving that even with small datasets, focusing on the "angular" distribution can lead to more robust classifiers in sparse regions.

Limitations and Future Work

While the theoretical foundation is robust, the authors note a few limitations:

  • Parameter Sensitivity: Performance depends heavily on the choice of $k$ and the assumption of the tail index ($\alpha$). Estimating these parameters accurately in high-dimensional space remains a difficult open problem.
  • Computational Complexity: Designing specialized, high-efficiency algorithms to solve the "extreme ERM" problem at scale is a task for future research.
  • Known Margins: The current analysis assumes the marginal distributions are known or can be perfectly estimated. In real-world scenarios, estimation errors in the "tails" of individual features could propagate into the final classifier.

Summary updated

BibTeX
@inproceedings{jalalzai2018binary,
  author = {Hamid Jalalzai and Stéphan Clémençon and Anne Sabourin},
  title = {{On Binary Classification in Extreme Regions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=HJbNXtWObH},
}
Figure