Skip to main content
QUICK REVIEW

[Paper Review] Causal Process Mining from Relational Databases with Domain Knowledge

Philipp Waibel, Lukas Pfahlsberger|arXiv (Cornell University)|Feb 16, 2022
Business Process Modeling and AnalysisBusiness, Management and Accounting8 citations
TL;DR

This paper proposes Causal Process Mining (CPM), a novel approach that transforms relational database event data into Causal Event Graphs (CEGs) using domain knowledge from foreign key relationships, avoiding spurious relations common in traditional directly-follows graphs. The method reduces noise and improves model accuracy by modeling causal dependencies, demonstrated in a case study with a European food producer where CPM outperformed DFG-based methods in capturing valid process flows.

ABSTRACT

The plethora of algorithms in the research field of process mining builds on directly-follows relations. Even though various improvements have been made in the last decade, there are serious weaknesses of these relationships. Once events associated with different objects that relate with a cardinality of 1:N and N:M to each other, techniques based on directly-follows relations produce spurious relations, self-loops, and back-jumps. This is due to the fact that event sequence as described in classical event logs differs from event causation. In this paper, we address the research problem of representing the causal structure of process-related event data. To this end, we develop a new approach called Causal Process Mining. This approach renounces the use of flat event logs and considers relational databases of event data as an input. More specifically, we transform the relational data structures based on the Causal Process Template into what we call Causal Event Graph. We evaluate our approach and compare its outputs with techniques based on directly-follows relations in a case study with an European food production company. Our results demonstrate the benefits for enriching process mining with additional knowledge from the domain.

Motivation & Objective

  • Address the representational bias in traditional process mining that arises from using flat event logs and directly-follows relations, especially in 1:N and N:M cardinality scenarios.
  • Overcome the limitation of directly-follows graphs (DFGs) producing spurious relations, self-loops, and back-jumps when modeling processes with multiple interacting objects.
  • Integrate causal domain knowledge—particularly foreign key relationships—from relational databases into process mining to improve model fidelity.
  • Develop a new modeling paradigm, Causal Process Mining (CPM), that leverages relational data structures and causal templates to generate more accurate process models.
  • Demonstrate the effectiveness of CPM through a case study comparing it with DFG-based approaches in a real-world food production setting.

Proposed method

  • Transform relational database event data into a Causal Event Graph (CEG) using the Causal Process Template (CPT), which encodes domain-specific causal relationships from foreign key constraints.
  • Model process instances as object-centric traces, preserving relationships between events and their associated business objects, rather than flattening into single-case logs.
  • Construct Aggregated Causal Event Graphs (ACEGs) by grouping CEGs at different levels of abstraction, enabling multi-level process analysis.
  • Use graph databases to store and query CEGs and ACEGs, enabling efficient exploration of causal dependencies across process instances.
  • Apply causal inference principles from Pearl’s hierarchy to ensure that modeled relationships reflect actual causal dependencies, not just temporal sequences.
  • Validate the approach by comparing CPM outputs with DFG-based models using metrics like unexpected relationship ratios and temporal violation counts.

Experimental results

Research questions

  • RQ1To what extent does Causal Process Mining reduce spurious relationships compared to traditional directly-follows graph techniques in relational databases with complex object cardinalities?
  • RQ2How effectively can causal domain knowledge—specifically foreign key relationships—be leveraged to improve the accuracy of process models derived from relational event data?
  • RQ3Can Causal Process Mining produce more interpretable and precise process models than DFG-based approaches in real-world industrial scenarios?
  • RQ4How do different aggregation levels in Aggregated Causal Event Graphs (ACEGs) affect the clarity and fidelity of process models?
  • RQ5What is the impact of temporal consistency (e.g., temporal violations) on the quality of models generated by CPM versus DFG-based methods?

Key findings

  • CPM significantly reduces spurious relationships: in the case study, the ratio of unexpected to expected relationships dropped from 950.36% (DFG) to 0.00% (CPM) at the third aggregation level.
  • The Noreja approach (a DFG-based method) produced 427,634 unexpected relationships in the Prepare Order Delivery → Plan Order Item Picking transition, while CPM produced zero unexpected relationships.
  • In the CPM model, the ratio of relationships without temporal violations to those with violations was 100% for most transitions, indicating high temporal consistency.
  • The CPM approach eliminated 100% of the unexpected relationships in the Create Delivery Note → Generate Group Delivery Note transition, compared to 195,604.17% in the DFG-based Noreja method.
  • The number of temporal violations in CPM was drastically reduced—e.g., only 13 violations in the Create Delivery Note → Generate Group Delivery Note path, compared to 35,465 in the DFG-based method.
  • CPM produced models with 0% spurious relations in 8 out of 11 transitions, demonstrating superior precision and causal validity over DFG-based models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.