Feature Shift Detection: Localizing Which Features Have Shifted via Conditional Distribution Tests
Abstract
While previous distribution shift detection approaches can identify if a shift has occurred, these approaches cannot localize which specific features have caused a distribution shift -- a critical step in diagnosing or fixing any underlying issue. For example, in military sensor networks, users will want to detect when one or more of the sensors has been compromised, and critically, they will want to know which specific sensors might be compromised. Thus, we first define a formalization of this problem as multiple conditional distribution hypothesis tests and propose both non-parametric and parametric statistical tests. For both efficiency and flexibility, we then propose to use a test statistic based on the density model score function (i.e. gradient with respect to the input) -- which can easily compute test statistics for all dimensions in a single forward and backward pass. Any density model could be used for computing the necessary statistics including deep density models such as normalizing flows or autoregressive models. We additionally develop methods for identifying when and where a shift occurs in multivariate time-series data and show results for multiple scenarios using realistic attack models on both simulated and real world data.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A hierarchical decomposition for explaining ML performance discrepancies cites Towards Explaining Distribution Shifts
- A hierarchical decomposition for explaining ML performance discrepancies cites "Why did the Model Fail?": Attributing Model Performance Changes to Distribution Shifts
- "Why did the Model Fail?": Attributing Model Performance Changes to Distribution Shifts cites Towards Explaining Distribution Shifts
Cited by top-tier papers11
- Fairness Transferability Subject to Bounded Distribution ShiftYatong Chen, Reilly Raab, Jialu Wang, Yang LiuNeurIPS 2022 · 40 citations
- Towards Explaining Distribution ShiftsSean Kulinski, David I. InouyeICML 2023 · 38 citations
- "Why did the Model Fail?": Attributing Model Performance Changes to Distribution ShiftsHaoran Zhang, Harvineet Singh, Marzyeh Ghassemi, Shalmali JoshiICML 2023 · 37 citations
- Calibration of Time-Series Forecasting: Detecting and Adapting Context-Driven Distribution ShiftMouxiang Chen, Lefei Shen, Han Fu, Zhuo Li et al.KDD 2024 · 12 citations
- A hierarchical decomposition for explaining ML performance discrepanciesHarvineet Singh, Fan Xia, Adarsh Subbaswamy, Alexej Gossmann et al.NeurIPS 2024 · 9 citations
Related papers
- Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time SeriesEnyan Dai, Jie ChenICLR 2022 · 111 citations
- Feature Shift Localization NetworkMíriam Barrabés, Daniel Mas Montserrat, Kapal Dev, Alexander G. IoannidisICML 2025
- Generating Distributional Adversarial Examples to Evade Statistical DetectorsYigitcan Kaya, Muhammad Bilal Zafar, Sergül Aydöre, Nathalie Rauschmayr et al.ICML 2022 · 7 citations
- CANDI: Curated Test-Time Adaptation for Multivariate Time-Series Anomaly Detection Under Distribution ShiftHyunGi Kim, Jisoo Mok, Hyungyu Lee, Juhyeon Shin et al.AAAI 2026
- Sequential Harmful Shift Detection Without LabelsSalim I. Amoukou, Tom Bewley, Saumitra Mishra, Freddy Lécué et al.NeurIPS 2024 · 13 citations
