Abstract
Process discovery algorithms are essential for extracting business process models from event logs, yet their performance remains highly sensitive to the structural characteristics of the input data. Traditional evaluation methods often treat these algorithms as black boxes, failing to isolate how specific log properties—such as trace length or variant skewness—influence outcomes like fitness and precision. This paper introduces SHAining, a novel framework that leverages Shapley values to systematically quantify the impact of event log characteristics on algorithm performance. By analyzing over 22,000 synthetic logs, we reveal the specific vulnerabilities and strengths of popular discovery algorithms, providing a foundation for automated, data-driven algorithm selection.
Introduction
Process mining (PM) bridges the gap between data science and process management by automatically constructing process models from event logs generated by enterprise IT systems. While many process discovery (PD) algorithms exist, their performance is notoriously inconsistent across different domains. A highly structured manufacturing log presents vastly different challenges than a highly variable healthcare process log.
Currently, the PM community evaluates algorithms by benchmarking them against a fixed set of real-world logs. While useful for general assessment, this approach fails to explain why an algorithm succeeds or fails on a particular dataset. Because log characteristics (e.g., the number of unique activities and trace length variance) naturally co-occur and overlap, isolating their individual impacts is a significant challenge. SHAining addresses this by applying Explainable AI (XAI) principles to the data-generating process itself.
Methodology: The SHAining Framework
SHAining repurposes Shapley value analysis—a game-theoretic method typically used to explain individual model predictions—to explain algorithm performance over a broad data distribution. The framework follows a four-step pipeline:
- Feature Selection: The authors identify eight meta-features with low inter-correlation from the FEEED framework (e.g., activity counts, trace length kurtosis) to represent the structural dimensions of an event log.
- Controlled Event Log Generation: To avoid the entanglement of features found in real-world data, the framework uses the GEDI generative framework. This allows for the synthesis of logs that specifically match targeted feature configurations.
- Process Discovery and Evaluation: Three distinct PD algorithms—Inductive Miner (IND), Integer Linear Programming Miner (ILP), and Split Miner (SPM)—are applied to the generated logs. Their outputs are evaluated using standard metrics, including Fitness, Precision, F-score, Model Complexity, and Execution Time.
- Shapley Value Computation: SHAining calculates the functional Shapley value for each meta-feature. This attributes changes in evaluation metrics to specific log characteristics, providing a fair distribution of "influence" across all feature combinations.
Experimental Design
The study utilized over 22,000 synthetic event logs. This large-scale synthetic approach was necessary to achieve the controlled, combinatorial feature space required for rigorous Shapley value computation. By generating logs conditioned on specific meta-feature combinations, the researchers could observe how algorithms reacted to isolated changes in the data's structure.
Key Results and Analysis
Feasibility and Robustness
The experiments revealed a significant disparity in the practical feasibility of the three algorithms under resource constraints (5-minute timeout and 19GB RAM):
- Split Miner (SPM): Proved the most feasible, successfully mining 76% of the logs.
- ILP Miner: Succeeded on 59% of the logs.
- Inductive Miner (IND): Succeeded on only 39%, primarily due to timeouts on structurally complex logs. However, when it did succeed, IND demonstrated high robustness to noise.
Sensitivity to Log Characteristics
ILP proved to be 40% more sensitive to feature variations than IND. Specifically, high trace length kurtosis—where most traces are of similar length but a few extreme outliers exist—negatively correlates with precision for the ILP miner, often causing it to overgeneralize and produce overly simplistic models.
The Dominance of Holistic Features
Across all tested algorithms, holistic features were the most influential. The total number of activities (aq1) and the unevenness of process variant occurrences (svo) were the primary drivers of model quality and complexity. Interestingly, different algorithms exhibited disjoint vulnerabilities; for instance, IND struggled with logs containing a low number of starting activities, while ILP was more sensitive to high sequence entropy.
Discussion and Implications
The SHAining framework represents a meta-level shift for XAI in process mining. By applying Shapley values to data-generating parameters rather than fixed input features, researchers can understand how macro-level dataset properties influence downstream behavior.
These insights pave the way for "Smart Algorithm Libraries." By calculating a log's meta-features upfront, a system could automatically route the data to the algorithm least vulnerable to those specific characteristics, optimizing for both model quality and computational efficiency.
Limitations and Future Work
While SHAining provides a rigorous diagnostic tool, it is currently limited by the feature set provided by the FEEED framework and the potential biases of the GEDI log generator. Future research will focus on expanding the feature space and exploring computational optimizations to speed up the combinatorial Shapley pipeline. Additionally, the authors aim to validate these synthetic findings against diverse, real-world industrial logs to ensure the framework's generalizability.
Summary updated