Using Meta-learning to Recommend Process Discovery Methods

Sylvio Barbon Jr., Paolo Ceravolo, Ernesto Damiani, Gabriel Marques TavaresarXiv 2021

Abstract

In the field of Process Mining, selecting the optimal discovery algorithm for a specific event log remains a challenge, as no single method consistently outperforms others across all quality dimensions. This paper proposes a meta-learning (MtL) framework that automates this selection process. By extracting 93 lightweight features from event logs and training a Random Forest classifier, the system can predict the most suitable algorithm with up to 92% accuracy. The framework evaluates performance based on a weighted average of fitness, precision, generalization, simplicity, and discovery time.

Introduction

Process discovery algorithms are essential for converting raw event logs into visual process models. However, different algorithms offer varying trade-offs; for instance, the Inductive Miner guarantees high fitness but may produce complex models, while others might prioritize simplicity at the cost of capturing infrequent behaviors. Currently, selecting the right tool requires manual experimentation by experts. This research aims to automate this "expert intuition" by mapping event log characteristics to algorithm performance.

Methodology

The proposed Meta-learning pipeline consists of five integrated stages designed to move from raw data to a reliable recommendation:

  1. Meta-Feature Extraction: 93 descriptors are extracted, ranging from simple trace statistics to complex information-theory metrics like entropy.
  2. Meta-Target Definition: Multiple discovery algorithms (Alpha Miner, Heuristic Miner, and Inductive Miner variants) are executed on each log.
  3. Ranking: Algorithms are ranked using a weighted composite of quality metrics: Fitness, Precision, Generalization, Simplicity, and Discovery Time.
  4. Meta-Database Construction: Log features are paired with the "best" algorithm label to create a training dataset.
  5. Meta-Learner Training: A Random Forest classifier is trained to predict the optimal algorithm based on the extracted features.
Overview of the proposed Meta-learning (MtL) pipeline

Experimental Setup

The study utilized a comprehensive dataset of 1,091 event logs, encompassing both synthetic and real-world scenarios to ensure robust generalization:

  • Synthetic Logs: Included 192 logs from the Process Discovery Contest (PDC) 2020, 750 logs with "concept drift," and 140 logs with specific anomalies.
  • Real-life Logs: Featured datasets from Business Process Intelligence Challenges (BPIC), helpdesk logs, and medical (sepsis) data.
Summary of event log statistics used in the study

Key Insights and Results

The experimental results yielded several critical findings regarding the relationship between log features and algorithm performance:

  • The Power of Entropy: High-level descriptors, specifically entropy measures (e.g., Lempel-Ziv complexity), were the most influential features. These metrics capture the underlying structural logic of a process far more effectively than simple counts.
  • Limitations of Basic Statistics: Conversely, common metrics like total trace count or average trace length were among the least useful predictors.
  • Predictive Performance: The meta-model achieved 76% accuracy when choosing among five algorithms. When narrowed to the three most distinct classes (Alpha, Heuristic, and Inductive Miner), accuracy rose to 92% with an F-score of 0.91.
  • Algorithm Complementarity: The study confirmed that algorithms are highly complementary, often excelling in one dimension (e.g., precision) while failing in another (e.g., fitness).

Conclusion and Future Work

This research demonstrates that meta-learning is a viable approach for automating algorithm selection in process mining. Future work will focus on allowing users to customize metric weights (e.g., prioritizing simplicity), expanding the database with more diverse real-world logs, and extending the framework to other tasks like automated conformance checking.

Summary updated

BibTeX
@misc{jr2021using,
  author = {Sylvio Barbon Jr. and Paolo Ceravolo and Ernesto Damiani and Gabriel Marques Tavares},
  title = {{Using Meta-learning to Recommend Process Discovery Methods}},
  year = {2021},
  eprint = {2103.12874},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.12874},
}
Figure