Counterfactual explanations suggest what should be different in the input instance to change the outcome of an AI system. When dealing with counterfactual explanations in the field of Predictive Process Monitoring, however, control flow relationships among events have to be carefully considered. A counterfactual, indeed, should not violate control flow relationships among activities (temporal background knowledge). Within the field of Explainability in Predictive Process Monitoring, there have been a series of works regarding counterfactual explanations for outcome-based predictions. However, none of them consider the inclusion of temporal background knowledge when generating these counterfactuals. In this work, we address the problem of generating counterfactual explanations that consider a temporal background knowledge in the scenario of outcome predictions in Predictive Process Monitoring. We do so by adapting state-of-the-art techniques for counterfactual generation in the domain of Explainable Artificial Intelligence that are based on genetic algorithms to consider a series of temporal constraints, expressed by means of Declare constraints, at runtime. We assume that this temporal background knowledge is given, and we adapt the fitness function, as well as the crossover and mutation operators, to maintain the satisfaction of the constraints. The proposed methods are evaluated with respect to state-of-the-art genetic algorithms for counterfactual generation and the results are presented. We showcase that the inclusion of temporal background knowledge allows the generation of counterfactuals more conformant to the temporal background knowledge, without however losing in terms of the counterfactual traditional quality metrics.

Counterfactual explanations suggest what should be different in the input instance to change the outcome of an AI system. When dealing with counterfactual explanations in the field of Predictive Process Monitoring, however, control flow relationships among events have to be carefully considered. A counterfactual, indeed, should not violate control flow relationships among activities (temporal background knowledge). Within the field of Explainability in Predictive Process Monitoring, there have been a series of works regarding counterfactual explanations for outcome-based predictions. However, none of them consider the inclusion of temporal background knowledge when generating these counterfactuals. In this work, we address the problem of generating counterfactual explanations that consider a temporal background knowledge in the scenario of outcome predictions in Predictive Process Monitoring. We do so by adapting state-of-the-art techniques for counterfactual generation in the domain of Explainable Artificial Intelligence that are based on genetic algorithms to consider a series of temporal constraints, expressed by means of Declare constraints, at runtime. We assume that this temporal background knowledge is given, and we adapt the fitness function, as well as the crossover and mutation operators, to maintain the satisfaction of the constraints. The proposed methods are evaluated with respect to state-of-the-art genetic algorithms for counterfactual generation and the results are presented. We showcase that the inclusion of temporal background knowledge allows the generation of counterfactuals more conformant to the temporal background knowledge, without however losing in terms of the counterfactual traditional quality metrics.

Guiding the generation of counterfactual explanations through temporal background knowledge for predictive process monitoring / Buliga, Andrei; Di Francescomarino, Chiara; Ghidini, Chiara; Donadello, Ivan; Maggi, Fabrizio Maria. - In: DATA MINING AND KNOWLEDGE DISCOVERY. - ISSN 1384-5810. - 39:5(2025). [10.1007/s10618-025-01117-3]

Guiding the generation of counterfactual explanations through temporal background knowledge for predictive process monitoring

Di Francescomarino, Chiara;Ghidini, Chiara;Donadello, Ivan;
2025-01-01

Abstract

Counterfactual explanations suggest what should be different in the input instance to change the outcome of an AI system. When dealing with counterfactual explanations in the field of Predictive Process Monitoring, however, control flow relationships among events have to be carefully considered. A counterfactual, indeed, should not violate control flow relationships among activities (temporal background knowledge). Within the field of Explainability in Predictive Process Monitoring, there have been a series of works regarding counterfactual explanations for outcome-based predictions. However, none of them consider the inclusion of temporal background knowledge when generating these counterfactuals. In this work, we address the problem of generating counterfactual explanations that consider a temporal background knowledge in the scenario of outcome predictions in Predictive Process Monitoring. We do so by adapting state-of-the-art techniques for counterfactual generation in the domain of Explainable Artificial Intelligence that are based on genetic algorithms to consider a series of temporal constraints, expressed by means of Declare constraints, at runtime. We assume that this temporal background knowledge is given, and we adapt the fitness function, as well as the crossover and mutation operators, to maintain the satisfaction of the constraints. The proposed methods are evaluated with respect to state-of-the-art genetic algorithms for counterfactual generation and the results are presented. We showcase that the inclusion of temporal background knowledge allows the generation of counterfactuals more conformant to the temporal background knowledge, without however losing in terms of the counterfactual traditional quality metrics.
2025
5
Buliga, Andrei; Di Francescomarino, Chiara; Ghidini, Chiara; Donadello, Ivan; Maggi, Fabrizio Maria
Guiding the generation of counterfactual explanations through temporal background knowledge for predictive process monitoring / Buliga, Andrei; Di Francescomarino, Chiara; Ghidini, Chiara; Donadello, Ivan; Maggi, Fabrizio Maria. - In: DATA MINING AND KNOWLEDGE DISCOVERY. - ISSN 1384-5810. - 39:5(2025). [10.1007/s10618-025-01117-3]
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11572/473952
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
  • OpenAlex 2
social impact