Introduction
In the field of Process Mining, event logs are typically used to discover, monitor, and improve real-world business processes. However, a significant limitation of traditional techniques is the assumption of a steady state. Most tools assume that the process captured at the beginning of a log remains identical throughout its duration.
In reality, business processes are dynamic, evolving due to seasonal shifts, new regulations, or organizational changes. When a process changes mid-log—a phenomenon known as concept drift—standard mining algorithms often produce "spaghetti models" that attempt to merge distinct versions of reality into a single, confusing diagram. This paper introduces a framework to detect when a process changed (Change Point Detection) and where in the workflow the change occurred (Change Localization).
Defining Concept Drift
Concept drift can manifest in various forms, ranging from sudden shifts to gradual transitions. Understanding these patterns is crucial for selecting the right detection strategy.
The framework focuses on identifying these shifts by analyzing "causal footprints"—the relationships between activities within the process.
Methodology: Feature Extraction and Statistical Monitoring
The proposed approach breaks down the process into activity relationship features and monitors them over time using a multi-step pipeline:
- Feature Extraction: The authors define several features to characterize the process:
- Global Features: Relation Type Count (RC) and Relation Entropy (RE) categorize relationships (e.g., "Always," "Sometimes," or "Never" following).
- Local Features: Window Count (WC) and the J-measure (an information-theoretic metric) track the frequency and statistical likelihood of activity pairs appearing near each other.
- Moving Window Analysis: The event log is treated as a time series of traces. A moving window compares a population of "recent" traces to a population of "older" traces to identify deviations.
- Statistical Hypothesis Testing: To determine if a change is statistically significant, the framework employs:
- Hotelling $T^2$ test: For multivariate data (checking multiple features simultaneously).
- Kolmogorov-Smirnov (KS) test: For univariate data (checking a single feature, such as a specific activity pair).
A significant drop in the "p-value" from these tests signals a concept drift, appearing as a "trough" in the analysis plots.
Experimental Evaluation
The approach was evaluated using a synthetic dataset mimicking a travel agency's insurance claim process. The log contained 6,000 traces across five distinct process variants ($M_1$ through $M_5$), each consisting of 1,200 traces. The variations included structural changes like switching from parallel tasks to a "knockout" sequence or changing an "OR" join to an "XOR" join.
Key Results
- Detection Accuracy: Using the Hotelling $T^2$ test on Relation Type Counts, the system identified 3 out of 4 change points.
- Superiority of J-measure: By employing the J-measure with a KS-test, the system successfully detected all 4 change points (at trace indices 1200, 2400, 3600, and 4800).
- Localization Success: The authors demonstrated the ability to isolate changes to specific regions of the process (e.g., the "High Insurance Check" sub-process) by monitoring the Window Count of specific activity pairs.
Insights and Future Work
A key finding was that simple structural logic (RC features) is often insufficient. For instance, the transition between $M_2$ and $M_3$ was invisible to RC features because the structure remained the same while the probabilities changed. The J-measure was essential here as it accounts for statistical likelihood.
Furthermore, localization provides a diagnostic advantage, allowing analysts to pinpoint modified workflow segments without re-mining the entire model.
Limitations
While effective for sudden drifts, the current framework faces challenges with gradual drifts where versions coexist. Additionally, computational complexity grows quadratically with the number of unique activities, potentially impacting performance on massive enterprise logs. Future work aims to address drifts in data and resource perspectives, as well as automating the selection of optimal window sizes.
Summary updated