Skip to main content
QUICK REVIEW

[论文解读] Synthesis in Distributed Environments

Bernd Finkbeiner, Paul Gölz|arXiv (Cornell University)|Oct 15, 2017
Petri Nets in System ModelingComputer Science参考文献 3被引用 11
一句话总结

本文提出了一种新型合成框架,用于在分布式环境中对反应式系统进行合成,其中环境由多个信息共享实体组成。该框架将此类系统建模为带有单个系统令牌和多个环境令牌的佩特里博弈(Petri games),并使用因果记忆(causal memory)追踪知识共享;该方法在最多两个环境令牌时可在多项式时间内求解合成问题,当环境令牌数量为三个或更多时为NP完全问题,当环境令牌数量随网规模增长时则为EXPTIME完全问题。

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.

研究动机与目标

  • 为解决标准反应式合成所存在的局限性(即假设环境为单一整体),通过将环境建模为多个信息共享实体组成的团队。
  • 实现系统控制器的合成,使其能够主动与多个分布式环境参与者协调,以收集必要的信息。
  • 使用带有因果记忆的佩特里博弈形式化该问题,其中玩家在同步交互期间真实且完整地交换知识。
  • 分析在环境令牌数量从固定到无界变化时,合成问题的计算复杂度。

提出的方法

  • 将系统和环境建模为有界佩特里网中的令牌,其中系统由单个令牌表示,环境由多个令牌表示。
  • 使用因果记忆语义,确保当玩家同步时,他们真实且完整地交换所有已知信息。
  • 将合成问题表示为可达标记上的安全博弈,其中坏标记对应于违反规范的配置。
  • 构建一个合取范式(CNF)的命题公式,以编码对承诺(即启用的转移)的约束,避免坏顶点并确保向获胜状态的推进。
  • 应用SAT求解器,通过在吸引子集合上进行迭代逆向归纳,确定每个可达标记处的获胜承诺,从而计算获胜策略。
  • 通过在Attri集合上进行不动点迭代来计算获胜区域,每次迭代均对从其可强制获胜的标记集合进行细化。

实验结果

研究问题

  • RQ1如何将反应式合成扩展至由多个独立的信息共享实体构成的环境,而非单一的整体环境?
  • RQ2对于k ≥ 1个环境令牌的分布式环境,合成一个系统控制器的计算复杂度是多少?
  • RQ3当环境令牌数量受限制时,是否可以高效求解分布式环境中的合成问题?若可以,其条件是什么?
  • RQ4因果记忆的存在(即玩家在同步时交换所有已知信息)如何影响合成问题的可判定性与复杂度?

主要发现

  • 当环境令牌数量不超过两个时,分布式环境中的合成问题可在多项式时间内求解。
  • 当环境令牌数量固定为三个或更多时,问题为NP完全。
  • 当环境令牌数量随底层佩特里网规模增长时,问题变为EXPTIME完全。
  • 所提出的算法采用基于SAT的逆向归纳方法,在吸引子集合上计算获胜策略,其运行时间上界为O(r³t²(2ᵗ + p)),其中r为可达标记数,t为转移数,p为最大玩家数。
  • 该方法通过编码对承诺的约束以避免类型(X1)至(X3)的坏标记,正确处理了安全规范,确保不会出现直接损失或死锁状态。
  • 该算法是正确且完备的:若在任意步骤中SAT公式均无满足赋值,则系统无法强制获胜,且不动点检测可确保收敛。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。