paper-with-me

홈 › Papers

Did the Model Change? Efficiently Assessing Machine Learning API Shifts

2021-07-29 · Lingjiao Chen, Tracy Cai, Matei Zaharia, James Zou

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.

📄 PDF Abstract BibTeX arXiv:2107.14203

Code (0)

등록된 구현이 없습니다.

Tasks

BIG-bench Machine Learning

Similar Papers 제목 키워드 기반

How Did the Model Change? Efficiently Assessing Machine Learning API Shifts

2021-09-29 · ICLR 2022 4 · Lingjiao Chen, Matei Zaharia, James Zou

ML prediction APIs from providers like Amazon and Google have made it simple to use ML in applications. A challenge for users is that such APIs continuously change over time as the providers update models, and changes ca…

BIG-bench Machine Learning

Learning Latent Causal Dynamics

2022-02-10 · Weiran Yao, Guangyi Chen, Kun Zhang

One critical challenge of time-series modeling is how to learn and quickly correct the model under unknown distribution shifts. In this work, we propose a principled framework, called LiLY, to first recover time-delayed …

Time SeriesTime Series Analysis

Detecting patterns of species diversification in the presence of both rate shifts and mass extinctions

2015-08-31

Recent methodological advances are enabling better examination of speciation and extinction processes and patterns. A major open question is the origin of large discrepancies in species number between groups of the same …

DiversityOpen-Ended Question Answering

Do machine learning climate models work in changing climate dynamics?

2025-09-15 · Maria Conchita Agana Navarro, Geng Li, Theo Wolf, María Pérez-Ortiz arxiv

Climate change is accelerating the frequency and severity of unprecedented events, deviating from established patterns. Predicting these out-of-distribution (OOD) events is critical for assessing risks and guiding climat…

MIMII DUE: Sound Dataset for Malfunctioning Industrial Machine Investigation and Inspection with Domain Shifts due to Changes in Operational and Environmental Conditions

2021-05-06 · Ryo Tanabe, Harsh Purohit, Kota Dohi, Takashi Endo 외

In this paper, we introduce MIMII DUE, a new dataset for malfunctioning industrial machine investigation and inspection with domain shifts due to changes in operational and environmental conditions. Conventional methods …

Task 2