the.ai

Uncertainty / Detection

verified

Out-of-Distribution Detection

Before trusting a prediction, ask whether the input is the kind of thing the model was trained on at all. A digit classifier shown a photograph of a cat will confidently pick a digit — there is no output that means 'this is not my problem' unless someone builds one. Detection is that missing output, inferred from the model rather than asked of it.

Viz primitive · threshold-sweepseparation = 0.8 · threshold = 1.2 · base-rate = 0.2
let throughcutflagged

159 of 1000 flagged. 42% of them were right and 92 were false alarms; 34% of what should have been caught was, leaving 133 missed.

Detector scores for in-distribution inputs against shifted ones, with one cut through both. Drag the distance from the training distribution up to watch them pull apart — far out, anything works; the cases a deployment meets are at the left, inside the overlap.

0.8

Reviewed by opendroid · 2026-08-18

  • arXiv:1610.02136 — A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks
  • arXiv:2110.11334 — Generalized Out-of-Distribution Detection: A Survey