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
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.
File in questo prodotto:
File Dimensione Formato  
DMKD_Journal_Guiding_the_generation_of_counterfactual_explanations_through_temporal_background_knowledge_for_Predictive_Process_Monitoring.pdf

solo utenti autorizzati

Tipologia: Documento in Post-print
Licenza: NON PUBBLICO - Accesso privato/ristretto
Dimensione 3.07 MB
Formato Adobe PDF
3.07 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

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/11582/370029
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
social impact