Probabilistic workflow mining

Ricardo Bezerra de Andrade e Silva, Jiji Zhang, James G. Shanahan

Introduction

Workflow mining is the automated discovery of business process models from event logs. As organizations increasingly digitize their operations—from manufacturing to insurance claims—the ability to reconstruct "ground truth" models from raw data becomes critical. This research establishes a rigorous mathematical foundation for this task, introducing a probabilistic framework and a polynomial-time algorithm capable of reconstructing complex process structures, including parallel and mutually exclusive tasks, even when some control steps are not explicitly recorded.

Problem Statement

Real-world business processes are rarely simple linear sequences. They are characterized by complex control flows, including:

  • Parallelism (AND-splits): Tasks that can execute concurrently.
  • Mutual Exclusivity (OR-splits): Decision points where only one path is chosen.
  • Hidden Steps: Latent control points (e.g., managerial decisions) that dictate flow but are not explicitly logged.
  • Noise: Logging errors or stochastic delays that can obscure true causal relationships.

Existing heuristic methods often struggle to distinguish between true causality and coincidental temporal ordering. This research addresses these challenges by applying statistical independence tests within a formal graph-based model.

Probabilistic AO Graphs and Methods

The authors represent workflows as AND/OR Graphs (AO graphs), a specialized class of Directed Acyclic Graphs (DAGs). To ensure tractability, the model incorporates Backward Determinism, assuming a task cannot occur unless at least one prerequisite has been met.

An example of a workflow structure with inferred nodes and complex control flow.

The proposed algorithm, LearnOrderedWorkflow, utilizes two primary "oracles":

  1. Ordering Oracle: Leverages timestamps to establish a likely sequence of events.
  2. Independence Oracle: Employs statistical tests (such as $\chi^2$) to determine conditional independence between tasks. This is the "secret sauce" for identifying parallel threads; if two tasks are independent given a common ancestor, they are likely parallel rather than sequential.

The algorithm operates iteratively, identifying root tasks and their descendants. It uses specialized sub-routines to insert latent nodes where the data implies a control point must exist, even if unobserved. Furthermore, a "synchronization property" is enforced, requiring parallel threads to eventually merge, reflecting standard business process design.

Experimental Evaluation

The framework was evaluated using a simulated study based on the real-world workflow of the Clairvoyance Corporation, derived from actual email logs. The model consisted of 15 observable tasks and 2 hidden control nodes.

The Clairvoyance Corporation workflow used for experimental evaluation, featuring 15 observable tasks and hidden control points.

Testing with synthetic logs of varying sizes (100 to 500 instances) demonstrated the algorithm's robustness. With 500 instances, the algorithm achieved perfect reconstruction of the 17-node workflow in every trial. Performance degraded gracefully with smaller datasets, occasionally resulting in minor edge omissions (treating sequential tasks as parallel) or commissions (the reverse).

Conclusion

This work demonstrates that complex business processes can be reconstructed with polynomial efficiency ($O(N^3)$) by leveraging the structural constraints of AO graphs. While currently limited to acyclic processes, the probabilistic approach provides a significant advancement over deterministic methods, particularly in handling noise and hidden variables. Future work aims to extend this framework to support cyclic processes and Bayesian priors for low-data environments.

Summary updated

BibTeX
@inproceedings{silva2005probabilistic,
  author = {Ricardo Bezerra de Andrade e Silva and Jiji Zhang and James G. Shanahan},
  title = {{Probabilistic workflow mining}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2005},
  doi = {10.1145/1081870.1081903},
}
Figure