CoLaX: Context-Aware Local Explanations for Time Series Classification
Abstract
Reliable deployment of time series classifiers in high-stakes domains requires explanations that capture the interplay between localized patterns and global temporal context. However, existing post-hoc methods often treat local features in isolation, failing to account for long-range dependencies. We propose CoLaX, a context-aware explanation framework that explicitly embeds local dynamics within a global temporal structure. By employing a principled context-conditioning mechanism, CoLaX models how global context modulates the importance of local patterns, revealing not only what is important but also when and why it matters. Extensive benchmarks demonstrate that CoLaX yields significantly more faithful and stable explanations than state-of-the-art baselines, demonstrating that joint local-global modeling is essential for reliable time-series interpretability.