Skip to main navigation Skip to search Skip to main content

Temporally Coherent Counterfactual Explanations for Time Series Forecasting

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

37 Downloads (Pure)

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 languageEnglish
Title of host publicationECML PKDD 2026 proceedings
Place of PublicationCham, Switzerland
PublisherSpringer
Publication statusAccepted/In press - 20 Jun 2026
EventECML PKDD 2026 - University of Naples Federico II, Naples, Italy
Duration: 7 Sept 202611 Sept 2026
https://ecmlpkdd.org/2026/

Publication series

NameLecture Notes in Computer Science
PublisherSpringer
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceECML PKDD 2026
Country/TerritoryItaly
CityNaples
Period7/09/2611/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