CoLaX: Context-Aware Local Explanations for Time Series Classification
Kexuan Zhang, Paolo Frazzetto, Xiaobei Zou, Gustau Camps-Valls, Yang Tang
NeurIPS page · OpenReview · Open on the map
Category: Time Series, PDEs & Probabilistic ML › Time Series Forecasting and Robustness · Type: new method · Keywords: time series classification explanations, context-aware explanations, local-global modeling, faithful explanations, stable explanations
Areas: Long Context › Long-context mechanisms › Long context modeling; Interpretability › Model Explanations › Model Interpretability
Summary
CoLaX introduces a context-aware explanation framework that jointly models local dynamics and global temporal context to produce more faithful and stable explanations for time series classifiers.
Explained to a 5-year-old
Time series are like sequences of numbers that change over time, such as a song's volume. When we use computers to guess what something is, we want to know why they made that guess. The new method looks at both small parts of the data and the whole story around them. It helps the computer say which moments are important and why they matter. This makes the computer's answers easier to trust, especially when the decisions are important.
Explained to a 5-year-old, longer
Time series are like a list of numbers that change over time, such as the temperature each hour. When we use computers to guess what is happening in these lists, we also want them to tell us why they think that. Usually, the computers only look at small parts of the list and forget about the rest. The new idea looks at both the small parts and the whole story around them at the same time. It uses a special rule that lets the big picture tell the small parts which ones are important. This helps the computer say not only what matters, but also when and why it matters. By connecting the small pieces to the larger flow, the explanations become more reliable. The method also stays steady, giving similar answers even if the data changes a little. This is very helpful in important places like doctors' tools or money decisions, where we need to trust the computer. The idea can be used for many kinds of time-series data, like sensor readings or stock prices. It makes the computer's decisions clearer and easier for people to understand. This helps build safer and more trustworthy AI systems that can be used in real life.
For a technical reader
CoLaX is a framework that generates explanations for time-series classifiers by jointly modeling local patterns and global temporal context. It introduces a context-conditioning mechanism that modulates the importance of local features based on surrounding temporal information, providing both "what" and "when/why" insights. The method is evaluated on several benchmark explanation tasks, where it consistently outperforms existing post-hoc techniques in faithfulness and stability. Implementation-wise, CoLaX can be integrated as a drop-in explainer for existing models, requiring only a modest additional computational overhead. This approach helps engineers build more trustworthy AI systems in critical domains such as healthcare and finance by delivering clearer, more reliable model interpretations.
Problem
Time series classifiers in high-stakes domains need reliable explanations that capture both local patterns and their global temporal context, but existing post-hoc methods often ignore long-range dependencies, leading to less faithful explanations.
Method
The approach embeds local dynamics within a global temporal structure using a context-conditioning mechanism that models how global context modulates the importance of local patterns.
Results
The approach shows significantly more faithful and stable explanations compared to baselines, highlighting the importance of joint local-global modeling for reliable time-series interpretability.
Contributions
It introduces a context-aware explanation framework that jointly models local and global temporal dependencies, providing principled context-conditioning to reveal when and why local patterns matter.
Practical relevance
The method enables trustworthy deployment of time series classifiers in critical applications by providing more reliable and stable explanations.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction