NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Statistical Error Control for Out of Distribution Detection

This direction is split into other directions: false positive rate control. Its last version stays readable and citable here.

Version 1 of 151 papers63 conceptsfrozen 2026-10-04

Most anomaly detection systems function as black boxes that output a "score." If the score is high, the system flags an outlier; if it is low, it stays silent. However, these scores are often uncalibrated heuristics. In safety-critical domains like autonomous driving or medical diagnosis, a score of "0.8" is meaningless without a mathematical guarantee of what that means for the false alarm rate.

A growing body of research is reframing Out-of-Distribution (OOD) and anomaly detection not as a scoring problem, but as a statistical hypothesis testing problem. By treating the "in-distribution" data as a null hypothesis, researchers are developing frameworks that provide rigorous, provable guarantees on error rates, ensuring that systems only "cry wolf" at a frequency predefined by the user.

Detection as a Hypothesis Test

The core intuition behind this shift is to move away from arbitrary thresholds and toward p-values. In a standard statistical test, a p-value tells you the probability of observing a result at least as extreme as the one you have, assuming the null hypothesis is true.

Matan Haroush, Tzviel Frostig, and colleagues formalize this in Statistical Testing for Efficient Out of Distribution Detection in Deep Neural Networks. Their framework, MaSF, treats the training data distribution as the null hypothesis. By producing valid p-values, they enable formal control over the Type I error rate (false positives). This allows a practitioner to say, "I want no more than a 5% chance of misidentifying normal data as an anomaly," and have the math back it up.

Similarly, Tomas Vojir and Jiri Matas leverage the Neyman-Pearson lemma in GROOD to establish global thresholds based on specific false positive rates. By comparing the likelihood of an input being "in-distribution" against an uninformative prior for "out-of-distribution" data, they create a calibrated rejection mechanism that works across diverse benchmarks.

Conformal Prediction and PAC Guarantees

While p-values provide a framework for single decisions, Conformal Prediction (CP) and Probably Approximately Correct (PAC) theory allow researchers to bound error rates over future, unseen data.

Ramneet Kaur, Susmit Jha, and Edgar Dobriban demonstrate this in iDECODe. They measure "equivariance"—how a model's internal representations change predictably under transformations like rotation—and use conformal prediction to provide a mathematical guarantee on the false detection rate. This approach was extended to time-series data in CODiT, ensuring that sensors in robots or medical devices don't trigger an unpredictable volume of false alerts.

For even stricter safety requirements, Shuo Li and Insup Lee introduced PAC-Wrap. This is a model-agnostic wrapper that uses a small calibration set to endow any detection algorithm with PAC guarantees. This ensures that the probability of the error rate exceeding a certain threshold is itself bounded, a critical requirement for infrastructure monitoring and autonomous systems.

Controlling the False Discovery Rate

In real-world deployment, we often process data in batches or continuous streams. If you test 1,000 samples with a 5% false positive rate, you expect 50 false alarms. This "accumulation of errors" is a major hurdle for reliability.

To solve this, Xinsong Ma and Weiwei Liu propose framing OOD detection as a multiple hypothesis testing problem. In A Provable Decision Rule for Out-of-Distribution Detection, they introduce the generalized Benjamini-Hochberg (g-BH) procedure. Instead of setting a fixed threshold for every sample, g-BH looks at the collective p-values of a batch to control the False Discovery Rate (FDR)—the ratio of false alarms to total detections.

This logic is extended to streaming data in An Online Statistical Framework for Out-of-Distribution Detection. By using an algorithm called g-LOND, the authors provide formal FDR guarantees even when test samples are dependent on one another. This ensures that as a system runs indefinitely, the precision of its anomaly alerts remains high and predictable.

From Theory to Safety-Critical Practice

The ultimate goal of these statistical frameworks is to enable the safe deployment of "black-box" models. Alec Farid and Anirudha Majumdar apply these concepts to robotics in Failure Prediction with Statistical Guarantees for Vision-Based Robot Control. By using PAC-Bayes generalization theory, they bound the rates of both false negatives (missing a crash) and false positives (stopping unnecessarily).

By moving from heuristic scores to rigorous statistical rejection criteria—using tools like the Kolmogorov–Smirnov test as seen in Robust Detection of Out-of-Distribution Shifts in Chest X-ray Imaging—the field is transforming OOD detection from an empirical art into a verifiable safety science. This allows practitioners to build systems that don't just detect "weirdness," but do so with a mathematically guaranteed level of confidence.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_statistical_error_control_for_out_of_dis_7a8444cc,
  title = {Statistical Error Control for Out of Distribution Detection},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/statistical-error-control-for-out-of-distribution-detection/rdr_7a8444cc015348ebbd2480970c46c1bb},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_statistical_error_control_for_out_of_dis_7a8444cc_v1,
  title = {Statistical Error Control for Out of Distribution Detection},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/statistical-error-control-for-out-of-distribution-detection/rdr_7a8444cc015348ebbd2480970c46c1bb/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}