Delta-XAI: A Unified Framework for Explaining Prediction Changes in Online Time Series Monitoring
Changhun Kim, Yechan Mun, Hyeongwon Jang, Eunseo Lee, Sangchul Hahn, Eunho Yang
TL;DR
<3-5 sentence high-level summary> Delta-XAI introduces a unified framework to explain prediction changes in online time series by reusing existing single-time XAI methods through a prediction-difference wrapper and by proposing SWING, an IG-based method that accounts for temporal dynamics via retrospective baselines, dual-path integration, and piecewise-linear histories. The authors provide a comprehensive evaluation suite tailored to online settings and demonstrate that classic gradient-based explanations can outperform newer methods when adapted to temporal data. Across diverse real-world and synthetic benchmarks, SWING achieves superior fidelity, sufficiency, and coherence while maintaining reasonable efficiency. This work thus shifts the emphasis from static explanations to dynamic, time-sensitive attributions, enhancing trustworthiness in high-stakes domains such as healthcare and finance.
Abstract
Explaining online time series monitoring models is crucial across sensitive domains such as healthcare and finance, where temporal and contextual prediction dynamics underpin critical decisions. While recent XAI methods have improved the explainability of time series models, they mostly analyze each time step independently, overlooking temporal dependencies. This results in further challenges: explaining prediction changes is non-trivial, methods fail to leverage online dynamics, and evaluation remains difficult. To address these challenges, we propose Delta-XAI, which adapts 14 existing XAI methods through a wrapper function and introduces a principled evaluation suite for the online setting, assessing diverse aspects, such as faithfulness, sufficiency, and coherence. Experiments reveal that classical gradient-based methods, such as Integrated Gradients (IG), can outperform recent approaches when adapted for temporal analysis. Building on this, we propose Shifted Window Integrated Gradients (SWING), which incorporates past observations in the integration path to systematically capture temporal dependencies and mitigate out-of-distribution effects. Extensive experiments consistently demonstrate the effectiveness of SWING across diverse settings with respect to diverse metrics. Our code is publicly available at https://anonymous.4open.science/r/Delta-XAI.
