Explainable Verification of Hierarchical Workflows Mined from Event Logs with Shapley Values
Radoslaw Klimek, Jakub Blazowski
TL;DR
This paper tackles explainability in mined hierarchical workflows by translating process trees into logical specifications and evaluating properties with automated theorem provers. It then augments this analysis with Shapley-value attribution to quantify each element's contribution to satisfiability, liveness, and safety. The authors introduce a pattern-based encoding of workflow operators into propositional temporal logic and two scalable Shapley-approximation methods, validating the approach on benchmark datasets to diagnose critical, redundant, and harmful nodes. The results demonstrate interpretable diagnostics that aid model simplification, compliance checks, and more informative process mining tools, bridging formal verification and explainable AI for software analytics and governance.
Abstract
Workflow mining discovers hierarchical process trees from event logs, but it remains unclear why such models satisfy or violate logical properties, or how individual elements contribute to overall behavior. We propose to translate mined workflows into logical specifications and analyze properties such as satisfiability, liveness, and safety with automated theorem provers. On this basis, we adapt Shapley values from cooperative game theory to attribute outcomes to workflow elements and quantify their contributions. Experiments on benchmark datasets show that this combination identifies critical nodes, reveals redundancies, and exposes harmful structures. This outlines a novel direction for explainable workflow analysis with direct relevance to software engineering practice, supporting compliance checks, process optimization, redundancy reduction, and the design of next-generation process mining tools.
