JOURNAL ARTICLE

Generating Counterfactual Explanations Under Temporal Constraints

Andrei BuligaChiara Di FrancescomarinoChiara GhidiniMarco MontaliMassimiliano Ronzani

Year: 2025 Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Vol: 39 (15)Pages: 15622-15631   Publisher: Association for the Advancement of Artificial Intelligence

Abstract

Counterfactual explanations are one of the prominent eXplainable Artificial Intelligence (XAI) techniques, and suggest changes to input data that could alter predictions, leading to more favourable outcomes. Existing counterfactual methods do not readily apply to temporal domains, such as that of process mining, where data take the form of traces of activities that must obey to temporal background knowledge expressing which dynamics are possible and which not. Specifically, counterfactuals generated off-the-shelf may violate the background knowledge, leading to inconsistent explanations. This work tackles this challenge by introducing a novel approach for generating temporally constrained counterfactuals, guaranteed to comply by design with background knowledge expressed in Linear Temporal Logic on process traces (LTLp). We do so by infusing automata-theoretic techniques for LTLp inside a genetic algorithm for counterfactual generation. The empirical evaluation shows that the generated counterfactuals are temporally meaningful and more interpretable for applications involving temporal dependencies.

Keywords:
Counterfactual thinking Econometrics Computer science Economics Psychology Social psychology

Metrics

3
Cited By
21.70
FWCI (Field Weighted Citation Impact)
0
Refs
0.98
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Business Process Modeling and Analysis
Social Sciences →  Business, Management and Accounting →  Management Information Systems
Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

JOURNAL ARTICLE

Generating Counterfactual Explanations with Natural Language

Lisa Anne HendricksRonghang HuTrevor DarrellZeynep Akata

Journal:   arXiv (Cornell University) Year: 2018 Pages: 95-98
JOURNAL ARTICLE

Generating Causally Compliant Counterfactual Explanations using ASP

Sopam Dasgupta

Journal:   Electronic Proceedings in Theoretical Computer Science Year: 2025 Vol: 416 Pages: 306-313
© 2026 ScienceGate Book Chapters — All rights reserved.