In-Context Adaptation to Concept Drift for Learned Database Operations
Jiaqi Zhu, Shaofeng Cai, Yanyan Shen, Gang Chen, Fang Deng, Beng Chin Ooi

TL;DR
This paper introduces FLAIR, an online in-context adaptation framework for learned database operations that effectively handles concept drift by leveraging immediate execution results, enabling faster and more accurate adaptations without retraining.
Contribution
The paper proposes a novel in-context adaptation paradigm with a task featurization module and a Bayesian meta-trained decision engine for dynamic, efficient model updates in database systems.
Findings
FLAIR achieves up to 5.2x faster adaptation.
Reduces cardinality estimation error by 22.5%.
Outperforms state-of-the-art baselines in key tasks.
Abstract
Machine learning has demonstrated transformative potential for database operations, such as query optimization and in-database data analytics. However, dynamic database environments, characterized by frequent updates and evolving data distributions, introduce concept drift, which leads to performance degradation for learned models and limits their practical applicability. Addressing this challenge requires efficient frameworks capable of adapting to shifting concepts while minimizing the overhead of retraining or fine-tuning. In this paper, we propose FLAIR, an online adaptation framework that introduces a new paradigm called \textit{in-context adaptation} for learned database operations. FLAIR leverages the inherent property of data systems, i.e., immediate availability of execution results for predictions, to enable dynamic context construction. By formalizing adaptation as…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsData Stream Mining Techniques · Machine Learning and Data Classification · Advanced Database Systems and Queries
