Compositional synthesis via a convex parameterization of assume-guarantee contracts

Kasra Ghasemi, Sadra Sadraddini, Călin Belta · DOI

Abstract

We develop an assume-guarantee framework for control of large scale linear (time-varying) systems from finite-time reach and avoid or infinite-time invariance specifications. The contracts describe the admissible set of states and controls for individual subsystems. A set of contracts compose correctly if mutual assumptions and guarantees match in a way that we formalize. We propose a rich parameterization of contracts such that the set of parameters that compose correctly is convex. Moreover, we design a potential function of parameters that describes the distance of contracts from a correct composition. Thus, the verification and synthesis for the aggregate system are broken to solving small convex programs for individual subsystems, where correctness is ultimately achieved in a compositional way. Illustrative examples demonstrate the scalability of our method.

Introduction

As modern engineering systems—such as smart power grids, autonomous traffic networks, and complex biological circuits—grow in scale, traditional centralized control methods face an insurmountable "curse of dimensionality." Finding control policies that satisfy formal safety and reachability specifications becomes computationally intractable when dealing with thousands of interconnected state variables.

This paper addresses the challenge through Assume-Guarantee Reasoning (AGR), a modular "divide and conquer" strategy. In AGR, a large system is decomposed into subsystems, each governed by a contract: if the surrounding environment (other subsystems) adheres to an assumption $A$, the subsystem guarantees a behavior $G$. The primary bottleneck in AGR has historically been contract synthesis: determining the specific sets $A$ and $G$ that ensure global correctness, especially when subsystems have circular dependencies.

Methodology: Convexity and Potential Functions

The authors introduce a framework that transforms contract synthesis into a convex optimization problem. The approach relies on three technical pillars:

  1. Zonotopic Set Representation: Admissible states, controls, and disturbances are represented using zonotopes. Zonotopes are symmetric polytopes that allow for efficient linear algebraic operations, making them ideal for high-dimensional reachability analysis.
  2. Convex Parameterization: The core innovation is a specific parameterization of these zonotope-based contracts. The authors prove that the set of parameters yielding a "correct composition"—where all mutual assumptions and guarantees are satisfied—is a convex set.
  3. The Potential Function: To navigate the parameter space, a potential function $V$ is defined based on the Directed Hausdorff distance. This function quantifies the "distance to correctness." When $V=0$, the contracts are valid. Because the parameter space is convex and $V$ is well-behaved, the system can use decentralized gradient descent to reach a valid global contract.
Visualization of the convex potential function $V$ over contract parameters. The left plot shows the trajectory of gradient descent toward the 'Correct Composition' region ($V=0$), while the right plot illustrates the surface's convexity.

In this decentralized scheme, each subsystem solves a small local convex program. The dual variables from these local problems provide the necessary information to calculate a global gradient, allowing subsystems to "negotiate" their boundaries without requiring full knowledge of the global dynamics.

Experimental Results and Scalability

The framework was evaluated across several case studies, ranging from illustrative low-dimensional examples to massive benchmarks.

In a finite-time reach-and-avoid task involving three coupled linear time-varying (LTV) systems, the method successfully synthesized contracts that kept the subsystems within safe bounds while reaching target regions.

State trajectories and reachable sets for three coupled subsystems in a finite-time reach-avoid task. The gray boxes represent constraints, and the colored regions show the evolution of the subsystems under the synthesized contracts.

The most significant result comes from a large-scale benchmark involving a random network of coupled linear subsystems. While traditional centralized optimization methods failed due to memory or time limits at approximately 200 dimensions, the proposed compositional method scaled to 20,000 dimensions. At this scale, the method found a valid solution in just 217 seconds. Even at smaller scales (e.g., 100 dimensions), the compositional approach was over 260 times faster than centralized alternatives.

Conclusion and Future Work

By leveraging convex parameterization and a novel potential function, this work provides a scalable path for the formal control of massive interconnected systems. The "correct-by-construction" nature of the synthesized controllers eliminates the need for expensive post-hoc verification.

However, some limitations remain. The current framework is restricted to linear systems (LTI/LTV). While zonotopes are efficient, their use introduces some conservativeness, meaning the method might occasionally fail to find a contract even if one exists. Future research will focus on extending these convex optimization techniques to non-linear dynamics and exploring even richer set parameterizations to reduce conservativeness.

Summary updated

BibTeX
@misc{ghasemi2020compositional,
  author = {Kasra Ghasemi and Sadra Sadraddini and Călin Belta},
  title = {{Compositional synthesis via a convex parameterization of assume-guarantee contracts}},
  year = {2020},
  eprint = {2002.06494},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.06494},
}
Figure