This paper, presented at the intersection of Process Mining (PM) and Machine Learning (ML), explores how to move beyond "black-box" predictions in business process modeling. The authors evaluate the predictive power of modern Transformers versus classical ML models across five real-world datasets, using eXplainable AI (XAI) to ensure the models are learning meaningful process regularities rather than just "cheating" via data leakage.
TL;DR
The researchers demonstrate that while Transformers and classical ML models can accurately predict process outcomes, they often rely on "trivial" signals that leak the final result. By removing these biases and applying XAI techniques like attention mapping and feature relevance, the authors show how to extract genuine, actionable insights into complex business workflows.
What Problem Does This Paper Address?
In modern business, "Process Mining" is used to turn event logs (data about who did what and when) into visual models of how a business actually functions. However, traditional methods struggle with high-dimensional data, while modern Machine Learning (ML) models—though powerful—are often "black boxes" that offer no explanation for their predictions.
Furthermore, the field of Predictive Process Monitoring (PPM) faces a reproducibility crisis. Many studies use inconsistent data splits or fail to account for "data leakage"—where a feature in the dataset (like a "payment received" event) essentially tells the model the outcome before it happens. This paper seeks to establish a rigorous framework for evaluating these models and making their "reasoning" transparent.
Methods
The authors compare two distinct approaches to modeling process data:
- Classical ML: They used Logistic Regression (LR), Decision Trees (DT), Random Forests, and Gradient Boosting. To feed sequence data into these models, they used n-gram encoding (unigrams, bigrams, and trigrams), which represents the occurrence of single events or sequences of two/three events.
- Modern Deep Learning: They implemented a Transformer architecture. Unlike n-grams, Transformers use vector embeddings and multi-head attention to capture long-range dependencies and the full sequential order of events.
To make these models explainable, they employed:
- LASSO (L1 Regularization) for Logistic Regression to identify key features.
- Mean Decrease in Impurity (MDI) and Permutation Importance for Decision Trees.
- Attention Maps for Transformers to visualize which events in a trace the model "focused" on when making a prediction.
Datasets
The study utilizes five diverse, real-world benchmark datasets from the process mining community:
- BPIC 2017: Loan application process from a Dutch financial institute.
- BPIC 2018: Agricultural grant applications in the EU.
- Traffic Fine Management: An Italian system for managing road fines.
- COVID: ICU patient data (tracking outcomes like "discharge alive" vs. "dead").
- Hospital Billing: Medical service billing traces from a regional hospital.
Key Insights and Ideas
- The "Trivial Signal" Trap: The authors found that several datasets contained "biased features" that directly encoded the label. For example, in the COVID dataset, the event "Discharge dead" makes predicting the outcome trivial. The paper argues that these must be removed to see if a model can actually learn the underlying process logic.
- Sequence vs. Frequency: 1-gram models (which only look at event frequency) performed significantly worse than 2-gram, 3-gram, and Transformer models. This proves that the order and relationship between events are the true drivers of process outcomes.
- Cross-Model Consensus: Interestingly, the XAI components showed that different models (LR, DT, and Transformers) often agreed on which events were most important. For instance, in the BPIC17 dataset, all models identified the "A_Validating" event as a crucial predictor for an "undesirable" outcome.
- Transformers for Process Mining: Transformers proved particularly adept at capturing relations between events and outperformed other models on datasets where the sequence order was highly complex (like the Traffic and COVID sets).
Key Results
- Predictive Accuracy: When biased features were removed, the Transformer model remained highly effective, achieving an AUROC of 97.3% on BPIC17 and 98.6% on BPIC18.
- Impact of Leakage: In the Traffic dataset, removing biased features caused a massive drop in performance for classical models (from ~93% to ~36-52% AUROC), while the Transformer maintained a more robust (though lower) score of ~53.5%, highlighting the difficulty of the task once "cheating" is disallowed.
- XAI Utility: The attention mechanisms successfully highlighted specific "bottleneck" events in traces, providing a "global" explanation of the process that managers could use to improve workflows.
Limitations and Future Work
The authors acknowledge a few areas for growth:
- Feature Scope: The current study primarily uses event names. Future work could incorporate additional attributes like timestamps (to model delays) or resource IDs (to see if specific employees affect outcomes).
- Task Variety: The paper focuses on binary classification (e.g., will this process succeed or fail?). The authors suggest extending this to multi-class problems or regression tasks, such as predicting the "remaining time" of a process.
- Architecture Exploration: While the Transformer performed well, the authors suggest that further tuning of model architectures and encoding schemes could yield even deeper insights into feature relevance.
Summary updated