Automatic Discovery of Multi-perspective Process Model using Reinforcement Learning

Sung-Hyun Sim, Ling Liu, Hyerim BaearXiv 2022 · DOI

Abstract

Process mining traditionally involves a manual, iterative cycle of model discovery and conformance checking, which becomes increasingly complex when analyzing multiple perspectives such as activities and resources. This paper introduces an automated framework that leverages Deep Q-Learning to discover high-quality multi-perspective process models. The core contribution is the Dual Experience Replay with Experience Distribution (DERED) algorithm, which balances successful and failed experiences while utilizing "experience distortion" to prevent overfitting. Evaluated on six real-world datasets, the DERED-based agent significantly outperforms standard reinforcement learning techniques in both model quality and convergence efficiency.

Introduction

Process mining typically requires a repetitive, manual cycle: discovering a model from event logs, checking its conformance, and then enhancing it. This process becomes exponentially more tedious when analyzing a process from multiple perspectives—for example, examining the sequence of activities alongside the handovers between different resources. Existing discovery algorithms, such as the Heuristic Miner or Inductive Miner, generally require users to manually select data columns and tune parameters. This paper aims to automate this "trial-and-error" loop by framing process discovery as a Reinforcement Learning (RL) problem.

Reinforcement Learning Framework

The authors propose an intelligent agent that learns to select the optimal data mappings and algorithm parameters to maximize model quality. The environment for this agent is structured as follows:

  • State: Represented by a dependency matrix derived from the Heuristic Miner, providing a mathematical snapshot of event relationships.
  • Action: A four-element tuple consisting of a dependency parameter for the discovery algorithm and the selection of three columns from the raw data to serve as the Case ID, Activity Label, and Resource Label.
  • Reward: Calculated based on the fitness value of the resulting process model, indicating how well the model describes the observed logs.
Overview of the RL environment for multi-perspective process model discovery.

By treating the dependency matrix as an input for a Convolutional Neural Network (CNN), the agent can identify patterns in process flows and learn which actions lead to structured, high-fitness models.

The DERED Approach

Standard Deep Q-Networks (DQN) often struggle with "sparse rewards," as it is difficult for an agent to find a high-quality process model by chance early in training. To address this, the authors developed Dual Experience Replay with Experience Distribution (DERED).

Dual Buffers

Instead of a single memory bank, the agent maintains two: one for "Success" (fitness > 0.7) and one for "Failure." During training, the system over-samples successes and under-samples failures to ensure the agent prioritizes learning from effective configurations.

Experience Distortion

To prevent the agent from memorizing specific configurations (overfitting), the algorithm randomly "distorts" a percentage of sampled experiences by replacing actions with random ones. This forces the agent to generalize better and maintain exploration throughout the training cycle.

The DERED mechanism featuring dual experience buffers and experience distortion.

Experimental Results

The approach was validated using six real-world event datasets spanning logistics, manufacturing, banking, and IT services. The DERED-based agent was compared against standard Experience Replay (ER) and Prioritized Experience Replay (PER).

  • Higher Quality: Models discovered by the DERED agent achieved fitness scores 1.7 to 3.1 times higher than those found using standard ER.
  • Faster Convergence: The DERED agent reached high-reward states significantly faster than both ER and PER across all datasets.
  • Multi-Perspective Automation: The system successfully automated the discovery of models that satisfied minimum fitness thresholds while simultaneously considering different data columns, proving its capability to handle complex mining tasks without human intervention.

Conclusion

This research demonstrates a significant leap in process mining automation. By utilizing RL and the novel DERED algorithm, the framework effectively navigates the massive search space of multi-perspective discovery. Future work may involve extending the framework to other discovery algorithms like Inductive Miner and incorporating additional metrics such as precision and simplicity into the reward function to further enhance model utility.

Summary updated

BibTeX
@misc{sim2022automatic,
  author = {Sung-Hyun Sim and Ling Liu and Hyerim Bae},
  title = {{Automatic Discovery of Multi-perspective Process Model using Reinforcement Learning}},
  year = {2022},
  eprint = {2211.16687},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.16687},
}
Figure