KARMA Explains Time Series AI Models by Capturing Temporal Dependencies

Amadeo Tunyi· June 29, 2026 View original

Summary

This research introduces KARMA, a novel explainable AI method for time-series forecasting models that constructs a Markov surrogate model to capture temporal dependencies. It provides a five-level global explanation hierarchy, addressing limitations of existing methods that ignore sequential data structure.

Many existing explainable AI (XAI) methods are not well-suited for time-series forecasting models because they implicitly assume feature independence, ignoring the inherent temporal dependencies and causal structures in sequential data. This oversight can lead to misleading or inaccurate explanations. Researchers have developed KARMA (K-Order Markov Approximations), a new XAI method specifically designed for time-series predictors. KARMA works by building a Markov surrogate model that accurately reflects the temporal relationships learned by the original predictor. This involves three key steps: identifying the minimal history length (K) sufficient for prediction, estimating the best-fitting K-order Markov transition kernel from the discretized history space, and deriving a five-level global explanation hierarchy from this kernel. Demonstrated with real-world weather data and complex synthetic datasets, KARMA effectively recovers the data's causal structure as learned by the model. It also outperforms established attribution methods like TimeSHAP in identifying temporal dependencies, providing more reliable and contextually appropriate explanations for time-series forecasting.

Why it matters

Professionals working with time-series forecasting models can gain deeper, more accurate insights into model behavior and underlying temporal dependencies, improving trust and decision-making.

How to implement this in your domain

  1. 1Evaluate KARMA as an explainability tool for critical time-series forecasting models in production.
  2. 2Apply KARMA to identify the minimal history length (K) that is predictively sufficient for your models.
  3. 3Utilize the five-level global explanation hierarchy to understand temporal dependencies and causal structures.
  4. 4Compare KARMA's explanations against existing XAI methods to assess its superiority in time-series contexts.

Who benefits

FinanceHealthcareEnergyManufacturingLogistics

Key takeaways

  • Traditional XAI methods often fail for time-series models by ignoring temporal dependencies.
  • KARMA constructs a Markov surrogate model to capture these crucial temporal relationships.
  • It provides a five-level global explanation hierarchy for comprehensive model understanding.
  • KARMA accurately recovers causal structures and identifies temporal dependencies better than other methods.

Original post by Amadeo Tunyi

"arXiv:2606.27599v1 Announce Type: new Abstract: While many explainable AI (XAI) methods have been proposed, most are not designed for time-series forecasting models and often rely on the implicit assumption that timestamp features are independent. This assumption ignores the fund…"

View on X

Originally posted by Amadeo Tunyi on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses