paper-with-me

홈 › Papers

Counterfactual Explanations for Time Series Forecasting

2023-10-12 · Zhendong Wang, Ioanna Miliou, Isak Samsten, Panagiotis Papapetrou

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.

📄 PDF Abstract BibTeX arXiv:2310.08137

Code (1)

zhendong3wang/counterfactual-explanations-for-forecasting 공식 구현 tf

Tasks

counterfactualTime SeriesTime Series Forecasting

Similar Papers 제목 키워드 기반

What-If Explanations Over Time: Counterfactuals for Time Series Classification

2026-03-29 · Udo Schlegel, Thomas Seidl arxiv

Counterfactual explanations emerge as a powerful approach in explainable AI, providing what-if scenarios that reveal how minimal changes to an input time series can alter the model's prediction. This work presents a surv…

Time Series ClassificationTime Series Forecasting

ConTex: Reformulating Counterfactual Generation For Time Series Forecasting

2026-06-16 · Jan Voets, Hasan Tercan, Tobias Meisen, Sebastian Baum arxiv

Decision-making with deep learning-based time series forecasting requires not only accurate predictions but also actionable insights. However, current architectures do not inherently provide such information. Specificall…

Time Series Forecasting

Physics-Guided Counterfactual Explanations for Large-Scale Multivariate Time Series: Application in Scalable and Interpretable SEP Event Prediction

2026-01-13 · Pranjal Patil, Anli Ji, Berkay Aydin arxiv

Accurate prediction of solar energetic particle events is vital for safeguarding satellites, astronauts, and space-based infrastructure. Modern space weather monitoring generates massive volumes of high-frequency, multiv…

Time Series Classification

Counterfactual Explanation for Multivariate Time Series Forecasting with Exogenous Variables

2025-11-10 · Keita Kinjo arxiv

Currently, machine learning is widely used across various domains, including time series data analysis. However, some machine learning models function as black boxes, making interpretability a critical concern. One appro…

Multivariate Time Series Forecasting

Explainable time-series forecasting with sampling-free SHAP for Transformers

2025-12-23 · Matthias Hertel, Sebastian Pütz, Ralf Mikut, Veit Hagenmeyer 외 arxiv

Time-series forecasts are essential for planning and decision-making in many domains. Explainability is key to building user trust and meeting transparency requirements. Shapley Additive Explanations (SHAP) is a popular …