Multi-agent Safety Verification Using Symmetry Transformations

Hussein Sibai, Navid Mokhlesi, Chuchu Fan, Sayan Mitra

Abstract

Safety verification for multi-agent systems is often bottlenecked by the high computational cost of reachability analysis. This paper presents a symmetry-based caching framework, CacheReach, which leverages the equivariance of physical systems to reuse previously computed reachable sets. By transforming diverse agent scenarios into a standardized virtual coordinate frame, the framework achieves significant reductions in verification time—up to 64% in linear systems—while remaining agnostic to the underlying reachability tools.

1. Introduction

Ensuring the safety of autonomous agents, such as unmanned aerial vehicles (UAVs) or autonomous vehicles, requires proving that the system will never enter an unsafe state. Reachability analysis provides a formal guarantee by computing "reachtubes"—the set of all possible states reachable over time. However, for multi-agent systems with nonlinear dynamics, the computational overhead of generating these tubes for every unique maneuver is prohibitive. Existing tools often start calculations from scratch, failing to exploit the inherent redundancies in agent behaviors across different spatial locations.

2. Methodology: The CacheReach Framework

The core innovation of this work is the use of Symmetry Transformations to map real-world scenarios into a standardized Virtual System.

2.1 Symmetry and Equivariance

The authors leverage the fact that many physical systems are "equivariant." For example, an airplane's flight dynamics are typically invariant regardless of its absolute position (North vs. East) or altitude. By centering the virtual system on a destination waypoint and aligning the axes, thousands of distinct real-world maneuvers become identical in the virtual space. This shift from absolute to relative coordinates is the key to reducing redundancy.

2.2 Caching Architecture

CacheReach implements a dual-caching strategy to minimize redundant computation:

  • tubecache: Stores the actual reachtubes calculated in the virtual frame.
  • safetycache: Stores the results of safety checks, such as whether a specific maneuver is safe from a given obstacle.

When a new safety check is required, the system transforms the initial state into the virtual frame. If a matching reachtube exists in the cache, it is retrieved and transformed back to the global coordinate frame. If no match is found, the system invokes a reachability engine (e.g., DryVR or Flow*) to compute the tube, which is then cached for future use.

3. Experimental Evaluation

The framework was tested on two primary models to demonstrate its tool-agnostic nature:

  1. 3D Linear System: Agents following a digital "S-shaped" path.
  2. 4D Nonlinear Aircraft: A fixed-wing model incorporating speed, heading, and 2D position, following randomized crossing paths.

3.1 Key Results

  • Efficiency: In the 3-agent linear case, CacheReach achieved a 64% reduction in computation time.
  • Scalability: The ratio of transformed (reused) tubes to newly computed tubes increases as more agents are added, suggesting that the method's value grows with system complexity.
  • Nonlinear Performance: For the 4D nonlinear aircraft model, verification time was reduced from 15 minutes to approximately 10 minutes.
  • Unbounded Verification: The authors proved that because symmetries cover an infinite range of parameters, a finite cache can provide safety guarantees for an infinite number of agents or for unbounded time.

4. Limitations and Future Work

Current limitations include the requirement for manual symmetry definition and the assumption of non-interacting agent dynamics. Future research will explore automated symmetry discovery from system equations and strategies to mitigate "false negatives" caused by reachtube over-approximation during the caching process.

5. Conclusion

CacheReach demonstrates that shifting from absolute to relative coordinates via symmetry transformations can drastically reduce the computational burden of safety verification. By providing a tool-agnostic wrapper for existing reachability engines, this framework enables more efficient and scalable safety guarantees for complex multi-agent systems.

Summary updated

BibTeX
@inproceedings{sibai2020multi,
  author = {Hussein Sibai and Navid Mokhlesi and Chuchu Fan and Sayan Mitra},
  title = {{Multi-agent Safety Verification Using Symmetry Transformations}},
  booktitle = {TACAS},
  year = {2020},
  doi = {10.1007/978-3-030-45190-5\_10},
}
Figure