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

Bisimulation Learning

Alessandro Abate, Mirco Giacobbe, Yannik Schnitzer

Introduction

Formal verification of complex systems often hinges on the ability to create succinct abstractions. This paper introduces a novel data-driven framework for computing finite bisimulations—abstractions that preserve the behavior of potentially infinite-state systems. By framing bisimulation as a learning problem solved via a Counterexample-Guided Inductive Synthesis (CEGIS) loop, the authors generate interpretable, "stutter-insensitive" models. These models enable significantly faster verification of temporal logic properties compared to traditional state-of-the-art tools.

The Challenge of Infinite State Spaces

In formal verification, checking if a system satisfies specific properties is often hampered by massive or infinite state spaces, making direct model checking impossible. The standard solution is abstraction: reducing a "concrete" system to a simpler "abstract" one. Bisimulations are considered the gold standard because they preserve system behavior exactly.

Concrete vs. Abstract Program

Traditionally, bisimulations are computed using partition refinement, an iterative process requiring complex logical operations like quantifier elimination. For infinite-state systems, this is often computationally prohibitive. The authors propose a shift in perspective: learning a bisimulation from sampled data rather than computing it through exhaustive logical refinement.

Methodology: Learning Bisimulations via CEGIS

The proposed Learner-Verifier framework utilizes a CEGIS architecture to synthesize abstractions represented as Binary Decision Trees (BDTs).

  1. The Template: Abstractions are modeled as BDTs where internal nodes contain linear predicates (e.g., $x + y > 5$) to classify states, and leaves represent abstract states.
  2. The Learner: Using an SMT solver, the learner analyzes sampled states and transitions to find BDT parameters and "ranking functions" that satisfy stutter-insensitive bisimulation conditions. Stuttering occurs when internal state changes do not affect observable output; "stutter-insensitive" models collapse these steps for efficiency.
  3. The Verifier: A candidate BDT is checked against the entire state space using an SMT solver. If the bisimulation conditions fail, a counterexample is provided to the learner to refine the model.
  4. Ranking Functions: To handle potential infinite stuttering, the authors learn functions that must decrease with every internal step, ensuring the system eventually transitions to a new abstract state.

Experimental Evaluation and Results

The approach was tested on reactive systems (like clock synchronization protocols) and software model checking benchmarks (including numerical programs like the Euclidean algorithm).

Learned State Space Partitioning

Key Findings:

  • Performance: On reactive benchmarks, the tool significantly outperformed industry standards like nuXmv. While traditional tools often timed out on systems with high-frequency clocks, the learning approach found abstractions in seconds.
  • Precision: The method successfully generated exact preconditions for termination in software tasks, outperforming tools like Ultimate and CPAChecker which often struggle with conditional termination.
  • Interpretability: Unlike "black-box" neural models, the learned BDTs are human-readable, allowing developers to understand the logical boundaries defining system behavior.
  • Property Agnosticism: Once a bisimulation is learned, it can be used to verify any Linear Temporal Logic (LTL) formula (excluding the 'next' operator) without re-running the abstraction process.

Conclusion and Future Directions

While powerful, the current framework is limited to deterministic transition systems and discrete state spaces. Finding finite bisimulations remains undecidable for some infinite-state systems, such as simple counters. Future work aims to extend this methodology to non-deterministic systems, continuous-state (hybrid) systems, and explore neural architectures for higher-dimensional scalability while maintaining the rigor of formal verification.

Summary updated

BibTeX
@inproceedings{abate2024bisimulation,
  author = {Alessandro Abate and Mirco Giacobbe and Yannik Schnitzer},
  title = {{Bisimulation Learning}},
  booktitle = {CAV},
  year = {2024},
  doi = {10.1007/978-3-031-65633-0\_8},
}
Figure