arXiv:2608.25080cs.LGAug 2026

Manuscript Offprint

arXiv:2608.25080

NVExplain: Explaining Time Series Forecasting with Latent Trajectory Analysis and Structure-Preserving Surrogates

Muyan Anna Li, Manikandan Ravikiran, Aditi Gautam

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Time series forecasting models are widely used in high-stakes settings, yet their predictions remain difficult to interpret because existing post-hoc methods often ignore temporal dependence and fail to provide horizon-specific explanations. We propose a model-agnostic explainability framework that explains forecasting predictions by attributing each forecast horizon to temporally relevant historical lags. The framework models forecasting as a latent trajectory and introduces semantic flow to quantify how information evolves across time in the model's internal representations. By aggregating semantic flow, it constructs a lag–horizon attribution matrix that captures horizon-resolved temporal influence. To improve explainability, we further generate structure-preserving perturbations and fit sparse local surrogate models, producing human-readable and temporally coherent explanations. We evaluate the method using faithfulness and stability diagnostics across multiple benchmark datasets. Results show that the semantic-flow variant achieves competitive or superior faithfulness compared to standard post-hoc baselines, while being substantially more computationally efficient. Stability analysis further demonstrates that the explanations are robust and identifies regimes where interpretation should be applied with caution.

1 Introduction

Time series forecasting underpins high-stakes decisions in energy, finance, transportation, and industrial monitoring. While modern deep learning and foundation-model forecasters achieve strong performance [1,2][1, 2], their internal reasoning remains opaque, limiting trust and reliable deployment.

Post-hoc explainability methods such as LIME, SHAP, and Integrated Gradients [3, 4, 5] have been extended to sequential settings via TimeSHAP [6] and ShapTime [7]. However, forecasting poses unique challenges: naive perturbations can violate temporal continuity and seasonality; multi-step forecasting requires horizon-specific reasoning, since the lags influencing near-term predictions differ from those affecting longer horizons; and most methods operate in input space, missing how information evolves through latent representations over time.

We address these gaps with a model-agnostic framework that reframes forecasting explanation as analyzing semantic evolution in latent space. We introduce semantic flow to quantify changes between consecutive latent states as the temporal window advances. The framework builds latent trajectories from rolling context windows, computes semantic flow magnitudes, and aggregates them into a lag-by-horizon attribution matrix that yields horizon-resolved distributions over historical lags. To produce interpretable explanations while preserving temporal structure, we employ structure-preserving perturbations and fit horizon-specific sparse local surrogate models.

Evaluated via faithfulness and stability diagnostics against established baselines, semantic flow achieves competitive or stronger faithfulness across multiple datasets while offering more temporally coherent explanations, underscoring the role of latent stability in explanation reliability.

Unlike TimeSHAP and ShapTime, which estimate input-space importance through perturbation or Shapley-style sequence removal, NVExplain explains forecasting behavior through the geometry of latent temporal evolution—a forecasting-specific decomposition that converts rolling latent-state changes into horizon-resolved lag attributions. Semantic flow provides the latent-dynamics primitive, the lag–horizon matrix converts this primitive into multi-step explanations, and the sparse surrogate stage offers an optional human-readable local approximation.

In summary, our contributions are:

  1. introducing semantic flow as a latent-space explanation primitive,

  2. proposing a model-agnostic lag-horizon attribution framework for multi-step forecasting,

  3. designing structure-preserving perturbations for time series explanations, and

  4. evaluating explanation quality using forecasting-specific faithfulness and stability diagnostics.