Abstract
Traditional strategy synthesis for multi-agent systems often suffers from the state-space explosion problem, requiring re-computation for every new instance of a game. This paper presents a novel framework for the automated synthesis of "generalized" invariant strategies—high-level rules that remain valid across infinite variations of a game structure. By integrating Situation Calculus with a Counterexample-Guided Strategy Refinement (CEGSR) loop, the proposed method leverages both SMT solvers for universal verification and concrete model checkers for local refinement. Experimental results demonstrate that this approach successfully synthesizes strategies for complex domains, including distributed protocols, that were previously beyond the reach of state-of-the-art methods.
Introduction
In multi-agent systems, strategy synthesis aims to generate rules that allow a player to maintain safety or achieve a goal. However, standard techniques are typically instance-specific. Generalized strategy synthesis seeks a single, invariant rule applicable to all possible instances sharing a common structure (e.g., Nim with any number of pebbles). Previous attempts at generalization often struggled with non-numerical relations or quantified logic. This research addresses these limitations by formalizing the problem within Situation Calculus and employing a hybrid verification-refinement loop.
Methodology
The core of the approach is the Counterexample-Guided Strategy Refinement (CEGSR) loop, which bridges general theorem proving with concrete model checking:
- Initialization: The process begins with a candidate strategy derived from the safety goal.
- Verification: SMT solvers (Z3 and CVC4) check if the strategy is a universal invariant. A valid invariant ensures that any move from a safe state leads to another safe state, regardless of the opponent's actions.
- Counterexample Generation: If verification fails, the solver identifies a specific game state (counterexample) where the strategy is insufficient.
- Local Search and Refinement: A concrete model checker (MCMAS) is deployed on a small, grounded version of the game to find a local winning move for the counterexample. This "lesson" is then used to refine the general formulas of the strategy.
- Iteration: The loop continues until the theorem prover verifies the strategy as universally valid.
Key Results
The framework was evaluated across nine domains, including combinatorial games (Nim variants, Chomp) and distributed computing benchmarks (Leader Election).
As shown in the comparison table above, the proposed method successfully synthesized strategies for 8 out of 9 domains. Notably, it succeeded in the "Coloring" and "Leader Election" domains, which require reasoning about non-arithmetic relations and quantifiers—tasks that previous methods like Wu et al. (2020) could not formalize.
Performance analysis indicates high efficiency, with most strategies synthesized in under six minutes. For instance, the 2-Nim strategy was found in 14.5 seconds, while the complex Leader Election protocol required approximately 367 seconds. The only failure occurred in "Chomp NxN," where the complexity of the required invariant led to a search space timeout.
Discussion and Future Work
The results highlight the power of using a concrete model checker as a "tutor" for a general synthesizer. By focusing on "postdiction" strategies—rules that define actions to reach desired successor states—the framework maintains a structure that is both expressive and verifiable.
However, the method remains "sound but incomplete," meaning it may fail to find an existing strategy due to the undecidability of the general problem. Future work will explore extending this framework to concurrent games, multi-player environments, and "reachability" strategies that require passing through specific intermediate states rather than just maintaining an invariant safety condition.
Summary updated