Compositional Safety Verification via State Space Decomposition

19 concepts12 papers1 proposal

Safety verification for autonomous systems—whether using Hamilton-Jacobi reachability, control barrier functions, or formal shielding—traditionally suffers from the "curse of dimensionality." As the number of agents, environmental obstacles, or operational horizons grows, the joint state space explodes exponentially. A monolithic safety analysis that attempts to compute a single global invariant or a centralized safety shield quickly becomes computationally intractable.

The core insight of compositional safety verification is that we do not need to analyze the entire system at once. Instead, we can decompose a high-dimensional or long-horizon safety problem into smaller, independent sub-problems—such as pairwise agent interactions, localized spatial zones, or discrete behavioral scenarios. By verifying these modular components individually and composing their constraints, we can provide rigorous global safety guarantees at a fraction of the computational cost.

Spatial Decomposition and Pairwise Interactions

In multi-agent or multi-obstacle environments, tracking the joint state of all entities simultaneously causes exponential complexity. However, physical collisions are fundamentally local, pairwise events. If an ego agent can guarantee it is safe with respect to every individual obstacle in its vicinity, it can maintain global safety without ever computing the joint state of the entire scene.

To exploit this, Xinrui Wang et al. in Infusing Reachability-Based Safety into Planning and Control for Multi-agent Interactions demonstrate that complex multi-agent safety can be managed by decomposing the problem into pairwise interactions between an ego agent and each dynamic obstacle. By computing individual safe control sets for each pair and intersecting them, the system achieves real-time safety guarantees without the exponential cost of joint state-space analysis. Similarly, Seth Farrell et al. in Safe Human Robot Navigation in Warehouse Scenario apply pairwise evaluations to scale Neural Control Barrier Functions (NCBFs) in crowded warehouse environments. This modular approach ensures that safety constraints remain computationally manageable even as the number of dynamic obstacles increases.

Monolithic Analysis (Exponential Explosion):
[ Joint State Space of All Agents ] ---> Single Massive Verification Problem

Compositional Analysis (Linear/Quadratic Scaling):
[ Agent A vs B ] ---\
[ Agent A vs C ] ----+---> Intersect Safe Sets ---> Global Safety Guarantee
[ Agent A vs D ] ---/

This pairwise reduction is equally powerful for formal verification. Shayegan Omidshafiei et al. in Collision Avoidance Verification of Multiagent Systems with Learned Policies introduce a framework that shifts the analysis into a relative coordinate frame, decomposing global verification into independent pairwise checks. Because every pair of agents is verified to maintain a safe relative state, the global system avoids collisions, bypassing high-dimensional joint state spaces through parallelization. In robotic manipulation, Weiye Zhao et al. in Provably Safe Tolerance Estimation for Robot Arms via Sum-of-Squares Programming show that the minimum safe joint tolerance for a robot arm can be determined by evaluating each environmental obstacle independently. This property allows the verification complexity to scale linearly with the number of obstacles rather than experiencing exponential performance degradation.

Temporal and Mode Based Decomposition

Beyond partitioning space or agents, complex missions can be broken down temporally or behaviorally. For hybrid systems (which combine continuous physics with discrete software logic) or long-duration autonomous missions, finding a single "global invariant"—a mathematical shield covering every possible reachable state—is often impossible.

Instead of searching for a monolithic proof, the verification task can be simplified by partitioning the state space into local, mode-specific regions. Nikos Aréchiga et al. in Forward invariant cuts to simplify proofs of safety introduce this concept as "Forward Invariant Cuts." By proving that a specific subset of states corresponding to an operating mode is safe and self-contained, that region can be "cut" and removed from the remaining proof obligations. This allows safety certificates to be constructed incrementally, focusing on specific behaviors one at a time.

For long-duration autonomous maneuvers where the underlying control logic or physics are too complex for traditional mathematical modeling, Chuchu Fan et al. in DRYVR: Data-driven verification and compositional reasoning for automotive systems emphasize that decomposing complex maneuvers into smaller, verifiable units is essential to prevent the state space from growing intractably over time.

This scenario-based decomposition scales effectively to modern AI-driven systems. Christopher Watson et al. in Scenario-based Compositional Verification of Autonomous Systems with Neural Perception decompose complex autonomous missions with neural perception into discrete, pre-analyzed scenarios (such as distinct environmental lighting conditions). This modularity enables the calculation of rigorous safety bounds over long operational horizons that would otherwise cause standard verification tools to exceed memory limits.

Factored Submodels and Distributed Shielding

When systems operate under uncertainty or partial observability—such as in Partially Observable Markov Decision Processes (POMDPs) or Multi-Agent Reinforcement Learning (MARL)—the state space is further inflated by probabilistic beliefs. Centralized safety mechanisms (like a single global shield) quickly become computational bottlenecks.

To overcome this, large-scale environments can be partitioned into smaller, independent submodels where safety regions are computed locally and in parallel. Shili Sheng et al. in Safe POMDP Online Planning via Shielding demonstrate that local safety requirements can be computed independently within submodels and then propagated across the system. This factored approach maintains global safety guarantees without the computational burden of a centralized calculation, scaling to environments with millions of states. Similarly, Georgios Bakirtzis et al. in Compositional shield synthesis for safe reinforcement learning in partial observability leverage this partitioning to enable parallel shield synthesis across different regions of a partially observable state space, scaling to environments several orders of magnitude larger than centralized approaches can handle.

In multi-agent reinforcement learning, this localized shielding prevents the exponential state-space explosion typical of joint action spaces. Ingy Elsayed-Aly et al. in Safe Multi-Agent Reinforcement Learning via Shielding decompose the safety monitoring task into multiple localized shields that govern specific regions or agent subsets, using a coordination layer to manage agent transitions between zones.

Distributed Shielding Architecture:
[Agent 1] <--> [Local Shield 1] \
                                 +--> [Assume-Guarantee Coordination] ---> Global Safety
[Agent 2] <--> [Local Shield 2] /

To eliminate the coordination bottleneck entirely, Asger Horn Brorholt et al. in Compositional Shielding and Reinforcement Learning for Multi-Agent Systems combine distributed shielding with assume-guarantee reasoning. By decomposing global safety requirements into local projections for each individual agent, the authors transform exponential state-space growth into a series of tractable local computations, reducing shield synthesis times from hours to seconds.

Finally, this philosophy of decoupling can be applied to the algorithmic architecture itself. Even within single-agent exploration, Felix Berkenkamp et al. in Safe Exploration in Finite Markov Decision Processes with Gaussian Processes show that decoupling the statistical estimation of safety from the graph-based analysis of reachability drastically improves computational efficiency. This modular approach allows the agent to update its safety beliefs and its navigable graph independently, avoiding the overhead of complex integrated optimization and ensuring the agent can always safely return to its home base.

Key Foundational Work

Forward Invariant Cuts to Simplify Proofs of Safety (2015) — contributed 3 concept elements to this direction.
Safe Exploration in Finite Markov Decision Processes with Gaussian Processes (2016) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_modular_state_space_decomposition_93fa62b2,
  title = {modular state-space decomposition},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/modular-state-space-decomposition/rdr_93fa62b2e6b8437a988456110126ed75},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_modular_state_space_decomposition_93fa62b2_v1,
  title = {modular state-space decomposition},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/modular-state-space-decomposition/rdr_93fa62b2e6b8437a988456110126ed75/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake