NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mining local process models

Niek Tax, Natalia Sidorova, Reinder Haakma, Wil M. P. van der AalstJ. Innov. Digit. Ecosyst 2016 · OpenReview

TL;DR

Traditional process mining struggles with highly unstructured event logs, while sequential pattern mining misses complex behaviors like concurrency and loops. This paper introduces a method to mine "Local Process Models" (LPMs)—frequent, localized behavioral patterns that capture complex routing logic without trying to model the entire start-to-end process. This allows analysts to extract actionable, structured insights from messy, real-world data where standard discovery techniques fail.

What Problem Does This Paper Address?

In process mining, the primary goal is often to discover a start-to-end model of a business process from event logs. However, real-world processes are frequently flexible, interleaved, or unstructured. When standard discovery algorithms (like the Inductive Miner) process this high-variance data, they output "flower models"—models that basically say "any activity can happen at any time." These provide zero actionable insight.

On the other end of the spectrum, data mining techniques like sequential pattern mining or episode mining excel at finding frequent local patterns. However, they are limited to strict sequences or partial orders. They cannot discover complex process constructs like exclusive choices (OR), concurrent executions (AND), or loops. The authors tackle this gap by discovering Local Process Models (LPMs): models that capture complex process routing, but only for frequent, localized subsets of activities rather than the entire process instance.

Methods

The authors propose an incremental, tree-based search algorithm to build and evaluate LPMs.

  • Representation: Patterns are represented as Process Trees, which guarantee sound (deadlock-free) models and support operators like sequence ($\rightarrow$), exclusive choice ($\times$), concurrency ($\wedge$), and loops ($\circlearrowleft$).
  • Search Strategy: The algorithm starts with elementary models (single activities). It iteratively evaluates them, selects the best candidates, and expands them by replacing a leaf node with an operator and a new activity.
  • Evaluation Metrics: Candidate models are scored on five dimensions: Support (frequency of the pattern), Confidence (ratio of events in the log that fit the pattern), Language Fit (precision; how much unobserved behavior the model allows), Determinism (predictive certainty), and Coverage (fraction of the total log explained).
  • Alignment-based Evaluation: To calculate these metrics, the authors use a clever trick with Petri net alignments. Standard alignments try to match a whole trace to a single start-to-end model execution. The authors add a silent "backloop" transition from the model's final marking back to its initial marking. This allows the alignment algorithm to find and evaluate multiple instances of a local pattern within a single, long event trace.
  • Pruning: To make the search computationally feasible, they leverage monotonicity. For example, expanding a pattern with a sequence operator will always decrease or maintain support (never increase it). This allows them to prune the search space heavily, akin to the classic Apriori algorithm.

Datasets

  • BPIC '12 (Business Process Intelligence Challenge 2012): A real-life event log from a global financial institution detailing loan/overdraft applications. The authors specifically isolated the highly variable daily behavior of a single employee (Resource 10939) to prove the method works on unstructured data.
  • Gazelle Dataset (KDD-CUP 2000): A classic web click-stream dataset heavily used for evaluating sequential pattern mining algorithms.

Key Insights and Ideas

  • Local over Global: By abandoning the requirement to model a trace from start to finish, you can find highly structured, deterministic "islands" of behavior in an otherwise chaotic sea of events.
  • N-ary Relations beat Binary: Declarative mining approaches (like the Declare Miner) find binary rules (e.g., "A is eventually followed by B"). LPMs discover complex n-ary relations (e.g., "A is followed by B and C in parallel, which is then followed by D"). This drastically reduces the noise of trivial or coincidental binary rules.
  • Formal Semantics Matter: Heuristic approaches (like the Fuzzy Miner) draw arrows between nodes but don't specify if branching means "AND" or "OR". LPMs use formal Process Tree semantics, telling the analyst exactly how the local process executes.
  • Upgrading Sequential Pattern Mining: By applying LPMs to the Gazelle dataset, the authors proved that classic sequence datasets actually contain frequent non-sequential patterns (like choices and concurrency) that older algorithms were mathematically blind to.

Key Results

  • On the BPIC '12 dataset, standard process discovery (Inductive Miner) yielded a useless 14-activity "flower model" due to the employee interleaving different tasks. The LPM approach successfully extracted five highly specific local models. For example, it found a pattern where O_SELECTED, O_CREATED, and O_SENT occurred in strict sequence with 99.2% support and 100% confidence—a long-term dependency completely hidden in the global flower model.
  • On the Gazelle click-stream dataset, the LPM miner found all the sequential patterns discovered by the baseline PrefixSpan algorithm (at a 10% support threshold). Additionally, it discovered frequent non-sequential patterns (involving concurrency and choice) that PrefixSpan cannot find.

Limitations and Future Work

  • Computational Complexity: The search space grows rapidly with the number of unique activities in the event log. The current exhaustive (though pruned) expansion method struggles with very large alphabets.
  • Future Search Optimization: The authors suggest using automatic projection (limiting the search to promising subsets of activities) or meta-heuristic search methods like simulated annealing to explore the search space more efficiently in the future.
  • Model Enhancements: They plan to enrich Local Process Models by incorporating data guards, time information, and resource constraints into the patterns.

Summary updated

BibTeX
@misc{tax2016mining,
  author = {Niek Tax and Natalia Sidorova and Reinder Haakma and Wil M. P. van der Aalst},
  title = {{Mining local process models}},
  year = {2016},
  eprint = {1606.06066},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1606.06066},
}
Figure