Discovering more precise process models from event logs by filtering out chaotic activities

Niek Tax, Natalia Sidorova, Wil M. P. van der Aalst · DOI

Abstract

Process discovery often fails when "chaotic activities"—events that occur randomly regardless of the process state—clutter event logs. This paper introduces entropy-based filtering techniques that identify and remove these activities, producing process models that are significantly more precise and readable than those created using traditional frequency-based filtering.

The Problem: Chaotic Activities in Process Mining

In the field of process mining, researchers use event logs (data from systems like ERPs or smart homes) to automatically "discover" a process model, such as a Petri net. However, real-world logs are often "noisy." Specifically, they contain chaotic activities: events that are independent of the process state and can happen at almost any time (e.g., a customer calling a help desk during a loan application, or a person in a smart home using the bathroom).

A clean process model (b) and its corresponding event sequences (a).

The current standard for cleaning logs is to filter out infrequent activities. The authors argue this is insufficient because chaotic activities can be very frequent. When these activities remain in the log, they break the "directly-follows" relationships that discovery algorithms rely on, resulting in "spaghetti models" or overly generalized models that allow for almost any behavior, making them useless for analysis.

The introduction of chaotic activity 'X' into event sequences (a) results in a highly complex and unreadable 'spaghetti' model (b).

Proposed Entropy-Based Filtering Methods

The authors propose four novel filtering techniques based on information theory and Bayesian statistics designed to be "discovery algorithm agnostic":

  1. Direct Entropy-based Filtering: This measures the entropy of the activities that immediately precede and follow a specific activity. If an activity is followed by many different types of activities with similar probabilities, it has high entropy and is likely chaotic.
  2. Indirect Entropy-based Filtering: This calculates the total entropy of the entire event log and measures how much that total entropy drops if a specific activity is removed.
  3. Laplace Smoothing: To prevent infrequent activities from appearing artificially "ordered" due to small sample sizes, the authors apply Laplace smoothing to the entropy calculations.
  4. Greedy Iteration: The filters work by iteratively identifying and removing the most chaotic activity until only a core process remains.

Evaluation and Key Insights

The study used a robust mix of 17 logs, including synthetic models (Maruster A12/A22), real-life business logs (BPI Challenge, SEPSIS), and human behavior logs from smart homes.

Frequency vs. Structural Importance

A key insight is that frequency does not equal importance. In smart home data, "use toilet" is a frequent activity but is almost entirely state-independent. Frequency filters keep it, cluttering the model; entropy filters identify its lack of structural position and remove it. By removing a chaotic activity $X$ that sits between $A$ and $C$, the algorithm can finally "see" the underlying $A \rightarrow C$ relationship.

Key Results

  • Superiority over Frequency Filtering: In synthetic tests, entropy-based filters perfectly identified chaotic activities in scenarios where frequency-based filters failed entirely.
  • Better F-Scores: On real-world datasets, the entropy-based methods consistently produced models with higher F-scores (the harmonic mean of fitness and precision).
  • The "Winning Number": The Indirect Entropy filter (with or without Laplace smoothing) emerged as the most consistent top performer across all 17 logs.

Limitations and Future Work

Performance remains highly dependent on the specific characteristics of the data. The authors suggest these filters should be implemented as "toggles" or sliders in visual discovery tools, allowing human analysts to override the algorithm when a chaotic activity is semantically important. Future research may involve using supervised learning to create hybrid filters that automatically choose the best technique based on a log's profile.

Summary updated

BibTeX
@article{tax2019discovering,
  author = {Niek Tax and Natalia Sidorova and Wil M. P. van der Aalst},
  title = {{Discovering more precise process models from event logs by filtering out chaotic activities}},
  journal = {J. Intell. Inf. Syst.},
  year = {2019},
  doi = {10.1007/s10844-018-0507-6},
}
Figure