Abstract
Automatically discovering a process model from an event log is the prime problem in process mining. This task is so far approached as an unsupervised learning problem through graph synthesis algorithms. Algorithmic design decisions and heuristics allow for efficiently finding models in a reduced search space. However, design decisions and heuristics are derived from assumptions about how a given behavioral description - an event log - translates into a process model and were not learned from actual models which introduce biases in the solutions. In this paper, we explore the problem of supervised learning of a process discovery technique D. We introduce a technique for training an ML-based model D using graph convolutional neural networks; D translates a given input event log into a sound Petri net. We show that training D on synthetically generated pairs of input logs and output models allows D to translate previously unseen synthetic and several real-life event logs into sound, arbitrarily structured models of comparable accuracy and simplicity as existing state of the art techniques for discovering imperative process models. We analyze the limitations of the proposed technique and outline alleys for future work.
Introduction
Automated Process Discovery (APD) is a foundational task in process mining, aimed at generating process models, such as Petri nets, from digital event logs. Traditionally, APD has been treated as an unsupervised learning problem. Existing algorithms like the Inductive Miner or Split Miner rely on hard-coded heuristics and predefined representational biases to navigate the search space. However, these fixed heuristics often fail to generalize across diverse datasets, sometimes producing overly complex models or missing critical behaviors.
This research proposes a paradigm shift: treating APD as a supervised learning problem. By leveraging Graph Neural Networks (GNNs), we can train a model to learn the "art" of process modeling from thousands of examples, effectively emulating the logic human modelers use when translating behavioral logs into structured models.
Methodology
The proposed framework utilizes a sequential decision-making approach to build a Petri net place by place. The input event log is first converted into a heterogeneous graph structure that aligns traces with a candidate Petri net template.
The discovery pipeline consists of several specialized neural components:
- Propagation Network 1 (PN1): Employs an attention mechanism to propagate behavioral information from the event log nodes to candidate place nodes.
- Select Candidate Network: A classifier that evaluates the updated node embeddings to determine which candidate place should be included in the model.
- Propagation Network 2 (PN2): Updates the global graph state after each selection, ensuring the model maintains context of the partially constructed net.
- Stop Network: Determines the completion of the discovery process.
To ensure the structural integrity of the output, the system incorporates S-coverability checks to prune the search space and maintain soundness. Beam search is utilized during inference to explore multiple high-probability modeling paths, avoiding the pitfalls of purely greedy selection.
Results and Discussion
The model was trained on a synthetic dataset of over 2,000 block-structured process models and evaluated on both synthetic test sets and real-world data from the BPI Challenge.
A key finding is the model's ability to balance accuracy and simplicity. On real-life datasets, the GNN approach consistently produced models with higher simplicity (fewer nodes and arcs) than traditional miners while remaining competitive in terms of F-score (fitness and precision).
Notably, the model demonstrated strong generalization capabilities. Despite being trained primarily on block-structured data, it successfully identified complex, unstructured patterns in real-world logs, such as the intricate loops found in road traffic fine datasets. On synthetic tests, the model achieved sound, valid models in approximately 65% of cases, often matching the ground truth's F-score.
Conclusion
This work demonstrates the feasibility of supervised process discovery using GNNs. By learning representational biases from data rather than relying on fixed heuristics, the model produces simple yet accurate process models. Future research will focus on improving scalability for larger activity sets through advanced label encoding and strengthening soundness guarantees to ensure 100% deadlock-free outputs across all discovery scenarios.
Summary updated