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

Compositional synthesis of modular systems

Bernd Finkbeiner, Noemi Passing

TL;DR

This paper introduces a compositional synthesis algorithm for complex multi-process systems. It tackles the scalability issue in distributed synthesis by decomposing the global specification into per-process requirements and synthesizing "certificates" that define the necessary interfaces between processes. This approach significantly speeds up synthesis for systems with small inter-process dependencies.

What Problem Does This Paper Address?

Modern systems are increasingly complex and distributed, involving multiple interacting processes. Synthesizing correct behavior for such systems is crucial but challenging. Traditional distributed synthesis methods struggle with scalability, becoming computationally intractable as the number of processes or system complexity grows. The core problem is how to break down a global system specification into manageable, individual tasks for each process while ensuring the overall system correctness. This paper addresses this by proposing a compositional approach that synthesizes not just the system's behavior but also the "contracts" (certificates) that govern its interactions.

Methods

The paper introduces a "certifying synthesis" algorithm. The key innovation is the synthesis of certificates alongside the strategies (implementations) for each process. These certificates are formal specifications (initially LTL formulas, later represented as deterministic transition systems) that capture the guaranteed behavior of a process.

Here's how it works:

  • Specification Decomposition: The global LTL specification ($\phi$) is decomposed into per-process sub-specifications ($\psi_i$).
  • Certifying Synthesis: For each process $p_i$, the algorithm synthesizes a strategy $s_i$ and a certificate $\psi_i$. The strategy $s_i$ must satisfy its sub-specification $\psi_i$ only if the other processes adhere to their respective certificates ($\Psi_i \rightarrow \psi_i$).
  • Local Reasoning: This shifts the synthesis problem from a global, monolithic one to a set of smaller, local problems. The correctness of the overall system is guaranteed if each process satisfies its local objective, which relies on the certificates of others.
  • Deterministic Certificates: To improve efficiency and avoid blow-ups in representation size, the paper proposes using deterministic labeled transition systems (GTS) for certificates.
  • Relevant Processes: An optimization is introduced to identify "relevant processes" for each process, reducing the number of certificates it needs to consider, further improving efficiency.

Datasets

Not discussed in the paper. The paper focuses on a formal synthesis methodology and evaluates it on various benchmarks.

Key Insights and Ideas

  • Certificates as Contracts: The core idea is that certificates act as formal contracts between processes. This allows for modularity: a process's strategy can be updated as long as it respects its contract, without needing to re-synthesize the entire system.
  • Bridging Monolithic and Distributed Synthesis: Certifying synthesis offers a middle ground. It decomposes the problem like compositional methods but maintains soundness and completeness, unlike some simpler decomposition techniques.
  • Size Matters (for Certificates): By bounding the size of certificates, the algorithm implicitly biases towards solutions with smaller interfaces between processes. This is crucial for scalability and efficiency.
  • Abstraction for Efficiency: The use of certificates allows processes to abstract away from the irrelevant behavior of others, focusing only on what's necessary for their own specification. This is particularly beneficial when the interface between processes is small.
  • Deterministic Certificates Enable Practicality: Representing certificates as deterministic transition systems (GTS) is key to practical synthesis, avoiding the exponential blow-up associated with determinizing non-deterministic LTL automata.

Key Results

The paper presents experimental results comparing their certifying synthesis approach with standard distributed synthesis tools (like BoSy) and dominant strategy synthesis.

  • Significant Speedup: For benchmarks where small certificates exist (i.e., small interfaces between processes), their approach is significantly faster than distributed BoSy. For example, on the "n-ary Latch" benchmark, their method solves tasks in seconds, while distributed BoSy times out (60 minutes).
  • Scalability: The compositional nature of their approach makes it more scalable for complex systems with limited inter-process dependencies.
  • Overhead for Large Interfaces: When the interface between processes is large (requiring large certificates), the overhead of synthesizing these certificates can make their approach slower than simpler methods, but the overhead is still manageable.
  • Manufacturing Robots Benchmark: This benchmark demonstrates the advantage of abstracting from irrelevant behavior, leading to significantly smaller strategy sizes and faster synthesis times compared to distributed BoSy.

Limitations and Future Work

  • Completeness with Local Strategies: The paper notes that their approximation of certifying synthesis with local strategies is not complete in general. This incompleteness arises when a process cannot observe the behavior of another process. Future work could explore ways to address this or identify specific conditions under which completeness holds.
  • Specification Decomposition Automation: While the paper uses a simple decomposition for demonstration, automating the generation of "good" (small) sub-specifications is an area for further research.
  • Iterative Assume-Guarantee: The paper mentions that their approach differs from iterative assume-guarantee synthesis, which might require further investigation into how these approaches compare and complement each other.
  • Practical Tool Integration: The paper describes an implementation and experimental evaluation, but further integration into existing synthesis toolchains and broader adoption would be valuable.

Summary updated

BibTeX
@inproceedings{finkbeiner2021compositional,
  author = {Bernd Finkbeiner and Noemi Passing},
  title = {{Compositional synthesis of modular systems}},
  booktitle = {ATVA},
  year = {2021},
  doi = {10.1007/978-3-030-88885-5\_20},
}
Figure