Introduction
Entropia is an open-source command-line tool that applies the mathematical rigor of information theory to "conformance checking" in process mining. By using entropy-based measures, it allows researchers and analysts to precisely quantify how well a process model matches real-world event logs, covering both traditional and probabilistic (stochastic) behaviors.
The Challenge of Conformance Checking
In process mining, "conformance checking" involves comparing a normative model (the intended process) with an event log (the actual execution). Traditionally, this is measured across four dimensions: fitness, precision, generalization, and simplicity.
However, many existing metrics lack a unified theoretical foundation. This makes it difficult to compare results across different tools or to handle complex scenarios, such as models with infinite execution paths or those incorporating probabilities (e.g., "Step A leads to Step B 80% of the time"). Entropia addresses this by providing a tool grounded in Information Theory, specifically using entropy to measure the "magnitude" of behavior.
Methodology: Entropy as a Measure of Magnitude
The core innovation of Entropia is the use of topological and probabilistic entropy to quantify behavior. Instead of simply counting traces—which is impossible for models with loops—the tool calculates the entropy of the "language" defined by the model and the log.
Entropia defines precision and recall as quotients of these magnitudes:
- Precision: The ratio of the magnitude of shared behavior to the magnitude of the model's behavior.
- Recall: The ratio of shared behavior to the log's behavior.
The Entropia Toolset
Implemented as a Java-based command-line interface (CLI), Entropia offers several specific entropy-based algorithms, including exact matching, partial matching for "fuzzy" data, and entropic relevance (measuring compression cost in bits).
To account for the frequency and probability of different paths, the tool utilizes Stochastic Deterministic Finite Automata (SDFA). This allows Entropia to identify discrepancies not just in what is possible, but in what is likely.
Key Insights and Results
- Quantifying the Infinite: Entropy allows for a finite "size" assignment to models with infinite traces.
- Sensitivity Tuning: Users can specify "slack" (maximum skipped actions) during partial matching to handle real-world noise.
- Performance: While some measures are computationally intensive, others like entropic relevance scale linearly with log size, ensuring practicality for large-scale data.
In demonstration tests, Entropia calculated an Exact Matching Precision of 0.776, which increased to 0.833 with controlled partial matching. Entropic Relevance was measured at 11.368 bits, providing a concrete information-theoretic cost for describing the log via the model.
Future Directions
The authors plan to extend Entropia to include simplicity measures, using entropy to quantify how easily a human can understand a model based on log data.
Summary updated