Context-Aware Drift Detection
Oliver Cobb, Arnaud Van Looveren
Abstract
When monitoring machine learning systems, two-sample tests of homogeneity form the foundation upon which existing approaches to drift detection build. They are used to test for evidence that the distribution underlying recent deployment data differs from that underlying the historical reference data. Often, however, various factors such as time-induced correlation mean that batches of recent deployment data are not expected to form an i.i.d. sample from the historical data distribution. Instead we may wish to test for differences in the distributions conditional on context that is permitted to change. To facilitate this we borrow machin-ery from the causal inference domain to develop a more general drift detection framework built upon a foundation of two-sample tests for conditional distributional treatment effects. We recommend a particular instantiation of the framework based on maximum conditional mean discrepancies. We then provide an empirical study demonstrating its effectiveness for various drift detection problems of practical interest, such as detecting drift in the distributions underlying subpopulations of data in a manner that is insensitive to their respective prevalences. The study additionally demonstrates applicability to ImageNet-scale vision problems. and night) covered by the training data. We often do not wish for this partial coverage to cause drift detections, but instead to detect other changes not explained by the change/narrowing of context. A nighttime deployment batch should be permitted to contain only wolves and owls, but a daytime deployment batch should not contain any owls.
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 979981b1-a5b2-459d-8771-a1fc291e4263Cited by top-tier papers4
- Early Concept Drift Detection via Prediction UncertaintyPengqian Lu, Jie Lu, Anjin Liu, Guangquan ZhangAAAI 2025 · 12 citations
- A Data-Driven Measure of Relative Uncertainty for Misclassification DetectionEduardo Dadalto Câmara Gomes, Marco Romanelli, Georg Pichler, Pablo PiantanidaICLR 2024 · 11 citations
- RCCDA: Adaptive Model Updates in the Presence of Concept Drift under a Constrained Resource BudgetAdam Piaseczny, Md Kamran Chowdhury Shisher, Shiqiang Wang, Christopher BrintonNeurIPS 2025 · 7 citations
- Autonomous Concept Drift Threshold DeterminationPengqian Lu, Jie Lu, Anjin Liu, En Yu et al.AAAI 2026
Builds on6
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Measuring Robustness to Natural Distribution Shifts in Image ClassificationRohan Taori, Achal Dave, Vaishaal Shankar, Nicholas Carlini et al.NeurIPS 2020 · 731 citations
- Learning Deep Kernels for Non-Parametric Two-Sample TestsFeng Liu, Wenkai Xu, Jie Lu, Guangquan Zhang et al.ICML 2020 · 213 citations
- BREEDS: Benchmarks for Subpopulation ShiftShibani Santurkar, Dimitris Tsipras, Aleksander MadryICLR 2021 · 193 citations
- A Measure-Theoretic Approach to Kernel Conditional Mean EmbeddingsJunhyung Park, Krikamol MuandetNeurIPS 2020 · 123 citations
Related papers
- Detecting Interpretable Subgroup DriftsFlavio Giobergia, Eliana Pastor, Luca de Alfaro, Elena BaralisKDD 2025
- EDDI: Explaining Data Drift Using InfluenceNikolaos Myrtakis, Andrea Castellani, Ioannis Tsamardinos, Vassilis ChristophidesICDE 2026
- Diagnosing failures of fairness transfer across distribution shift in real-world medical settingsJessica Schrouff, Natalie Harris, Sanmi Koyejo, Ibrahim M. Alabdulmohsin et al.NeurIPS 2022 · 84 citations
- Sequential Covariate Shift Detection Using Classifier Two-Sample TestsSooyong Jang, Sangdon Park, Insup Lee, Osbert BastaniICML 2022 · 24 citations
- "Who experiences large model decay and why?" A Hierarchical Framework for Diagnosing Heterogeneous Performance DriftHarvineet Singh, Fan Xia, Alexej Gossmann, Andrew Chuang et al.ICML 2025
