Efficient Online Computation of Business Process State From Trace Prefixes via N-Gram Indexing
This paper addresses the following problem: Given a process model and an event log containing trace prefixes of ongoing cases of a process, map each case to its corresponding state (i.e., marking) in the model. This state computation operation is a building block of other process mining operations, such as log animation and short-term simulation. An approach to this state computation problem is to perform a token-based replay of each trace prefix against the model. However, when a trace prefix does not strictly follow the behavior of the model, token replay may produce a state that is not reachable from the initial state of the process. An alternative approach is to first compute an alignment between the trace prefix of each ongoing case and the model, and then replay the aligned trace prefix. However, (prefix-)alignment is computationally expensive. This paper proposes a method that, given a trace prefix of an ongoing case, computes its state in constant time on the length of the trace using an index that represents states as <inline-formula><tex-math notation="LaTeX">$n$</tex-math></inline-formula>-grams. An empirical evaluation shows that the proposed approach has an accuracy comparable to that of the prefix-alignment approach, while achieving a throughput of hundreds of thousands of traces per second.
Authors
- David Chapela-Campa (ORCID: https://orcid.org/0000-0002-4711-9653)
- Marlon Dumas (ORCID: https://orcid.org/0000-0002-9247-7476)
Institutions
- University of Tartu (EE)
Publication Details
- Journal
- IEEE Transactions on Services Computing
- Published
- 2025-03-01
- DOI
- https://doi.org/10.1109/tsc.2025.3547235
- Citations
- 1
- Primary Topic
- Business Process Modeling and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 2.28