KARMA Explains Multivariate Time Series Forecasts

Amadeo Tunyi· June 29, 2026 View original

Summary

This paper introduces KARMA, a novel explainable AI (XAI) method for multivariate time series forecasting models that constructs a Markov surrogate model to capture temporal dependencies. KARMA identifies the minimal history length, estimates a K-order Markov transition kernel, and provides a five-level global explanation hierarchy, outperforming established attribution methods.

Many existing explainable AI (XAI) methods are not specifically designed for time series forecasting and often incorrectly assume independence between timestamp features. This oversight ignores the fundamental temporal dependencies in time series data, leading to explanations that can misrepresent the sequential and causal structure. Researchers have developed KARMA (K-Order Markov Approximations), a new XAI method tailored for time series predictors. KARMA addresses the temporal dependence issue by constructing a Markov surrogate model that accurately reflects the dependencies learned by the original predictor. The approach involves three key steps: first, identifying the optimal history length (K) that is sufficient for the model's predictions; second, estimating the best-fitting K-order Markov transition kernel from the discretized history space; and third, deriving a comprehensive five-level global explanation hierarchy from this kernel. Demonstrated on real-world weather data and complex synthetic data, KARMA effectively recovers causal structures and identifies temporal dependencies more accurately than traditional attribution methods like TimeSHAP.

Why it matters

For data scientists, machine learning engineers, and business analysts working with time series data, KARMA provides a robust and interpretable way to understand the underlying mechanisms of complex forecasting models, leading to more trustworthy predictions and better decision-making.

How to implement this in your domain

  1. 1Apply KARMA to existing multivariate time series forecasting models to gain deeper insights into their behavior.
  2. 2Utilize the five-level global explanation hierarchy to communicate model insights to stakeholders.
  3. 3Integrate KARMA into model development pipelines to ensure interpretability from the outset.
  4. 4Compare KARMA's explanations with other XAI methods to validate its effectiveness in specific domains.
  5. 5Leverage the identified temporal dependencies to refine feature engineering or model architecture.

Who benefits

FinanceEnergyManufacturingLogisticsHealthcare

Key takeaways

  • Traditional XAI methods often fail to account for temporal dependencies in time series data.
  • KARMA constructs a Markov surrogate model to capture these dependencies for better explanations.
  • It provides a five-level global explanation hierarchy for comprehensive model understanding.
  • KARMA accurately recovers causal structures and outperforms other attribution methods for time series.

Original post by Amadeo Tunyi

"arXiv:2606.27599v1 Announce Type: cross 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 fu…"

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