mlsanityData to 7 Oct 2026

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

arXiv 2603.27792 ↗First posted 29 Mar 2026cs.LG cs.AI stat.MLcited by 4

Not on the map. Why?

Abstract (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 survey of recent algorithms for counterfactual explanations for time series classification. We review state-of-the-art methods, spanning instance-based nearest-neighbor techniques, pattern-driven algorithms, gradient-based optimization, and generative models. For each, we discuss the underlying methodology, the models and classifiers they target, and the datasets on which they are evaluated. We highlight unique challenges in generating counterfactuals for temporal data, such as maintaining temporal coherence, plausibility, and actionable interpretability, which distinguish the temporal from tabular or image domains. We analyze the strengths and limitations of existing approaches and compare their effectiveness along key dimensions (validity, proximity, sparsity, plausibility, etc.). In addition, we implemented an open-source implementation library, Counterfactual Explanations for Time Series (CFTS), as a reference framework that includes many algorithms and evaluation metrics. We discuss this library's contributions in standardizing evaluation and enabling practical adoption of explainable time series techniques. Finally, based on the literature and identified gaps, we propose future research directions, including improved user-centered design, integration of domain knowledge, and counterfactuals for time series forecasting.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 24 of its 44 references that are in the map. First posted on arXiv 29 Mar 2026.

Builds on

24 of 44 references.

References · 24

  1. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  2. 2018The UCR Time Series Archivecited by 421
  3. 2018The UEA multivariate time series classification archive, 2018cited by 330
  4. 2018Explanations based on the Missing: Towards Contrastive Explanations with Pertinent Negativescited by 261
  5. 2020Multi-Objective Counterfactual Explanationscited by 157
  6. 2021CARLA: A Python Library to Benchmark Algorithmic Recourse and Counterfactual Explanation Algorithmscited by 85
  7. 2021If Only We Had Better Counterfactual Explanations: Five Key Deficits to Rectify in the Evaluation of Counterfactual XAI Techniquescited by 82
  8. 2020Good Counterfactuals and Where to Find Them: A Case-Based Technique for Generating Counterfactuals for Explainable AI (XAI)cited by 79
  9. 2020Instance-based Counterfactual Explanations for Time Series Classificationcited by 64
  10. 2020Counterfactual Explanations for Machine Learning on Multivariate Time Series Datacited by 49
  11. 2021Conditional Generative Models for Counterfactual Explanationscited by 28
  12. 2023Self-Interpretable Time Series Prediction with Counterfactual Explanationscited by 24
12 more
  1. 2022Motif-guided Time Series Counterfactual Explanationscited by 12
  2. 2022Counterfactual Explanations for Misclassified Images: How Human and Machine Explanations Differcited by 12
  3. 2020Latent-CF: A Simple Baseline for Reverse Counterfactual Explanationscited by 11
  4. 2022Generating Sparse Counterfactual Explanations For Multivariate Time Seriescited by 11
  5. 2024M-CELS: Counterfactual Explanation for Multivariate Time Series Data Guided by Learned Saliency Mapscited by 10
  6. 2022Shapelet-Based Counterfactual Explanations for Multivariate Time Seriescited by 9
  7. 2024Shapelet-based Model-agnostic Counterfactual Local Explanations for Time Series Classificationcited by 6
  8. 2023Visual Explanations with Attributions and Counterfactuals on Time Series Classificationcited by 5
  9. 2023XTSC-Bench: Quantitative Benchmarking for Explainers on Time Series Classificationcited by 3
  10. 2024Interactive Counterfactual Generation for Univariate Time Seriescited by 3
  11. 2024Multi-SpaCE: Multi-Objective Subsequence-based Sparse Counterfactual Explanations for Multivariate Time Series Classificationcited by 3
  12. 2025Counterfactual Explanations for Time Series Should be Human-Centered and Temporally Coherent in Interventionscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.