- Introduced by
- Wil van der Aalst
- Year
- 2016
- Type
- Data-driven process analysis technique
- Family
- Process analytics
What does it do?
Process Mining is a data-driven discipline that derives knowledge about real processes from event logs recorded by information systems.
Wil van der Aalst is the figure most associated with the field: the 2004 workflow-mining paper with Ton Weijters and Laura Măruşter presented the Alpha algorithm for discovering process models from logs, and van der Aalst's book Process Mining: Data Science in Action (2nd ed., 2016) gives a book-length treatment. The technique supports discovering how processes execute, checking whether execution conforms to a model, and analysing performance from timestamps.
The intuition behind the method
Imagine reconstructing how patients actually move through a hospital by reading every door-access and appointment record, rather than asking staff to describe the intended procedure. Process mining does exactly this for any information system: it reads the digital footprints (event logs) left by cases moving through activities, then assembles those footprints into a map of the real process — revealing shortcuts, loops, and delays that no flowchart or interview would have captured.
History
Process mining grew out of workflow mining. In their 2004 IEEE TKDE paper, van der Aalst, Weijters and Măruşter presented the Alpha algorithm for extracting a Petri net process model from a workflow log. They also showed that not all workflow processes can be discovered, and that the Alpha algorithm can successfully mine any workflow represented by an SWF-net. Van der Aalst's Process Mining: Data Science in Action, in its second edition (2016), treats the field as a whole.
When to use it
Choose process mining when an information system records events with at least a case identifier, an activity name and a timestamp, and the question concerns how the process actually runs. It fits compliance auditing against a known procedure, inefficiency analysis in ERP or workflow systems, and comparison of intended with actual execution. It assumes that events are reliably timestamped and that the log covers the behaviour of interest. Avoid it for unstructured or ad hoc work whose activities are rarely recorded, because the log would then describe little of the process. For forward-looking questions, simulation is the alternative; manual process mapping does not depend on logs but relies on subjective description of the process.
Limitations and considerations
- Dependence on log quality: a missing case identifier or unreliable timestamp breaks the triple in the extraction step, and noisy logs produce misleading models.
- Privacy: event logs often contain personal or business data, so access and retention need governance before extraction.
- Model complexity: real logs often yield large models with many variants, which are hard to read without filtering.
- Snapshot of one period: the log reflects only the period it covers, so change in the process over time is not captured without longitudinal or concept-drift analysis.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Derived from logged behaviour: the discovered model reflects what the system recorded, so it does not depend on interviews or self-reported process descriptions.
- Timestamps are used directly: the performance formula averages gaps between activity pairs across case instances, so time analysis needs no separate modelling step.
- Several perspectives from one log: control flow and time, and resource or cost attributes where they are recorded, can be read from the same events.
- Shared vocabulary: the same log can be read by database staff who extract it and by process owners who act on the results.
Applications
- Healthcare pathway analysis: reconstructing actual patient care trajectories from hospital information systems to identify care deviations.
- Financial compliance auditing: verifying that loan origination or claims-handling processes conform to regulatory procedures.
- Supply chain visibility: mapping order-to-delivery processes across ERP systems to locate delay hotspots.
- Software development workflows: analyzing issue-tracking logs to understand how tickets flow through development and testing stages.
- Higher-education administration: tracing student enrollment and course-completion processes to identify dropout risk points.
How it works
How it works
Each event is recorded as a triple of case identifier c, activity label a and timestamp t, so the log L is a set of such triples. The case identifier groups the events that belong to one process instance, such as one patient visit or one purchase order; without it, events cannot be ordered into traces. Before mining, duplicates, missing timestamps and raw system codes are typically cleaned and mapped to meaningful activity names.
Formula
L = \{(c, a, t) \mid c \in C, a \in A, t \in T\}The discovery step searches a space of candidate models M for one that fits the log L, as scored by the function f in the formula. The Alpha algorithm, analysed in the 2004 paper, extracts a process model from a workflow log and represents it as a Petri net. The same paper shows that not all workflow processes can be discovered: the Alpha algorithm can successfully mine any workflow represented by an SWF-net, and that class defines the processes it handles. Other discovery algorithms use different model notations and make different assumptions, so their properties should be checked in their original publications before one is chosen.
Formula
\hat{M} = \underset{M \in \mathcal{M}}{\arg\max}\; f(M, L)The discovered or normative model M is replayed against the log L. In token-based replay, each event is replayed on the model; tokens that are needed but absent are counted as missing, and tokens left over when the replay ends are counted as remaining. These counts identify deviations, meaning activities that the model does not permit or required activities that were skipped. The ratio shown in the formula is a simplified illustration of how deviations reduce a fitness score, where 1 indicates no deviations; it is not the full replay-based definition. Alignment-based methods, which match each trace to the closest path in the model, are an alternative. Fitness alone does not penalise a model that is too permissive, so precision, which measures how much behaviour the model allows beyond what the log contains, and generalization, which asks whether the model still fits behaviour not yet seen in the log, must be checked alongside it.
Formula
\text{fitness}(L, M) = 1 - \frac{|\text{deviations}(L, M)|}{|L|}Timestamps annotate the discovered model with time-based metrics. For each consecutive activity pair (a_i, a_j), the formula averages the time between them over all case instances P_ij in which they occur. Long average gaps point to candidate bottlenecks and unusually slow transitions.
Formula
\bar{d}(a_i, a_j) = \frac{1}{|P_{ij}|} \sum_{p \in P_{ij}} (t_{a_j}^p - t_{a_i}^p)Common pitfalls
- Treating the discovered model as ground truth without checking fitness, precision and generalization together.
- Discarding low-frequency traces as noise when they may be exception paths the process relies on.
- Running discovery without knowing its assumptions: the 2004 paper analyses the Alpha algorithm for a restricted class of workflow nets (SWF-nets), and applying it to logs generated by processes outside that class can give unreliable models.
- Reading a high fitness score as process quality: a process can conform perfectly to a poor normative model.
Frequently asked questions
What is the minimum data required to apply process mining?
An event log must contain at least three attributes per event: a case identifier (grouping events belonging to the same instance), an activity label (what happened), and a timestamp (when it happened). Additional attributes such as resource, cost, or outcome enrich the analysis but are not mandatory. The log is typically exported from ERP, BPM, or healthcare information systems.
How does process mining differ from business process modeling?
Business process modeling creates normative or as-designed models based on stakeholder knowledge and intentions, typically using BPMN or UML. Process mining, by contrast, derives descriptive models from observed system data, revealing how processes actually execute. The two are complementary: process mining can validate or improve manually created models through conformance checking.
Which discovery algorithm should I choose?
The choice depends on the log and on the model notation required. The Alpha algorithm, analysed in the 2004 paper, can mine any workflow represented by an SWF-net, but not arbitrary workflow processes, so a log that falls outside that class may yield an incorrect model. Other discovery algorithms, such as the Heuristics Miner and the Inductive Miner, use different model notations and assumptions; check their original publications for their properties. Mining the same log with two algorithms and comparing the results is a practical check.
Related methods
Sources
van der Aalst, W. M. P. (2016). Process Mining: Data Science in Action (2nd ed.). Springer.
ISBN: 978-3-662-49850-7van der Aalst, W., Weijters, T., & Maruster, L. (2004). Workflow mining: Discovering process models from event logs. IEEE Transactions on Knowledge and Data Engineering, 16(9), 1128–1142.
Open DOI reference