mlsanityData to 7 Oct 2026

Did the Model Change? Efficiently Assessing Machine Learning API Shifts

arXiv 2107.14203 ↗First posted 29 Jul 2021stat.ML cs.AI cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

Machine learning (ML) prediction APIs are increasingly widely used. An ML API can change over time due to model updates or retraining. This presents a key challenge in the usage of the API because it is often not clear to the user if and how the ML model has changed. Model shifts can affect downstream application performance and also create oversight issues (e.g. if consistency is desired). In this paper, we initiate a systematic investigation of ML API shifts. We first quantify the performance shifts from 2020 to 2021 of popular ML APIs from Google, Microsoft, Amazon, and others on a variety of datasets. We identified significant model shifts in 12 out of 36 cases we investigated. Interestingly, we found several datasets where the API's predictions became significantly worse over time. This motivated us to formulate the API shift assessment problem at a more fine-grained level as estimating how the API model's confusion matrix changes over time when the data distribution is constant. Monitoring confusion matrix shifts using standard random sampling can require a large number of samples, which is expensive as each API call costs a fee. We propose a principled adaptive sampling algorithm, MASA, to efficiently estimate confusion matrix shifts. MASA can accurately estimate the confusion matrix shifts in commercial ML APIs using up to 90% fewer samples compared to random sampling. This work establishes ML API shifts as an important problem to study and provides a cost-effective approach to monitor such shifts.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 15 of its 39 references that are in the map. First posted on arXiv 29 Jul 2021.

Builds on

15 of 39 references.

References · 15

  1. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  2. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
  3. 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
  4. 2017AffectNet: A Database for Facial Expression, Valence, and Arousal Computing in the Wildcited by 490
  5. 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 364
  6. 2013Challenges in Representation Learning: A report on three machine learning contestscited by 301
  7. 2019Speech Model Pre-training for End-to-End Spoken Language Understandingcited by 191
  8. 2019Regularized Learning for Domain Adaptation under Label Shiftscited by 118
  9. 2020From ImageNet to Image Classification: Contextualizing Progress on Benchmarkscited by 90
  10. 2018AudioMNIST: Exploring Explainable Artificial Intelligence for Audio Analysis on a Simple Benchmarkcited by 72
  11. 2020Masked Face Recognition Dataset and Applicationcited by 66
  12. 2020FrugalML: How to Use ML Prediction APIs More Accurately and Cheaplycited by 33
3 more
  1. 2015Learning Social Relation Traits from Face Imagescited by 25
  2. 2020Active Learning under Label Shiftcited by 23
  3. 2020Model Assertions for Monitoring and Improving ML Modelscited by 22

Built on by

Cited by year (2026 to 7 Oct)

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

13 papers.

Sort:

By area: