[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-122789-en":3,"doc-seo-122789-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},122789,1649267921044,"Ava Thompson","https://us-avatar.wpscdn.com/avatar/1800007509477c92dfb?_k=1782875107921204101",8,"Research & Report","Cost-Effective Retraining of Machine Learning Models - Cara Algorithm - Optimizes Retraining Trade-off","Cost-effective retraining of machine learning (ML) models is critical as data drift occurs over time, but frequent retraining is expensive and infrequent retraining yields stale, inaccurate models. The work proposes automated, cost-aware systems that decide when to retrain by explicitly accounting for both staleness costs and retraining costs, including monetary and energy/resource expenses. The paper introduces a Cost-Aware Retraining Algorithm, Cara, and evaluates it on synthetic and real-world datasets, showing strong adaptation to data drifts, better accuracy than drift baselines, fewer retraining actions, and lower total cost.","arXiv :2310 .042 16v 1 [ cs .LG] 6 Oct 2023  \nCost-Effective Retraining of Machine Learning Models  \nAnanth Mahadevan, Michael Mathioudakisa Department of Computer Science, University of Helsinki, Finland  \nAbstract  \nIt is important to retrain a machine learning (ML) model in order to maintain its performance as the data changes over time. However, this can be costly as it usually requires processing the entire dataset again. This creates a trade-off between retraining too frequently, which leads to unnecessary computing costs, and not retraining often enough, which results in stale and inaccurate ML models. To address this challenge, we propose ML systems that make automated and cost-effective decisions about when to retrain an ML model. We aim to optimize the trade-off by considering the costs associated with each decision. Our research focuses on determining whether to retrain or keep an existing ML model based on various factors, including the data, the model, and the predictive queries answered by the model. Our main contribution is a Cost-Aware Retraining Algorithm called Cara, which optimizes the trade-off over streams of data and queries. To evaluate the performance of Cara, we analyzed synthetic datasets and demonstrated that Cara can adapt to different data drifts and retraining costs while performing similarly to an optimal retrospective algorithm. We also conducted experiments with real-world datasets and showed that Cara achieves better accuracy than drift detection baselines while making fewer retraining decisions, ultimately resulting in lower total costs. Keywords: machine learning, resource-aware computing  \n1. Introduction  \nRetraining a machine learning (ML) model is essential in the presence of data drift [1], i.e., continuous changes in the data due to factors such as system modifications, seasonality, or changes in user preferences. As a data drift occurs, the performance of an ML model trained on old data typically decreases – or, more generally, is not as high as it could be if it took advantage of the new data. As a result, maintaining the performance of an ML model calls for an online decision on whether to Retrain or Keep the existing ML model. In what follows, we refer to any algorithm that makes such a decision as a retraining algorithm.  \nSeveral methods exist to detect data drift [2, 3 , 4] by monitoring the errors of an ML model on a stream of labeled samples, i.e. , data. These methods decide to retrain the ML model whenever a drift is detected. However, note that (i) ML models are typically used to predict a stream of unlabeled samples [5], i.e. , queries, and (ii) (re)training is associated with costs, such as the monetary cost for (re)training a model on a cloud service or the energy cost for executing the training algorithm [6] . Considering queries and costs in addition  \nPreprint submitted to Arxiv October 9, 2023  \nto data is essential in deciding whether to retrain a model. To see why, consider a real estate firm that uses an ML model to predict housing prices. Suppose, the data used to train the ML model represents the price distribution of all houses in the market. However, the customer queries concern only a niche of this market, for example, mansions. In such a case, if new data suggests prices have changed for studio apartments but not for mansions, retraining the model will not improve its performance on queries significantly enough to justify the retraining cost. By contrast, if the new data indicates that prices for mansions have changed significantly, then the potential drop in performance on queries will warrant a Retrain decision. Unfortunately, many existing drift detection methods do not consider queries or retraining costs, which may lead to suboptimal decisions for scenarios like the above.  \nThe above discussion gives rise to two costs when deciding whether to retrain. The first is a model staleness cost, i.e. , the performance loss due to keeping an ML model trained on","cbCaieWLKOB6b4v6","https://ap.wps.com/l/cbCaieWLKOB6b4v6","pdf",1356572,1,27,"English","en",105,"# Introduction\n## Data drift and the need for retraining decisions\n## Existing drift detection limitations (queries and costs)\n## Two decision costs: staleness vs retraining\n# Contributions and proposed approach\n## Cost-Aware Retraining Algorithm (Cara)\n## Oracle baseline and experimental evaluation","[{\"question\":\"Why is retraining an ML model necessary over time?\",\"answer\":\"Retraining is needed because data drift changes the underlying data distribution, reducing model performance when using the old training data.\"},{\"question\":\"What are the two main costs considered in retraining decisions?\",\"answer\":\"The approach balances staleness cost (performance loss from keeping an outdated model) and retraining cost (resources such as monetary cost or energy needed to retrain).\"},{\"question\":\"How does Cara improve retraining decisions compared with drift detection baselines?\",\"answer\":\"Cara optimizes the trade-off using costs and factors from both data and query context, achieving better accuracy with fewer retraining decisions, which reduces total cost.\"}]","Cost-Effective Retraining of Machine Learning Models - Cara Algorithm - Optimizes Retraining Trade-off | PDF",1785812901,68,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"cost-effective-retraining-of-machine-learning-models-cara-algorithm-optimizes-retraining-trade-off","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/cost-effective-retraining-of-machine-learning-models-cara-algorithm-optimizes-retraining-trade-off/122789/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-04",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Why is retraining an ML model necessary over time?","Question",{"text":75,"@type":76},"Retraining is needed because data drift changes the underlying data distribution, reducing model performance when using the old training data.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What are the two main costs considered in retraining decisions?",{"text":80,"@type":76},"The approach balances staleness cost (performance loss from keeping an outdated model) and retraining cost (resources such as monetary cost or energy needed to retrain).",{"name":82,"@type":73,"acceptedAnswer":83},"How does Cara improve retraining decisions compared with drift detection baselines?",{"text":84,"@type":76},"Cara optimizes the trade-off using costs and factors from both data and query context, achieving better accuracy with fewer retraining decisions, which reduces total cost.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]