Abstract
Object-centric process mining is a new paradigm with more realistic assumptions about underlying data by considering several case notions, e.g., an order handling process can be analyzed based on order, item, package, and route case notions. Including many case notions can result in a very complex model. To cope with such complexity, this paper introduces a new approach to cluster similar case notions based on Markov Directly-Follow Multigraph, which is an extended version of the well-known Directly-Follow Graph supported by many industrial and academic process mining tools. This graph is used to calculate a similarity matrix for discovering clusters of similar case notions based on a threshold. A threshold tuning algorithm is also defined to identify sets of different clusters that can be discovered based on different levels of similarity. Thus, the cluster discovery will not rely on merely analysts' assumptions. The approach is implemented and released as a part of a python library, called processmining, and it is evaluated through a Purchase to Pay (P2P) object-centric event log file.
Introduction
Traditional process mining techniques typically rely on a single case notion, such as a single order ID. However, modern business processes are inherently object-centric, where a single event may involve multiple entities—for instance, a "Pack Items" activity might involve one order, multiple items, and several shipping packages. While Object-Centric Process Mining (OCPM) captures this reality, the resulting visualizations, known as Directly-Follow Multigraphs (DFM), often suffer from extreme complexity. As the number of object types increases, these models become "spaghetti" diagrams that are difficult for analysts to interpret.
To address this, there is a need for "separation of concerns"—a method to identify and group object types that exhibit similar behavioral patterns. This allows for the creation of simplified sub-models that focus on meaningful interactions without losing the underlying complexity of the data.
Methodology
The proposed approach utilizes a three-step process to cluster object types based on their control-flow behavior:
1. Markov Directly-Follow Multigraph (MDFM)
The standard DFM tracks the frequency of transitions between activities for each object type. This research extends the DFM into a Markovian model by converting these frequencies into transition probabilities. This MDFM represents the likelihood of a process moving from one activity to another for a specific object type, providing a normalized behavioral signature.
2. Similarity Matrix Calculation
By comparing the transition probability matrices of different object types, a similarity score (ranging from 0 to 1) is calculated for every pair. High similarity scores indicate that two object types follow nearly identical paths through the process.
3. Threshold Tuning Algorithm
Clustering requires a similarity threshold to determine which objects belong together. Rather than relying on manual selection, the paper introduces an automated tuning algorithm. Using a half-interval search, it identifies all stable sets of clusters that emerge at different similarity levels, revealing the natural groupings within the event log.
Evaluation and Results
The method was evaluated using both a toy example and a real-world Purchase-to-Pay (P2P) dataset from an SAP ERP instance.
In the toy example, the algorithm successfully grouped "Item" and "Order" into one cluster and "Package" and "Route" into another, reflecting their distinct roles in the logistics process. In the P2P dataset, which contains over 24,000 events, the algorithm identified a high similarity (0.76) between Purchase Orders (EBELN) and Purchase Order Items (EBELN_EBELP).
Validation was performed using footprint analysis, a conformance checking technique. The results confirmed that object types within the same cluster produced process models with highly similar behavioral footprints, validating the Markov-based similarity measure as an accurate proxy for process behavior.
Conclusion
This research provides a systematic way to manage the complexity of object-centric process models. By clustering object types based on behavioral similarity, analysts can "flatten" complex logs into readable, focused models. Future work will explore incorporating additional dimensions such as time and data attributes into the similarity measure and integrating clustering directly into automated process discovery algorithms.
Summary updated