mlsanityData to 7 Oct 2026

Counterfactual Explanations for Time Series Forecasting

arXiv 2310.08137 ↗First posted 12 Oct 2023cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

Among recent developments in time series forecasting methods, deep forecasting models have gained popularity as they can utilize hidden feature patterns in time series to improve forecasting performance. Nevertheless, the majority of current deep forecasting models are opaque, hence making it challenging to interpret the results. While counterfactual explanations have been extensively employed as a post-hoc approach for explaining classification models, their application to forecasting models still remains underexplored. In this paper, we formulate the novel problem of counterfactual generation for time series forecasting, and propose an algorithm, called ForecastCF, that solves the problem by applying gradient-based perturbations to the original time series. ForecastCF guides the perturbations by applying constraints to the forecasted values to obtain desired prediction outcomes. We experimentally evaluate ForecastCF using four state-of-the-art deep model architectures and compare to two baselines. Our results show that ForecastCF outperforms the baseline in terms of counterfactual validity and data manifold closeness. Overall, our findings suggest that ForecastCF can generate meaningful and relevant counterfactual explanations for various forecasting tasks.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 23 of its 46 references that are in the map. First posted on arXiv 12 Oct 2023.

Builds on

23 of 46 references.

References · 23

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  4. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
  5. 2019Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AIcited by 1,543
  6. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  7. 2017DeepAR: Probabilistic Forecasting with Autoregressive Recurrent Networkscited by 1,004
  8. 2017Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networkscited by 869
  9. 2019Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecastingcited by 748
  10. 2019N-BEATS: Neural basis expansion analysis for interpretable time series forecastingcited by 744
  11. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
  12. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
11 more
  1. 2020Time Series Forecasting With Deep Learning: A Surveycited by 457
  2. 2019Financial Time Series Forecasting with Deep Learning : A Systematic Literature Review: 2005-2019cited by 270
  3. 2019Recurrent Neural Networks for Time Series Forecasting: Current Status and Future Directionscited by 172
  4. 2018Temporal Pattern Attention for Multivariate Time Series Forecastingcited by 125
  5. 2017Attend and Diagnose: Clinical Time Series Analysis using Attention Modelscited by 105
  6. 2020Instance-based Counterfactual Explanations for Time Series Classificationcited by 64
  7. 2020Counterfactual Explanations for Machine Learning on Multivariate Time Series Datacited by 49
  8. 2020Forecasting: theory and practicecited by 36
  9. 2021TS-MULE: Local Interpretable Model-Agnostic Explanations for Time Series Forecast Modelscited by 28
  10. 2018Explainable time series tweaking via irreversible and reversible temporal transformationscited by 8
  11. 2022LIMREF: Local Interpretable Model Agnostic Rule-based Explanations for Forecasting, with an Application to Electricity Smart Meter Datacited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 5.

10 papers.