CoLaX: Context-Aware Local Explanations for Time Series Classification
Kexuan Zhang, Paolo Frazzetto, Xiaobei Zou, Gustau Camps-Valls, Yang Tang
Key points
From the paper's conclusion- We propose CoLaX, a context-aware post-hoc explanation framework that builds on shapelet-driven Shapley attribution and conditions local-pattern relevance on a learned representation of the full sequence.
Abstract
Post-hoc explanations for time series classifiers usually score local patterns, such as subsequences or shapelets, without regard to the rest of the sequence. Yet the same motif can carry different predictive meaning under different global temporal conditions, such as trends or regimes. We propose CoLaX, a context-aware post-hoc explanation framework that builds on shapelet-driven Shapley attribution and conditions local-pattern relevance on a learned representation of the full sequence. Global context acts at two levels: it produces sample-specific prototype weights and a temporally resolved signal that reweights the local activation map. The resulting context-conditioned segments are the players of a Shapley attribution game whose values come only from the frozen black-box classifier. On synthetic benchmarks where identical motifs change relevance across contexts, CoLaX improves AUPRC over the strongest baseline by 30\% on average. On real-world data, it achieves the highest AUPRC on ECG. Additional ablations indicate that the gains come from input-dependent conditioning rather than from additional learnable weights. CoLaX is therefore most useful when recurring local motifs change relevance across sequence-level contexts.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GRAIL: From Saliency to Semantics in Time-Series ExplanationarXiv · 2026
- Label-Efficient Time Series Classification at Scale: A Dual-Stream OSSE-LSTM with Counterfactual AttributionarXiv · 2026
- TempShap: When and How Much a Feature Matters in Time-Series ForecastingarXiv · 2026
- Predictive Surprise as Self-Grounding Concept Bottleneck for Interpretable Time SeriesarXiv · 2026
- Explaining Time Series Forecasting with Horizon-Resolved AttributionarXiv · 2026
- Learnable Time-Frequency Masks for Explaining Time-Series ClassifiersarXiv · 2026