Multi-Agent Safety Verification using Symmetry Transformations

Hussein Sibai, Navid Mokhlesi, Chuchu Fan, Sayan Mitra

Abstract

Ensuring the safety of multi-agent systems, such as autonomous drone swarms or self-driving vehicle fleets, requires rigorous verification to guarantee that agents never enter unsafe states. Traditional reachability analysis, while effective, often falls victim to the "curse of dimensionality" when applied to complex nonlinear models or large numbers of agents. This paper introduces CacheReach, a framework designed to scale safety verification by exploiting the inherent symmetries in agent dynamics. By mapping diverse agent maneuvers into a canonical "virtual system" coordinate frame, the framework enables the caching and reuse of expensive reachability computations. Our evaluation on 3D linear and 4D nonlinear aircraft models demonstrates that this approach can reduce verification time by up to 66% and provides a path toward verifying an unbounded number of agents over infinite time horizons.

Introduction

Safety verification is the process of proving that a system will remain within a defined "safe" set of states throughout its operation. The standard approach involves reachability analysis: computing a "reachtube," which represents the set of all possible states a system can reach over a given time interval. For complex, nonlinear systems, computing these tubes is computationally intensive.

Existing techniques often rely on sensitivity analysis to generalize a single simulation to a small neighborhood of nearby states. However, this method is local and fails to capture structural similarities between agents performing identical maneuvers at different spatial locations or orientations. This paper addresses this gap by leveraging symmetry transformations to generalize reachability results across the entire state space.

Methodology

Equivariant Dynamical Systems and Symmetry

The core of the proposed framework is the concept of Equivariant Dynamical Systems. The authors define a group of symmetry operators ($\Gamma$) that map one solution of a system's differential equations to another. For many autonomous agents, dynamics are invariant to translation and rotation; for instance, an aircraft's flight characteristics remain the same regardless of its absolute GPS coordinates or its initial heading.

The Virtual System Concept

The primary innovation is the introduction of a "Virtual System." Rather than verifying every agent in its unique real-world coordinate frame, CacheReach maps every agent's maneuver (such as moving between two waypoints) into a canonical virtual coordinate system. In this virtual frame, the destination is typically set at the origin, and the path is aligned with a specific axis. This standardization significantly increases the likelihood of finding redundant computations.

The CacheReach Framework

The framework utilizes two primary caching mechanisms:

  1. tubecache: This stores previously computed reachtubes for the virtual system. When a new maneuver is requested, the system checks if a similar maneuver exists in the cache. If found, the cached virtual reachtube is transformed back into the real-world coordinates, bypassing the need for new reachability computations.
  2. safetycache: This stores the results of safety intersections (e.g., whether a specific reachtube intersects with a known static obstacle).

The system employs two main algorithms: symComputeReachtube, which manages cache retrieval and truncation, and symSafetyVerif, which executes the final safety checks.

Experimental Evaluation

The authors evaluated CacheReach using two distinct dynamical models to demonstrate its versatility:

  • 3D Linear Model: Agents following S-shaped paths using translation and rotation symmetries.
  • 4D Nonlinear Fixed-wing Aircraft: A complex model incorporating speed, heading, and 2D position, following randomized crossing paths.

Notably, the framework is "backend-agnostic." The authors utilized existing reachability tools, DryVR and Flow*, as underlying subroutines to compute the raw reachtubes, showing that symmetry-based caching can enhance various existing verification methods.

Key Results and Insights

Computational Efficiency

The implementation of symmetry transformations led to significant performance gains. The tool achieved up to a 66% reduction in safety verification time. In specific linear scenarios involving three agents, the symmetric approach was 2.7x faster than the non-symmetric baseline.

Scalability and the Virtual Frame

A critical finding was that the ratio of cached (transformed) tubes to newly computed tubes improved as the number of agents increased. This suggests that the system scales more effectively as environments become more crowded, as the probability of maneuver repetition increases. Furthermore, the authors proved (Theorem 6) that if no "new" scenarios appear in the virtual system over time, it is possible to provide safety guarantees for an unbounded number of agents over an infinite time horizon using only a finite cache.

Precision and Soundness

Because the symmetry transformations are symbolic and exact, the safety guarantees provided by CacheReach remain sound, provided the underlying reachability tool used to populate the cache is also sound.

Limitations and Future Work

While CacheReach represents a significant step forward, several challenges remain:

  • Agent Interaction: The current model assumes agents follow pre-planned paths and avoid static obstacles. Verifying reactive, inter-agent avoidance maneuvers where agents influence each other's trajectories is a target for future research.
  • Symmetry Discovery: Currently, symmetry transformations must be manually defined by the user. Automating the discovery of these symmetries for arbitrary nonlinear systems would broaden the tool's applicability.
  • Quantization Effects: The cache relies on a grid-based quantization to match initial states. A grid that is too coarse may lead to over-approximation, potentially resulting in false positives for safety violations.

Conclusion

By shifting the focus from local sensitivity to global symmetry, CacheReach provides a powerful mechanism for scaling the verification of multi-agent systems. The use of a virtual coordinate frame allows for high cache hit rates, transforming the computationally expensive task of reachability analysis into a more manageable process of transformation and retrieval.

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