PreprintCited by 208Domain Adaptation and Few-Shot LearningData Stream Mining TechniquesAdversarial Robustness in Machine Learning

Failing Loudly: An Empirical Study of Methods for Detecting Dataset Shift

Open access
Rabanser, Stephan, Günnemann, Stephan, Lipton, Zachary C.·2018·arXiv

Abstract

We might hope that when faced with unexpected inputs, well-designed software systems would fire off warnings. Machine learning (ML) systems, however, which depend strongly on properties of their inputs (e.g. the i.i.d. assumption), tend to fail silently. This paper explores the problem of building ML systems that fail loudly, investigating methods for detecting dataset shift, identifying exemplars that most typify the shift, and quantifying shift malignancy. We focus on several datasets and various perturbations to both covariates and label distributions with varying magnitudes and fractions of data affected. Interestingly, we show that across the dataset shifts that we explore, a two-sample-testing-based approach, using pre-trained classifiers for dimensionality reduction, performs best. Moreover, we demonstrate that domain-discriminating approaches tend to be helpful for characterizing shifts qualitatively and determining if they are harmful.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.1810.11953

Cites

55 of 55 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • As demonstrated by Rabanser et al., the p-values are calculated by computing the maximum discrepancy between two distributions and comparing via permutation tests to a null-hypothesis distribution.

    “As demonstrated by Rabanser et al. 46 , the p-values are calculated by computing the maximum discrepancy between two distributions and comparing via permutation tests to a null-hypothesis distribution.”

    From Empirical data drift detection experiments on real-world medical imaging data (2024) · cites this paper as [46]

    Section 3.2 (p. 4) says the paper calculates a Maximum Mean Discrepancy (MMD) statistic for two distributions and obtains its p-value by a permutation test. But MMD compares mean embeddings, not the maximum difference between distributions. The maximum-difference statistic described there belongs to the Kolmogorov–Smirnov test, whose null distribution the paper identifies as the Kolmogorov distribution. (LLM, conf=0.88)

    Experimental — accuracy not yet measured
  • The study followed state-of-the-art methodologies found in previous work.

    “When implementing our experiments, we followed state-of-theart methodologies found in previous work 46 .”
  • Model output-based drift detection is a method to detect drift using only the output of the classifier without any gold labels.

    “Model output-based drift detection is a method to detect drift using only the output of the classifier without any gold labels 46 .”

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

3 of the 58 references couldn’t be matched to a known paper.

Research works printed but not linked: 3

  1. [13][13] Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and Harnessing Adversarial Examples. In International Conference on Learning Representations (ICLR) , 2014. -
  2. [29][29] Zachary C Lipton, Yu-Xiang Wang, and Alex Smola. Detecting and Correcting for Label Shift with Black Box Predictors. In International Conference on Machine Learning (ICML) , 2018. -
  3. [51][51] Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing Properties of Neural Networks. In International Conference on Learning Representations (ICLR) , 2014. -

Cited by

Sorted by citations

Authors
Rabanser, S., Günnemann, S., & Lipton, Z. C.
Affiliations
  • Amazon (United States) (US)
  • Technical University of Munich (DE)
  • Carnegie Mellon University (US)
Venue
arXiv
Publisher
arXiv
Published
2018
Volume
32
Pages
1396-1408
ISSN
2331-8422 (ISSN-L)
OpenAlex
W2898158860
Cited by
204
References
58
Citations by year
2026: 4 · 2025: 23 · 2024: 36 · 2023: 44 · 2022: 29 · 2021: 44 · 2020: 22 · 2019: 2
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
  • Physical Sciences › Computer Science › Artificial Intelligence › Data Stream Mining Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
Keywords
distribution shift, shift detection, fault detection, silent failures, covariate shift, label shift, two-sample test, dimensionality reduction, i.i.d. assumption

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review