Monitoring Second-Order Hyperproperties
Not on the map. Why?
Abstract (arXiv)
Hyperproperties express the relationship between multiple executions of a system. This is needed in many AI-related fields, such as knowledge representation and planning, to capture system properties related to knowledge, information flow, and privacy. In this paper, we study the monitoring of complex hyperproperties at runtime. Previous work in this area has either focused on the simpler problem of monitoring trace properties (which are sets of traces, while hyperproperties are sets of sets of traces) or on monitoring first-order hyperproperties, which are expressible in temporal logics with first-order quantification over traces, such as HyperLTL. We present the first monitoring algorithm for the much more expressive class of second-order hyperproperties. Second-order hyperproperties include system properties like common knowledge, which cannot be expressed in first-order logics like HyperLTL. We introduce Hyper2LTLf, a temporal logic over finite traces that allows for second-order quantification over sets of traces. We study the monitoring problem in two fundamental execution models: (1) the parallel model, where a fixed number of traces is monitored in parallel, and (2) the sequential model, where an unbounded number of traces is observed sequentially, one trace after the other. For the parallel model, we show that the monitoring of the second-order hyperproperties of Hyper2LTLf can be reduced to monitoring first-order hyperproperties. For the sequential model, we present a monitoring algorithm that handles second-order quantification efficiently, exploiting optimizations based on the monotonicity of subformulas, graph-based storing of executions, and fixpoint hashing. We present experimental results from a range of benchmarks, including examples from common knowledge and planning.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 29 references that are in the map. First posted on arXiv 15 Apr 2024.
Builds on
9 of 29 references.
References · 9
- 2014Temporal Logics for Hyperpropertiescited by 19
- 2022Monitoring Arithmetic Temporal Properties on Finite Tracescited by 7
- 2021A Temporal Logic for Strategic Hyperpropertiescited by 5
- 2018Monitoring Hyperpropertiescited by 3
- 2023Model Checking Strategies from Synthesis Over Finite Tracescited by 3
- 2019Propositional Dynamic Logic for Hyperpropertiescited by 2
- 2019RVHyper: A Runtime Verification Tool for Temporal Hyperpropertiescited by 1
- 2020Multi-Player Games with LDL Goals over Finite Tracescited by 1
- 2022Verification and Realizability in Finite-Horizon Multiagent Systemscited by 1
Built on by
Not cited yet.