arXiv:2608.24672cs.SEAug 2026

Manuscript Offprint

arXiv:2608.24672

Causal Explanations of Process Monitor Predictions

Tom Yaacov, Nathan Blake, Hana Chockler

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Tom Yaacov ID^{ID}

Dept. of Informatics

King's College London

London, UK

tom.yaacov@kcl.ac.uk

Nathan Blake ID^{ID}

Dept. of Informatics

King's College London

London, UK

nathan.blake@kcl.ac.uk

Hana Chockler ID^{ID}

Dept. of Informatics

King's College London

London, UK

hana.chockler@kcl.ac.uk

Abstract—Process mining is widely used to diagnose processes and identify performance and compliance issues. Specifically, Predictive Process Monitoring (PPM) techniques use AI models to predict outcomes of ongoing process instances. While these models can achieve high predictive performance, their black-box nature makes it difficult to understand the underlying reasons behind their output predictions. In this paper, we propose a novel approach for generating local (case-level) explanations of process monitor predictions based on the framework of actual causality. We define a causal model tailored to processes that captures temporal dependencies between events in a trace, thus allowing us to reason about causal influence of events on the predicted outcome. Our method uses this model implicitly to compute causes and quantify the importance of different events with respect to the predicted outcome. We present a practical, model-agnostic algorithm that approximates event responsibility given the process structure reflected in the causal model. We evaluate our approach on a range of datasets derived from real-life event logs from a standard PPM benchmark. Each dataset contains up to 130,000 traces, with trace lengths of up to 1,800 events and up to 400 distinct event types. We compare our approach with state-of-the-art local explanation methods. The results demonstrate that our approach produces more stable and concise explanations while maintaining competitive efficiency.

Index Terms—Predictive Process Monitoring, Explainable Artificial Intelligence, Actual Causality, Interpretability, Predictive Process Analytics, Business Process Management, Log Files Analysis

I. INTRODUCTION

Process mining techniques analyze event logs from an information system in order to discover, monitor, and ultimately improve the process. Predictive Process Monitoring (PPM) is a subfield of process mining that applies machine learning methods to predict future events in the process. Deep learning (DL) has substantially improved this predictive capability [1]. However, DL models are typically opaque, giving no insights into how a prediction was made. Explainable AI (XAI) refers to a family of techniques designed to confer some understanding of the workings of DL models, facilitating trust in their predictions [2]. Post-hoc XAI is one type of XAI which is applied to a model after training and explains a particular instance. These are by far the most commonly applied to PPM, with Shapley Additive exPlanations (SHAP) [3] and Local Interpretable Model-Agnostic Explanations (LIME) [4] being the most popular methods [5]. However, these are general XAI methods, developed for imaging and tabular data, and do not account for the temporal and causal structures inherent to event logs. They are particularly ill-suited to tasks involving highly correlated datasets [6], which is common in PPM domains such as healthcare where understanding causal relationships is crucial. The fidelity of XAI techniques is important in any business process, whether this be for profit maximization, or a medico-ethical imperative in fields such as medicine. These necessitate more refined XAI approaches which capture causal structures.

In this proof-of-concept work, we seek to remedy these limitations by using the framework of actual causality, introduced by Halpern and Pearl [7] and extended by Halpern in [8]. We introduce a causal model for processes that captures temporal dependencies between events in a trace and enables reasoning about their causal influence on process monitor predictions. Using this model, we derive explanations in terms of causes and quantify the importance of different events using the established notion of causal degree of responsibility. We further present a model-agnostic algorithm that approximates the causal responsibility of events in the trace for predictions. This algorithm is implemented in the AC4PM tool (Actual Causality for Process Monitoring), which we compare with LIME and SHAP.

The framework of actual causality is different to type causality as introduced by Pearl [9], which deduces causal relationships between the variables based on the existing data, and is forward-looking, that is, used for prediction. In contrast, the study of actual causality is backward-looking (“what caused a certain event to happen?”), in alignment with our interest in this paper. The reader is referred to Sec. II-B for an overview of actual causality.

Counterfactual methods have been introduced to address concerns similar to those we consider in this paper [10]. These XAI methods aim to identify minimal changes to a process instance that would alter the prediction outcome, thereby providing actionable insights for process improvement. This gives practitioners access to 'what-if' examples which are intuitive to grasp. However, certain causal pathways can be particularly nuanced and existing counterfactual methods do not capture all of these. We consider four causal behaviors which counterfactuals do not fully capture: overdetermination, preemption, non-minimal counterfactuals and causally inconsistent counterfactuals.

Preemption occurs when a cause first produces an outcome, preventing another potential cause from achieving the same effect. As an example from medicine, consider a patient who receives a blood transfusion. They would die from hyperkalaemia but this is preempted in this case by first dying from an anaphylactic reaction (see Fig. 1). A counterfactual explanation might fail to capture that it is the anaphylactic reaction that caused the death, since if the patient had not had the reaction, they would still have died.

Figure

Fig. 1: Illustration of preemption. Blood transfusion (t) triggers an anaphylactic reaction (a) that causes death (d). Hyperkalaemia (high serum potassium) would also have caused death, but this alternative pathway was preempted by death from anaphylaxis.

Over-determination occurs when multiple independent causes exist, any of which on their own are sufficient to an outcome. Consider a patient in a road traffic accident: their catastrophic head injury would be sufficient to lead to death, but so too would a ruptured aorta (see Fig. 2). A counterfactual explanation might suggest that the two together led to death, without adequately capturing that each alone is sufficient to cause death. This differs from preemption in the temporal ordering of events: in preemption a preceding event brings about an outcome, preempting another event from occurring. In over-determination both sufficient independent events occur simultaneously.

Figure

Fig. 2: An example of over-determination. Road traffic accident causes both a catastrophic head injury (h) and a ruptured aorta (a). Either injury alone is sufficient to cause death (d), so the outcome is over-determined.

Causally inconsistent counterfactuals occur when a counterfactual is applied which successfully flips a predicted outcome, but violates the underlying causal structure (see Fig. 3). Improved counterfactual methods generally capture this dependence [11]. Non-minimal counterfactuals occur when changes are made which are not part of the cause. This successfully changes the outcome, but obfuscates the actual causal path that was followed (see Fig. 4).

Figure

Fig. 3: An example of a causally-inconsistent counterfactual (CF): a particular patient has multi-organ failure (m), which in this case causes cardiac arrest, which causes death (d). A counterfactual that sets c = 0, while leaving m unchanged, may flip the outcome prediction, but it violates the underlying causal structure because the cardiac arrest is itself caused by the organ failure.

Figure

Fig. 4: An example of a non-minimal counterfactual: a road-traffic accident (RTA) (r) causes both broken arm (a) and death (d). Clearly, a broken arm is insufficient to cause death. However, the counterfactual trace, ⟨r=0,a=0,d=0⟩\langle r = 0, a = 0, d = 0 \rangle, would not be able to discriminate between r and a as the actual cause.

Actual causality extends and generalizes counterfactual (but-for) causality by allowing structured counterfactual reasoning under contingencies in causal models. In this setting, an event A is considered an actual cause of B if, possibly under some contingency on other variables, B counterfactually depends on A. This framework can accurately capture both preemption and over-determination. Moreover, by restricting attention to plausible contingencies within the causal model, it avoids explanations that rely on inconsistent or unrealistic scenarios. Actual causality also allows reasoning about particular instances in the causal model, which helps address issues of non-minimal counterfactual explanations.

We evaluate AC4PM on 22 datasets derived from nine real-life event logs from a widely used predictive process monitoring benchmark. The datasets vary substantially in size and complexity, containing up to 130,000 traces, with trace lengths of up to 1,800 events and up to 400 distinct event types. We compare AC4PM against LIME and SHAP using established evaluation criteria for explainability, including consistency, succinctness, and computational efficiency. The results show that AC4PM produces explanations that are generally more stable and concise than those of the competing approaches, while remaining computationally practical across all evaluated benchmarks.

The paper structure is as follows. Sec. II introduces the necessary background on process mining and the framework of actual causality. Sec. III presents the proposed causal model for processes and discusses the design principles underly-ing it. Sec. IV describes our algorithm for approximating the causal responsibility of events in a trace with respect to the prediction of a process monitor. Sec. V details an experimental evaluation of the suggested approach on a range of PPM benchmarks, and compares it with state-of-the-art explanation methods. We review work related to this paper in Sec. VI and conclude in Sec. VII. The full evaluation results and code are available in the supplementary material at https://figshare.com/s/7d9602ca44991641c56a.

References (39)