[Paper Review] LTLf and LDLf Monitoring: A Technical Report
This paper proposes a declarative framework for runtime monitoring of business processes using LTLf and LDLf, enabling direct specification and checking of both constraints and metaconstraints—such as compensation rules—that depend on the monitoring state of other constraints. It introduces a direct translation of LDLf formulas into nondeterministic finite automata (NFAs), avoiding detours to Büchi or alternating automata, and implements the approach as a ProM plugin for real-time compliance checking with formal underpinnings.
Runtime monitoring is one of the central tasks to provide operational decision support to running business processes, and check on-the-fly whether they comply with constraints and rules. We study runtime monitoring of properties expressed in LTL on finite traces (LTLf) and in its extension LDLf. LDLf is a powerful logic that captures all monadic second order logic on finite traces, which is obtained by combining regular expressions and LTLf, adopting the syntax of propositional dynamic logic (PDL). Interestingly, in spite of its greater expressivity, LDLf has exactly the same computational complexity of LTLf. We show that LDLf is able to capture, in the logic itself, not only the constraints to be monitored, but also the de-facto standard RV-LTL monitors. This makes it possible to declaratively capture monitoring metaconstraints, and check them by relying on usual logical services instead of ad-hoc algorithms. This, in turn, enables to flexibly monitor constraints depending on the monitoring state of other constraints, e.g., "compensation" constraints that are only checked when others are detected to be violated. In addition, we devise a direct translation of LDLf formulas into nondeterministic automata, avoiding to detour to Buechi automata or alternating automata, and we use it to implement a monitoring plug-in for the PROM suite.
Motivation & Objective
- To address the lack of systematic, formally grounded techniques for monitoring finite-trace temporal logic properties in business process management (BPM).
- To enable the specification and runtime checking of metaconstraints—such as compensation or contrary-to-duty obligations—that activate conditionally based on the monitoring state of other constraints.
- To provide a direct, efficient translation from LDLf formulas into nondeterministic finite automata (NFAs), bypassing complex automata constructions like Büchi or alternating automata.
- To implement and integrate the approach into the ProM 6 process mining framework as an operational decision support plugin for real-time monitoring.
Proposed method
- Leverages LDLf, a logic that combines regular expressions and LTLf, to express both system constraints and monitoring metaconstraints declaratively.
- Develops a direct translation of LDLf formulas into nondeterministic finite automata (NFAs), avoiding intermediate steps to Büchi or alternating automata.
- Uses the logic itself to express RV-LTL monitor conditions (e.g., whether a formula is satisfied, violated, or still open), enabling meta-monitoring via logical formulas.
- Constructs regular expressions that capture paths where a given constraint is violated, enabling conditional enforcement of follow-up constraints (e.g., compensation).
- Implements the approach as a ProM 6 operational support plugin, using the dk.brics.automaton library for efficient automaton manipulation.
- Employs finite-state automata to check whether current execution prefixes satisfy or violate given LDLf formulas, supporting real-time decision support.
Experimental results
Research questions
- RQ1How can monitoring metaconstraints—such as compensation rules that activate only after a violation—be formally and declaratively captured in a logic-based monitoring framework?
- RQ2Can LDLf formulas be directly translated into nondeterministic finite automata (NFAs) without relying on Büchi or alternating automata constructions?
- RQ3Is it possible to express standard RV-LTL monitor conditions (e.g., satisfied, violated, open) within the same logic used for system constraints?
- RQ4How can the resulting monitoring framework be effectively integrated into existing process mining tools like ProM for real-time operational decision support?
Key findings
- LDLf can express not only system-level constraints but also metaconstraints about the monitoring state of other constraints, such as when to activate compensation behaviors.
- The direct NFA construction from LDLf formulas avoids the complexity of detouring through Büchi or alternating automata, enabling efficient runtime monitoring.
- The approach supports the formal specification and runtime checking of RV-LTL monitor conditions (e.g., whether a formula is satisfied or violated) within the logic itself.
- The implementation as a ProM 6 plugin enables real-time monitoring of both constraints and metaconstraints, with visual feedback on constraint evolution during execution.
- The method achieves the same computational complexity as LTLf despite LDLf's greater expressivity, as it captures all monadic second-order logic on finite traces.
- The framework provides a declarative foundation for advanced compliance monitoring, such as contrary-to-duty obligations, replacing ad-hoc algorithms with logical services.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.