NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hypernode Automata

Ezio Bartocci, Thomas A. Henzinger, Dejan Nickovic, Ana Oliveira da Costa

Abstract

Formal verification of concurrent systems often struggles with "hyperproperties"—security requirements that compare multiple execution traces. While synchronous systems are well-handled by existing logics, asynchronous systems introduce complexities that frequently lead to undecidability. This paper presents Hypernode Automata, a new formalism that combines finite automata with a specialized asynchronous logic. By decoupling intra-node asynchrony from inter-node synchronization, the authors provide a decidable model-checking algorithm for verifying complex security policies in concurrent environments.

The Challenge of Asynchronous Hyperproperties

In formal methods, we distinguish between trace properties (e.g., "the system never crashes") and hyperproperties (e.g., "observational determinism"). Observational determinism requires that if two runs start with identical public data, they must produce identical public output, regardless of secret inputs.

Example code and asynchronous execution traces illustrating variable changes and status updates.

Existing tools like HyperLTL excel at synchronous hyperproperties where traces progress in lockstep. However, real-world concurrent programs are inherently asynchronous: threads may stutter or be scheduled differently. As shown in the figure above, traces $\tau_1$ and $\tau_2$ might reach the same logical state at different physical times. Traditional synchronous logics often produce false negatives in these scenarios, while general asynchronous logics are typically undecidable.

Hypernode Automata: A Two-Layered Formalism

The authors propose a two-layered approach to bridge this gap:

  1. Hypernode Logic: A non-temporal logic that describes behavior within an execution segment. It utilizes a "stutter-reduced prefixing" relation ($\preceq$), focusing on the sequence of value changes rather than specific time steps.
  2. Hypernode Automata: Finite automata where each node (a "hypernode") is labeled with a Hypernode Logic formula. Transitions between these nodes are triggered by discrete system actions.
An example of a Hypernode Automaton where nodes are labeled with logic formulas and transitions are triggered by system actions.

This structure creates a "wait-for-each-other" mechanism: traces proceed asynchronously within a node but must synchronize to transition to the next. To ensure decidability, the authors introduced stutter-free automata, a restricted NFA form that prevents repeated variable assignments on transitions.

Key Insights and Results

The primary contribution is the decidability of the model-checking problem for Hypernode Automata. By isolating asynchronicity within nodes, the authors found a "sweet spot" that is expressive enough for real-world security policies yet restricted enough for algorithmic verification.

The algorithm's complexity is doubly exponential in the number of variables ($O(2^{n \cdot k^m})$) but only singly exponential in the model size and specification automaton. While computationally intensive, this falls within standard complexity classes for logic-based verification. The framework successfully specifies variations of observational determinism and dynamic declassification policies that were previously unverifiable.

Conclusion and Future Work

Currently, Hypernode Automata focus on safety properties (preventing bad states) and assume deterministic specification automata. Future research aims to extend this to liveness properties (ensuring good states eventually occur) via "Hypernode Büchi Automata" and to investigate the satisfiability problem for these specifications.

Summary updated

BibTeX
@inproceedings{bartocci2023hypernode,
  author = {Ezio Bartocci and Thomas A. Henzinger and Dejan Nickovic and Ana Oliveira da Costa},
  title = {{Hypernode Automata}},
  booktitle = {CONCUR},
  year = {2023},
  doi = {10.4230/lipics.concur.2023.21},
}
Figure