[Paper Review] Scalable Online Conformance Checking Using Incremental Prefix-Alignment Computation
This paper presents a scalable, distributed implementation of incremental prefix-alignment computation for online conformance checking using Apache Kafka, enabling exact deviation detection in real-time process streams. By introducing direct synchronization and prefix caching, the approach reduces computation time significantly—achieving up to 14x speedup—while maintaining low consumer lag, making real-time compliance monitoring practical for industrial systems.
Conformance checking techniques aim to collate observed process behavior with normative/modeled process models. The majority of existing approaches focuses on completed process executions, i.e., offline conformance checking. Recently, novel approaches have been designed to monitor ongoing processes, i.e., online conformance checking. Such techniques detect deviations of an ongoing process execution from a normative process model at the moment they occur. Thereby, countermeasures can be taken immediately to prevent a process deviation from causing further, undesired consequences. Most online approaches only allow to detect approximations of deviations. This causes the problem of falsely detected deviations, i.e., detected deviations that are actually no deviations. We have, therefore, recently introduced a novel approach to compute exact conformance checking results in an online environment. In this paper, we focus on the practical application and present a scalable, distributed implementation of the proposed online conformance checking approach. Moreover, we present two extensions to said approach to reduce its computational effort and its practical applicability. We evaluate our implementation using data sets capturing the execution of real processes.
Motivation & Objective
- Address the gap in practical, scalable online conformance checking that provides exact deviation detection without false positives.
- Enable real-time monitoring of process executions by processing event streams incrementally with minimal latency.
- Reduce computational overhead in online alignment computation to make exact conformance checking feasible in production environments.
- Design a distributed, fault-tolerant architecture using Apache Kafka to handle high-volume event streams from real-world processes.
- Improve performance through two novel extensions: direct synchronization and prefix caching, enhancing scalability and efficiency.
Proposed method
- Leverages Apache Kafka as a streaming platform to distribute and scale the online conformance checking pipeline across multiple nodes.
- Implements incremental prefix-alignment computation by extending the search space of a shortest path problem upon each new event, ensuring optimal alignment at each step.
- Introduces direct synchronization to avoid redundant path exploration by checking if the current event can be directly synchronized with the model without intermediate steps.
- Employs an in-process TinyLFU cache per Kafka broker node to store and reuse prefix alignments, reducing recomputation for frequently seen prefixes.
- Uses a distributed state management pattern where each process instance maintains its own search state, enabling independent processing and fault tolerance.
- Applies time-compression to real-life event logs to simulate high-velocity streams while preserving temporal semantics for evaluation.
Experimental results
Research questions
- RQ1Can incremental prefix-alignment computation be efficiently scaled in a distributed streaming environment for real-time process monitoring?
- RQ2How do direct synchronization and prefix caching impact the performance and scalability of online conformance checking?
- RQ3To what extent do the proposed extensions reduce computation time and consumer lag in processing real-world event streams?
- RQ4Is the combination of both extensions synergistic in improving performance across diverse real-life process logs?
- RQ5What is the practical feasibility of deploying exact online conformance checking in industrial systems with high-throughput event streams?
Key findings
- The DSC variant (with both direct synchronization and prefix caching) achieved a 14x speedup in average computation time per trace compared to the baseline PL version on the BPI Ch. 2020 log.
- Prefix caching reduced average computation time to 14ms per trace on the BPI Ch. 2020 log, compared to 1449ms in the plain version.
- Consumer lag was significantly reduced in the DSC variant, with only 0.01% of messages queued beyond 100ms, indicating low processing delay.
- The direct synchronization extension alone reduced average computation time by 80% on the BPI Ch. 2019 log, though it was less effective on BPI Ch. 2017 due to limited applicability.
- The two extensions exhibited synergistic effects on most logs, with DSC outperforming both individual extensions and the baseline across all tested datasets.
- The system successfully processed real-life event streams with up to 890 days of historical data compressed into 10 minutes of replay time, demonstrating scalability and real-time feasibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.