Sample Complexity and Error Bounds for Rare Events

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 116 papers28 conceptsfrozen 2026-10-04

In machine learning, we often assume that more data leads to better models. However, when dealing with imbalanced datasets—where the "positive" class is a needle in a haystack—this intuition fails. Research into the theoretical foundations of imbalanced classification reveals that the total size of a dataset is often a vanity metric. Instead, the true driver of model performance, stability, and reliability is the absolute volume of minority class samples.

The Information Bottleneck of Rarity

When events are rare, the statistical "information" in a dataset does not scale with the total number of observations ($N$), but rather with the number of rare events ($n$). HaiYing Wang demonstrates in Logistic Regression for Massive Data with Rare Events that the convergence rate of model parameters depends almost entirely on these minority instances.

This creates a counterintuitive reality: you can aggressively under-sample the majority class with virtually no loss in estimation efficiency. Conversely, simply over-sampling the minority class doesn't add new information; it just makes the model more computationally expensive without improving the underlying precision allowed by the original rare event count.

The Data Tax for Precision and Recall

Standard learning theory suggests that achieving high accuracy is possible even with small datasets. But accuracy is a poor metric for rare events, where a model can be 99.9% accurate just by predicting "nothing ever happens." If you care about Precision and Recall, you face what Brendan Juba and Hai S. Le describe as a significant "data tax."

In Precision-Recall versus Accuracy and the Role of Large Data Sets, the authors prove that the sample complexity required to hit specific performance targets scales inversely with the rarity of the positive class. If a disease is ten times rarer, you don't just need a slightly better algorithm; you need roughly ten times more total data to maintain the same level of precision and recall.

The Stability Floor

Beyond just "learning" a pattern, a model needs enough examples to remain stable. Hanghang Zheng and colleagues identify a critical threshold in Implementation of an Asymmetric Adjusted Activation Function for Class Imbalance Credit Scoring. They found that when the absolute number of minority samples drops below a certain volume (e.g., 200 instances), the variance in model performance spikes.

Below this "performance floor," the model becomes unreliable regardless of the specific imbalance-handling technique used. This suggests that for safety-critical applications like credit scoring or medical diagnosis, there is a hard physical limit on how much we can trust a model based on the raw count of positive cases.

Why Minority Classes Dictate Theoretical Guarantees

Theoretical frameworks like Probably Approximately Correct (PAC) learning provide mathematical bounds on how much a model's error might fluctuate on new data. In imbalanced scenarios, these bounds are bottlenecked by the smallest class.

  • Generalization Bounds: Liva Ralaivola and Pierre Machart show that the reliability of a multiclass model's confusion matrix scales inversely with the square root of the minority class count.
  • Open Category Detection: When trying to detect "alien" or unknown categories, Si Liu and Thomas Dietterich found that the amount of unlabeled data required to guarantee a specific detection rate increases quadratically as those novel instances become rarer.

Essentially, the "weakest link" in the dataset—the rarest class—determines the strength of the entire mathematical guarantee. As Anass Aghbalou and Anne Sabourin conclude in their work on Sharp error bounds for imbalanced classification, the error convergence rate is a function of the expected number of minority samples. If you want a model that generalizes well, you cannot look at the millions of majority examples; you must count the handful of rare ones.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_sample_complexity_and_error_bounds_for_r_30d7bc9a,
  title = {Sample Complexity and Error Bounds for Rare Events},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sample-complexity-and-error-bounds-for-rare-events/rdr_30d7bc9ab1e44365b2f432f557954e40},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_sample_complexity_and_error_bounds_for_r_30d7bc9a_v1,
  title = {Sample Complexity and Error Bounds for Rare Events},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sample-complexity-and-error-bounds-for-rare-events/rdr_30d7bc9ab1e44365b2f432f557954e40/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}