Introduction
In the dynamic landscape of data streams, "concept-drift" represents a significant challenge for predictive modeling. It occurs when the statistical properties of a target variable change over time, rendering previously accurate models obsolete. This phenomenon is particularly complex in Trace Clustering (TC) for business processes, where a "trace" consists of an interdependent sequence of asynchronous events (e.g., a customer's journey through a billing cycle). Traditional stream mining techniques often fail to capture these dependencies or result in "black box" models that lack interpretability. The Concept-Drift in Event Stream Framework (CDESF) addresses these gaps by providing an adaptive, human-interpretable system for real-time trace clustering and drift detection.
The CDESF Framework
The CDESF architecture integrates several novel components to manage the continuous flow of event data:
- Grace Period (GP): An initial observation phase used to build a reference model from the first set of arriving traces.
- Nyquist-Inspired Updates: Borrowing from signal processing, the framework applies the Nyquist sampling theorem to determine model update frequency. By setting the sampling rate to at least twice the highest observed data frequency, the system ensures updates are frequent enough to capture shifts without excessive computational cost.
- Dual-Metric Feature Space: Traces are characterized by two primary metrics: Edit Weighted Distance (EWD), which measures sequence similarity, and Time-Weighted Distance (TWD), which utilizes quartile-based binning to assess temporal patterns.
Detecting Drift via Sparsity
The framework maps traces into a 3D feature space defined by EWD, TWD, and Time. This spatial representation allows for a clear distinction between isolated anomalies and systemic concept-drift. While a single outlier falling far from existing clusters is flagged as an anomaly, a growing "clump" of such outliers indicates a shift in the underlying process behavior. This distinction is vital for security applications, allowing analysts to differentiate between a one-off error and a new type of coordinated attack.
Experimental Validation
The authors demonstrated the framework using the Hospital_Billing event log, a standard real-world dataset containing approximately 3,700 events. The CDESF successfully mapped these events into a 3D plot, providing a clear visual representation of how clusters evolve and shift as process behavior changes.
Key results indicate that the framework enables early intervention for unfinished process cases. By identifying anomalous patterns in real-time, fraudulent executions can be halted or migrated to secure environments before completion.
Discussion and Future Work
While CDESF offers a robust foundation for interpretable drift detection, several areas remain for future exploration. The current framework lacks extensive quantitative benchmarking against established algorithms like ADWIN or DDM. Furthermore, the computational overhead of maintaining high-velocity histograms and the sensitivity of the initial "Time Horizon" parameter require further study. Future work will focus on automating mitigation strategies, such as the autonomous rerouting of suspicious traces to secure "honeypot" environments.
Summary updated