Abstract
Counterfactual explanations provide interpretability for machine learning models by identifying minimal, actionable changes to an input that would alter a model’s prediction. Most prior work focuses on tabular settings, where features are treated as independent within a static instance, making counterfactual generation relatively tractable due to limited structural constraints. In contrast, counterfactual explanations for time-series forecasting are substantially more challenging. Time series exhibit temporal dependencies, seasonality, and structured evolution. Time-series counterfactuals must therefore satisfy predictive validity while remaining sparse and temporally coherent, as outcomes depend on the evolution of features over time. Existing time-series approaches either rely on input-space optimization, which often introduces unrealistic temporal artifacts, or operate in flat latent spaces that lack mechanisms to enforce temporal coherence. Consequently, generating counterfactuals that are both valid and temporally coherent remains an open challenge. In this paper, we propose TempACE (Temporal Attention-Guided Counterfactual Explainer), a framework for counterfactual generation within a hierarchically structured latent space that explicitly encodes temporal dependencies. TempACE employs a ladder variational autoencoder with Temporal Convolutional Attention (TCA), capturing multi-scale temporal structure, while attention-guided optimization constrains edits to influential time steps on the data manifold. Experimental results demonstrate that TempACE outperforms state-of-the-art input- and latent-space baselines.
| Original language | English |
|---|---|
| Title of host publication | ECML PKDD 2026 proceedings |
| Place of Publication | Cham, Switzerland |
| Publisher | Springer |
| Publication status | Accepted/In press - 20 Jun 2026 |
| Event | ECML PKDD 2026 - University of Naples Federico II, Naples, Italy Duration: 7 Sept 2026 → 11 Sept 2026 https://ecmlpkdd.org/2026/ |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Publisher | Springer |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | ECML PKDD 2026 |
|---|---|
| Country/Territory | Italy |
| City | Naples |
| Period | 7/09/26 → 11/09/26 |
| Internet address |
Keywords
- Counterfactual Explanations
- Time Series Forecasting
- Explainable AI
- Interpretability
Fingerprint
Dive into the research topics of 'Temporally Coherent Counterfactual Explanations for Time Series Forecasting'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver