{"id":659631,"date":"2020-05-15T18:04:02","date_gmt":"2020-05-16T01:04:02","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/?post_type=msr-research-item&p=659631"},"modified":"2023-11-02T08:27:28","modified_gmt":"2023-11-02T15:27:28","slug":"active-learning-for-ml-enhanced-database-systems","status":"publish","type":"msr-research-item","link":"https:\/\/www.microsoft.com\/en-us\/research\/publication\/active-learning-for-ml-enhanced-database-systems\/","title":{"rendered":"Active Learning for ML Enhanced Database Systems"},"content":{"rendered":"
Recent research has shown promising results by using machine learning (ML) techniques to improve the performance of database systems, e.g., in query optimization or index recommendation. However, in many production deployments, the ML models\u2019 performance degrades significantly when the
\ntest data diverges from the data used to train these models.<\/p>\n
In this paper, we address this performance degradation by using B-instances to collect additional data during deployment. We propose an active data collection platform, ADCP, that employs active learning (AL) to gather relevant data cost-effectively. We develop a novel AL technique, Holistic Active Learner (HAL), that robustly combines multiple noisy signals for data gathering in the context of database applications. HAL applies to various ML tasks, budget sizes, cost types, and budgeting interfaces for database applications. We evaluate ADCP on both industry-standard benchmarks and real customer workloads. Our evaluation shows that, compared with other baselines, our technique improves ML models\u2019 prediction performance by up to 2\u00d7 with the same cost budget. In particular, on production workloads, our technique reduces the prediction error of ML models by 75% using about 100 additionally collected queries.<\/p>\n