Skip to main content
QUICK REVIEW

[Paper Review] Synthesis in Distributed Environments

Bernd Finkbeiner, Paul Gölz|arXiv (Cornell University)|Oct 15, 2017
Petri Nets in System ModelingComputer Science3 references11 citations
TL;DR

This paper introduces a novel synthesis framework for reactive systems in distributed environments where the environment comprises multiple information-sharing entities. It models such systems as Petri games with a single system token and multiple environment tokens, using causal memory to track knowledge sharing; the approach solves the synthesis problem in polynomial time for up to two environment tokens and NP-completeness for three or more, with EXPTIME-completeness when the number of environment tokens grows with the net size.

ABSTRACT

Most approaches to the synthesis of reactive systems study the problem in terms of a two-player game with complete observation. In many applications, however, the system's environment consists of several distinct entities, and the system must actively communicate with these entities in order to obtain information available in the environment. In this paper, we model such environments as a team of players and keep track of the information known to each individual player. This allows us to synthesize programs that interact with a distributed environment and leverage multiple interacting sources of information. The synthesis problem in distributed environments corresponds to solving a special class of Petri games, i.e., multi-player games played over Petri nets, where the net has a distinguished token representing the system and an arbitrary number of tokens representing the environment. While, in general, even the decidability of Petri games is an open question, we show that the synthesis problem in distributed environments can be solved in polynomial time for nets with up to two environment tokens. For an arbitrary but fixed number of three or more environment tokens, the problem is NP-complete. If the number of environment tokens grows with the size of the net, the problem is EXPTIME-complete.

Motivation & Objective

  • To address the limitation of standard reactive synthesis, which assumes a monolithic environment, by modeling environments as teams of information-sharing entities.
  • To enable synthesis of system controllers that actively coordinate with multiple distributed environment players to gather necessary information.
  • To formalize the problem using Petri games with causal memory, where players exchange knowledge truthfully and maximally during synchronous interactions.
  • To analyze the computational complexity of the synthesis problem under varying numbers of environment tokens, from fixed to unbounded.

Proposed method

  • Model the system and environment as tokens in a bounded Petri net, with the system represented by a single token and the environment by multiple tokens.
  • Use causal memory semantics to ensure that when players synchronize, they exchange all known information truthfully and completely.
  • Represent the synthesis problem as a safety game over reachable markings, where bad markings correspond to configurations violating the specification.
  • Construct a propositional formula in conjunctive normal form to encode constraints on commitments (i.e., enabled transitions) that avoid bad vertices and ensure progress toward winning states.
  • Apply a SAT solver to determine winning commitments at each reachable marking, using iterative backward induction over the attractor sets to compute winning strategies.
  • Use a fixed-point iteration over Attri sets to compute the winning region, with each iteration refining the set of markings from which the system can force a win.

Experimental results

Research questions

  • RQ1How can reactive synthesis be extended to environments composed of multiple independent, information-sharing entities rather than a single monolithic environment?
  • RQ2What is the computational complexity of synthesizing a system that must coordinate with a distributed environment of k environment tokens, for k ≥ 1?
  • RQ3Can the synthesis problem in distributed environments be solved efficiently when the number of environment tokens is bounded, and if so, under what conditions?
  • RQ4How does the presence of causal memory—where players exchange all known information during synchronization—affect the decidability and complexity of the synthesis problem?

Key findings

  • The synthesis problem in distributed environments is solvable in polynomial time when the number of environment tokens is at most two.
  • For a fixed number of three or more environment tokens, the problem is NP-complete.
  • When the number of environment tokens grows with the size of the underlying Petri net, the problem becomes EXPTIME-complete.
  • The proposed algorithm uses a SAT-based backward induction method over attractor sets to compute winning strategies, with a runtime bounded by O(r³t²(2ᵗ + p)) where r is the number of reachable markings, t the number of transitions, and p the maximum number of players.
  • The method correctly handles safety specifications by encoding constraints on commitments to avoid bad markings of types (X1) through (X3), ensuring no direct loss or dead-end states.
  • The algorithm is correct and complete: if no satisfying assignment exists for the SAT formula at any step, the system cannot force a win, and the fixed point detection ensures convergence.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.