TL;DR
Current time series explanation methods assume that every future step in a forecast depends on the exact same past data points. This paper introduces Horizon-Resolved eXplanation (HRX), a plug-in framework that provides step-by-step importance maps for forecasts. By mapping explanations across both lookback time and forecast horizons, HRX reveals that different future steps actually rely on distinct pieces of past evidence.
What Problem Does This Paper Address?
Explainable AI (XAI) for time series typically identifies which past time steps influenced a model's output. However, for forecasting models that predict a trajectory of future values (a horizon of length $H$), existing methods collapse the explanation into a single vector of length $L$ (the lookback length). This implies a massive, unverified assumption: that a prediction for tomorrow morning relies on the exact same historical data as a prediction for next week.
The authors demonstrate that this assumption is fundamentally flawed. Different future steps rely on different parts of the past. For instance, a model might look at very recent data to predict the immediate next step, but look further back to capture cyclical patterns for distant steps. Existing evaluation metrics also suffer from this blind spot, as they are designed to score a single label rather than an entire multi-step trajectory.
Methods
The authors propose Horizon-Resolved eXplanation (HRX), which expands the standard explanation vector into an explanation matrix $E \in \mathbb{R}^{H \times L}$. Each row in this matrix corresponds to a specific future forecast step, mapping its unique dependency on the lookback window.
HRX is a model-agnostic plug-in consisting of three main components:
- An Efficient Estimator: By default, HRX uses the input gradient ($\partial \hat{y}_h / \partial x$) for each step $h$. To avoid the massive computational overhead of running $H$ separate backward passes, they introduce a graph-replication trick ("batched backward calls") that computes the entire matrix in just a few passes. It can also be paired with seven other popular XAI estimators (like Saliency, Integrated Gradients, or Dynamask).
- A Step-Wise Evaluation Protocol: Traditional metrics evaluate the whole forecast at once. HRX introduces a step-wise deletion protocol. It removes the top-$k$ most important inputs for a specific step and measures how much that specific step's prediction degrades compared to using a globally shared explanation vector.
- A Rank Criterion: Using the participation ratio of the singular values of $E$, the framework calculates the "effective rank" of the explanation matrix. This allows practitioners to predict whether resolving the horizon axis is actually worth the effort for a given time series without running the full evaluation protocol.
Datasets
The authors evaluated HRX across a massive suite of 15 benchmarks:
- General Domain (14 datasets): Standard forecasting benchmarks including ETTh1/2, ETTm1/2, Electricity, Traffic, Weather, Exchange, Solar, and four PEMS traffic datasets.
- Financial Domain (1 new dataset): A newly assembled benchmark consisting of the daily closing prices of the 100 largest US companies by market cap (2018–2025), tested as both log prices and log returns to evaluate performance on non-periodic, noisy data.
- Synthetic Datasets: Six custom-built generators with known ground-truth causal dependencies (e.g., gradual drift, seasonal structure) to rigorously sanity-check the explanations.
Key Insights and Ideas
- The Horizon Axis Lives on Time, Not Channels: In multivariate settings, the step-wise changes in importance happen across the time axis, not the channel (variable) axis. A model changes when it looks in the past as the forecast horizon advances, but not necessarily which variable it looks at.
- Low-Dimensional Structure: Even though every step has its own explanation row, the entire matrix $E$ is low-dimensional. Truncating the matrix to just a handful of leading singular vectors recovers almost all the explanation gain, meaning step-wise dependencies are highly structured and built from a few shared underlying maps.
- Forecasting Skill Drives Explanation Gain: The benefit of using a horizon-resolved explanation scales with the model's actual forecasting performance. Models that successfully beat naive baselines show significantly higher explanation gains, meaning better models exploit horizon-resolved structures more effectively.
Key Results
- Massive Empirical Validation: Across 56,000 runs spanning 26 distinct backbones (including Transformers, MLPs, CNNs, and RNNs), HRX consistently outperformed traditional single-vector explanations.
- Ground-Truth Accuracy: On synthetic data, HRX achieved near-perfect ground-truth recovery, with AUROC jumping from ~0.96 with a shared vector to >0.99 with HRX.
- Foundation Model Compatibility: The framework was successfully applied to 8 zero-shot Time Series Foundation Models (TSFMs) like Chronos and TimesFM, proving that horizon-dependence is an inherent property of large-scale pre-trained models, even on datasets they have never seen before.
Limitations and Future Work
- No Immediate Downstream Utility: The authors honestly note that while HRX is an excellent diagnostic and measurement tool, using the explanation matrix for downstream tasks—like explanation-guided input selection or horizon-specific pruning—did not yield improvements in actual forecasting accuracy. It remains a measurement tool for now.
- Predicting Effect Size: While the rank criterion tells you if the rows differ, no simple statistical property of the raw time series data could reliably predict how much a model would benefit from horizon resolution in advance. Future work will focus on finding what makes a dataset reward this axis and how to leverage this matrix during model training.
Summary updated