mlsanityData to 7 Oct 2026

Identifying the Context Shift between Test Benchmarks and Production Data

arXiv 2207.01059 ↗First posted 3 Jul 2022cs.LG cs.AI cs.HCcited by 5

Not on the map. Why?

Abstract (arXiv)

Machine learning models are often brittle on production data despite achieving high accuracy on benchmark datasets. Benchmark datasets have traditionally served dual purposes: first, benchmarks offer a standard on which machine learning researchers can compare different methods, and second, benchmarks provide a model, albeit imperfect, of the real world. The incompleteness of test benchmarks (and the data upon which models are trained) hinder robustness in machine learning, enable shortcut learning, and leave models systematically prone to err on out-of-distribution and adversarially perturbed data. The mismatch between a single static benchmark dataset and a production dataset has traditionally been described as a dataset shift. In an effort to clarify how to address the mismatch between test benchmarks and production data, we introduce context shift to describe semantically meaningful changes in the underlying data generation process. Moreover, we identify three methods for addressing context shift that would otherwise lead to model prediction errors: first, we describe how human intuition and expert knowledge can identify semantically meaningful features upon which models systematically fail, second, we detail how dynamic benchmarking - with its focus on capturing the data generation process - can promote generalizability through corroboration, and third, we highlight that clarifying a model's limitations can reduce unexpected errors. Robust machine learning is focused on model performance beyond benchmarks, and as such, we consider three model organism domains - facial expression recognition, deepfake detection, and medical diagnosis - to highlight how implicit assumptions in benchmark tasks lead to errors in practice. By paying close attention to the role of context, researchers can design more comprehensive benchmarks, reduce context shift errors, and increase generalizability.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 46 of its 107 references that are in the map. First posted on arXiv 3 Jul 2022.

Builds on

46 of 107 references.

References · 46

  1. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  2. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  3. 2019Invariant Risk Minimizationcited by 1,832
  4. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  5. 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,447
  6. 2019CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparisoncited by 1,410
  7. 2018Datasheets for Datasetscited by 1,371
  8. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  9. 2018Model Cards for Model Reportingcited by 1,068
  10. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  11. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  12. 2018Robustness May Be at Odds with Accuracycited by 873
34 more
  1. 2016The Mythos of Model Interpretabilitycited by 716
  2. 2017Adversarial Patchcited by 514
  3. 2021Dynabench: Rethinking Benchmarking in NLPcited by 447
  4. 2021Pervasive Label Errors in Test Sets Destabilize Machine Learning Benchmarkscited by 388
  5. 2021AI and the Everything in the Whole Wide World Benchmarkcited by 340
  6. 2013Challenges in Representation Learning: A report on three machine learning contestscited by 301
  7. 2018Deep Facial Expression Recognition: A Surveycited by 269
  8. 2020Data and its (dis)contents: A survey of dataset development and use in machine learning researchcited by 259
  9. 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 215
  10. 2019The Deepfake Detection Challenge (DFDC) Preview Datasetcited by 208
  11. 2019A Framework for Understanding Sources of Harm throughout the Machine Learning Life Cyclecited by 192
  12. 2021Evaluating Deep Neural Networks Trained on Clinical Images in Dermatology with the Fitzpatrick 17k Datasetcited by 184
  13. 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
  14. 2021Disparities in Dermatology AI: Assessments Using Diverse Clinical Imagescited by 132
  15. 2019A deep learning system for differential diagnosis of skin diseasescited by 118
  16. 2022Jury Learning: Integrating Dissenting Voices into Machine Learning Modelscited by 115
  17. 2020Ethical Machine Learning in Health Carecited by 112
  18. 2019Human-Centered Tools for Coping with Imperfect Algorithms during Medical Decision-Makingcited by 109
  19. 2018The Dataset Nutrition Label: A Framework To Drive Higher Data Quality Standardscited by 97
  20. 2020From ImageNet to Image Classification: Contextualizing Progress on Benchmarkscited by 90
  21. 2022Distilling Model Failures as Directions in Latent Spacecited by 82
  22. 2020Context Based Emotion Recognition using EMOTIC Datasetcited by 73
  23. 2019Adversarial camera stickers: A physical camera-based attack on deep learning systemscited by 69
  24. 2021Deepfake Detection by Human Crowds, Machines, and Machine-informed Crowdscited by 58
  25. 2021Causally motivated Shortcut Removal Using Auxiliary Labelscited by 55
  26. 2020DeepFake Detection: Current Challenges and Next Stepscited by 44
  27. 2015Going Deeper in Facial Expression Recognition using Deep Neural Networkscited by 43
  28. 2020The Problem with Metrics is a Fundamental Problem for AIcited by 37
  29. 2021DISSECT: Disentangled Simultaneous Explanations via Concept Traversalscited by 37
  30. 2022Understanding Machine Learning Practitioners' Data Documentation Perceptions, Needs, Challenges, and Desideratacited by 28
  31. 2022REAL ML: Recognizing, Exploring, and Articulating Limitations of Machine Learning Researchcited by 20
  32. 2022The worst of both worlds: A comparative analysis of errors in learning from data in psychology and machine learningcited by 17
  33. 2022Perspectives on Incorporating Expert Feedback into Model Updatescited by 7
  34. 2018Closing the AI Knowledge Gapcited by 2

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 1.

5 papers.