Abstract
Epistemic protocol specifications allow programs, for settings in which multiple agents act with incomplete information, to be described in terms of how actions are related to what the agents know. They are a variant of the knowledge-based programs of Fagin et al., motivated by the complexity of synthesizing implementations in that framework. The paper proposes an approach to the synthesis of implementations of epistemic protocol specifications, that reduces the problem of finding an implementation to a sequence of model checking problems in approximations of the ultimate system being synthesized. A number of ways to construct such approximations is considered, and these are studied for the complexity of the associated model checking problems. The outcome of the study is the identification of the best approximations with the property of being PTIME implementable.
Introduction
In multi-agent systems, designing agents that act based on their knowledge is a powerful paradigm. Knowledge-based programs (KBPs) allow for high-level specifications such as: "If Agent A knows that Agent B has received the file, then Agent A should stop transmitting." However, the synthesis of concrete implementations from these specifications is notoriously difficult. This difficulty arises from a fundamental circularity: an agent’s knowledge depends on the possible states of the system, but the system's states are determined by the agents' actions, which are themselves determined by their knowledge. Finding a "fixed point" where knowledge and actions align is often NP-hard or worse, making it impractical for real-world engineering.
Methodology: Ordered Semantics and Approximations
To address this intractability, the authors propose a shift from "necessary and sufficient" knowledge conditions to sound local proposition epistemic specifications. Instead of demanding a perfect match, they allow for implementations that act on sufficient conditions of knowledge.
The core of this approach is a framework of Ordered Semantics:
- Template Variables: Knowledge conditions are treated as "holes" in a protocol template.
- Sequential Synthesis: Instead of solving for all variables simultaneously, the programmer defines an order, and the system fills one "hole" at a time.
- Approximation Schemes: To fill a hole, the system evaluates an approximation of the final environment rather than the unknown final system.
The authors evaluate a spectrum of eight approximation schemes across three dimensions: information (perfect vs. imperfect), recall (perfect vs. current state), and substitution consistency (consistency with previous choices).
Illustrative Benchmarks
The framework is evaluated using two primary benchmarks:
- The Robot Meeting Problem: Two robots on a track must meet without colliding using noisy sensors, testing how approximations handle uncertainty.
- The Picnic Example: A coordination problem where agents Alice and Bob must decide whether to bring wine or cheese. This example demonstrates how ordered semantics can find solutions in cases where traditional KBPs fail due to logical contradictions.
Key Results and Complexity
The study identifies a sharp complexity boundary. Schemes requiring "substitution consistency" while using imperfect information or recall are coNP-hard. However, by relaxing these constraints or allowing "perfect information" in the approximation (even if the actual agent is limited), the problem becomes PTIME (tractable).
Notably, the $I^\top$ (bushy) and $I^{pi,pr,sc}$ (perfect information, perfect recall, substitution consistent) approximations exhibit PTIME environment-complexity. Furthermore, these tractable approximations often converge on the same "optimal" behavior as a full KBP, as demonstrated in the Robot Meeting problem where agents act as soon as it is safe.
Conclusion and Future Work
While this framework provides a tractable path for epistemic synthesis, challenges remain. The current complexity analysis assumes explicit state representation; scaling to larger systems will require symbolic techniques like BDDs or SAT solvers. Additionally, the "ordered semantics" places the burden of determining the synthesis order on the programmer. Future work may explore automated methods for determining optimal orderings and further quantify the quality gap between these approximations and the ideal KBP implementations in complex scenarios.
Summary updated