When to retrain a machine learning model
Florence Regol, Leo Schwinn, Kyle Sprague, Mark Coates, Thomas Markovich
Abstract
A significant challenge in maintaining real-world machine learning models is responding to the continuous and unpredictable evolution of data. Most practitioners are faced with the difficult question: when should I retrain or update my machine learning model? This seemingly straightforward problem is particularly challenging for three reasons: 1) decisions must be made based on very limited information -we usually have access to only a few examples, 2) the nature, extent, and impact of the distribution shift are unknown, and 3) it involves specifying a cost ratio between retraining and poor performance, which can be hard to characterize. Existing works address certain aspects of this problem, but none offer a comprehensive solution. Distribution shift detection falls short as it cannot account for the cost trade-off; the scarcity of the data, paired with its unusual structure, makes it a poor fit for existing offline reinforcement learning methods, and the online learning formulation overlooks key practical considerations. To address this, we present a principled formulation of the retraining problem and propose an uncertainty-based method that makes decisions by continually forecasting the evolution of model performance evaluated with a bounded metric. Our experiments addressing classification tasks show that the method consistently outperforms existing baselines on 7 datasets. ' c s 3 s e d a r k n e t l ' , ' c s 3 s e d a r k n e t x ' , ' c s p d a r k n e t 5 3 ' , ' c s p r e s n e t 5 0 ' , ' c s p r e s n e x t 5 0 ' , ' d a r k n e t 5 3 ' , ' d a r k n e t a a 5 3 ' , ' d a v i t b a s e ' , ' d a v i t s m a l l ' , ' d a v i t t i n y ' , ' d e i t 3 b a s e p a t c h 1 6 2 2 4 ' , ' d e i t 3 m e d i u m p a t c h 1 6 2 2 4 ' , ' d e i t 3 s m a l l p a t c h 1 6 2 2 4 ' , ' d e i t b a s e d i s t i l l e d p a t c h 1 6 2 2 4 ' , ' d e i t b a s e p a t c h 1 6 2 2 4 ' , ' d e i t s m a l l d i s t i l l e d p a t c h 1 6 2 2 4 ' , ' d e i t s m a l l p a t c h 1 6 2 2 4 ' , ' d e i t t i n y d i s t i l l e d p a t c h 1 6 2 2 4 ' , ' d e i t t i n y p a t c h 1 6 2 2 4 ' , ' d e n s e n e t 1 2 1 ' , ' d e n s e n e t 1 6 1 ' , ' d e n e n e t 1 6 9 ' , ' d e n s e n e t 2 0 1 ' , ' d e n s e n e t b l u r 1 2 1 d ' , ' d l a 1 0 2 ' , ' d l a 1 0 2 x ' , ' d l a 1 0 2 x 2 ' , ' d l a 1 6 9 ' , ' d l a 3 4 ' , ' d l a 4 6 c ' , ' d l a 4 6 x c ' , ' d l a 6 0 ' , ' d l a 6 0 r e s 2 n e t ' , ' d l a 6 0 r e s 2 n e x t ' , ' d l a 6 0 x ' , ' d l a 6 0 x c ' , ' d m n f n e t f 0 ' , ' d m n f n e t f 1 ' , ' dpn68 ' , ' dpn68b ' , ' dpn92 ' , ' dpn98 ' , ' e c a n f n e t l 0 ' , ' e c a n f n e t l 1 ' , ' e c a n f n e t l 2 ' ,
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e0093962-7bbc-4a69-8581-1086d9131cb2Builds on17
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Conservative Q-Learning for Offline Reinforcement LearningAviral Kumar, Aurick Zhou, George Tucker, Sergey LevineNeurIPS 2020 · 2,881 citations
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- Offline Reinforcement Learning with Implicit Q-LearningIlya Kostrikov, Ashvin Nair, Sergey LevineICLR 2022 · 1,402 citations
- Offline Reinforcement Learning as One Big Sequence Modeling ProblemMichael Janner, Qiyang Li, Sergey LevineNeurIPS 2021 · 950 citations
Related papers
- Backward-Compatible Prediction Updates: A Probabilistic ApproachFrederik Träuble, Julius von Kügelgen, Matthäus Kleindessner, Francesco Locatello et al.NeurIPS 2021 · 20 citations
- Efficiently Mitigating the Impact of Data Drift on Machine Learning PipelinesSijie Dong, Qitong Wang, Soror Sahri, Themis Palpanas et al.VLDB 2024 · 13 citations
- Time-Varying Propensity Score to Bridge the Gap between the Past and PresentRasool Fakoor, Jonas Mueller, Zachary Chase Lipton, Pratik Chaudhari et al.ICLR 2024 · 4 citations
- Reliably detecting model failures in deployment without labelsViet Nguyen, Changjian Shui, Vijay Giri, Siddharth Arya et al.NeurIPS 2025 · 3 citations
- RECORD: Resource Constrained Semi-Supervised Learning under Distribution ShiftLan-Zhe Guo, Zhi Zhou, Yufeng LiKDD 2020 · 15 citations
