yeoun. Compliance Rule Mining for Cyber-Physical Systems
Back
Papers
The GM3xK cover: a twelve by twelve grid with red, green and yellow token cells joined by a dashed path, and the letters GM3xK across the middle. The GM3xK cover: a twelve by twelve grid with red, green and yellow token cells joined by a dashed path, and the letters GM3xK across the middle.

Overview · Papers

Compliance Rule Mining for Cyber-Physical Systems

Can declarative process mining capture the behavior of a process-based cyber-physical system? To find out, I designed and built a tabletop-RPG-inspired internet of things system and mined it.

Degree
M.Sc. Informatics · Technical University of Munich
Role
Author
Duration
Master's thesis · February to July 2026 · graded 1.0
Supervisors
Dr. Jürgen Mangler · Prof. Dr. Stefanie Rinderle-Ma

Abstract

Declarative process mining approaches appear to be promising candidates for compliance rule mining in an IoT environment. However, these approaches are under-researched in the domain of an IoT system, and it remains unclear how effectively they would capture their behaviors.

To examine this, a Process-Based Cyber-Physical System, Grid Master 3xK (GM3xK), was designed and implemented following the Design Science Research (DSR) methodology. The system integrates workflow execution, physical sensors, robotic actuators, software services, and human interaction within a single process-oriented architecture and produces event logs that can be used in compliance rule mining. Two declarative process mining algorithms, Declare Miner and base ParNek, were re-implemented and validated against their original implementations to achieve this.

The two algorithms and their reproductions were compared against ground truth sets based on the processes they mined to analyze which process structures they can capture.

  1. 01

    The quality of the process model determines the quality of the mining.

    The strongest predictor of useful compliance mining results was not the mining algorithm itself, but the quality of the process model and event logs being analyzed. Clear activity naming, consistent event granularity, and well-structured subprocesses significantly improved the accuracy and interpretability of mined constraints.

  2. 02

    Different mining approaches excel under different conditions.

    No single compliance mining algorithm performed best across every process. Some approaches handled loops and alternative paths well, while others struggled with parallel behavior or complex process structures.

  3. 03

    Preprocessing is often a requirement for compliance mining.

    Many mining techniques required event logs to be cleaned, transformed, or simplified before meaningful results could be produced. Activities such as loop abstraction, lifecycle filtering, and event consolidation proved just as important as the mining step itself.

  4. 04

    Workflow orchestration reduces mining complexity.

    Because the system was executed through a workflow engine, much of the information required for mining was already available in a structured form. This reduced the amount of preprocessing normally required and made the resulting compliance analysis more reliable.

  5. 05

    Compliance mining is constrained by what a miner can express.

    Mining algorithms can only discover patterns that are represented in their underlying constraint templates. If a behavioral rule cannot be expressed by a miner's modeling language, it cannot be discovered regardless of how complete the event log may be.

  6. 06

    Process design decisions influence analysis long before mining begins.

    Decisions made during system and process design directly affect what can be analyzed later. Naming conventions, event logging strategies, and process decomposition all shape the quality of compliance mining results.