← Lab /AI/ML

Online monitor detects distribution shift 86.6% of the time and restores 10% error rate

The proposed system reliably detects shift and adapts thresholds to achieve a target error rate of 0.1

AI/ML arXiv 10 Jun 2026 Measurement Prototype evidence

Published as “Online Shift Detection and Conformal Adaptation for Deployed Safety Classifiers”

Why it matters

Deployers can use the system to obtain early warnings of safety-classifier drift and automatically restore coverage, reducing the window of silent failure in real-world language-model applications.

Summary

The online monitoring system detects distributional shift in safety classifiers with an 86.6% detection rate (693/800 cells, 95% CI [84.1%, 88.8%]) and a mean latency of 39.5 steps (window size 100), but incurs false alarm rates of 2-10% that vary by classifier. After detection, weighted conformal prediction can recover up to 39 percentage points of lost coverage for DeBERTa, while density-ratio estimation collapses for the other three classifiers. Evidence comes from a pre-registered factorial evaluation covering 4 classifiers, 5 shift types, 20 seeds and 2 window sizes (800 cells), providing strong statistical support but also showing notable failure modes.

What they found 2

  1. High overall detection performance

    “the system achieves an 86.6% valid detection rate (693/800 cells, 95% CI [84.1%, 88.8%])”

  2. Weighted conformal prediction recovers coverage for DeBERTa

    “weighted conformal prediction recovers up to 39 pp of lost coverage for DeBERTa (effective sample size 46/300)”

Caveats 6

  • The empirical false alarm rates range from 2% to 10% across classifiers, indicating non-negligible false positives.
  • Detection fails for DeBERTa under adversarial suffixes, with the monitor missing shift in 38/40 seed-window combinations.
  • PCA diagnostic validated on temporal shift only (primary experiment).
  • Residual variance. 33.5% of variance in detection latency is attributable to seed/noise.
  • Binary classifiers only. All four classifiers produce a single unsafe probability.
  • FAR calibration asymmetry. Empirical false alarm rates vary 5× across classifiers (Text-Moderation 2.0% vs DeBERTa 9.5%) despite identical calibration procedures.

What’s new here 4

  • Applies calibrated sequential KS statistics to online safety-classifier score streams for shift detection.
  • Integrates a weighted conformal abstention layer that adapts decision thresholds after detection.
  • Demonstrates a full factorial design quantifying the contributions of classifier, shift type, and their interaction to detection latency.
  • Identifies and mitigates density-ratio collapse via PCA dimensionality reduction, a failure mode not previously reported for safety-classifier embeddings.