Introduction
In classical game theory, agents select strategies based on beliefs about their opponents' behavior without direct access to their decision-making processes. However, the rise of autonomous AI agents and smart contracts introduces a new paradigm: program games. In these settings, players submit source code that can take the code of other players as input. This transparency allows for "program equilibria" that can sustain cooperation more effectively than standard Nash equilibria.
Early approaches to program games were often brittle, relying on exact string matching of code, or impractical, requiring complex formal proofs (Löbian agents). A more robust alternative is simulation-based program games, where an agent simply runs its opponent's code to predict its action. While promising, previous simulation-based methods struggled to scale beyond two players and failed to capture the full range of possible stable outcomes. This research generalizes simulation-based equilibria to multi-player settings and characterizes the conditions under which they can achieve optimal outcomes.
Methodology: The Time-Step Simulation Trick
The authors propose two primary algorithms: the Correlated $\epsilon$Grounded$\pi$Bot and the Uncorrelated $\epsilon$Grounded$\pi$Bot. The central challenge in simulation-based games is avoiding infinite recursion—a "hydra" problem where agents simulate each other indefinitely.
The solution introduced is a time-step manipulation technique. Programs are assigned a random "time step" $T$. A program at step $T$ only simulates opponents at steps $T-1$ or lower. By stripping elements from a random sequence before passing it to a simulated opponent, an agent effectively "tricks" the simulation into believing it is at an earlier stage, ensuring the process eventually halts.
To maintain computational efficiency, the authors employ memoization. By storing the results of previous simulations, the programs run in polynomial time, making them significantly more practical than proof-based agents.
Key Insights: The Role of Randomness
The research highlights a critical distinction between settings with shared versus independent randomness.
The Power of Shared Randomness
When agents have access to a common source of randomness (e.g., a public blockchain beacon), they can perfectly coordinate their "mental" simulations. This leads to a Folk Theorem: any outcome that is mutually beneficial (strictly individually rational) can be sustained as a stable equilibrium. This matches the theoretical power of earlier, more fragile program game models.
The Independent Randomization Barrier
In settings where agents must randomize independently, the Folk Theorem generally fails. Without a shared clock, agents cannot detect certain types of deviations in their opponents' mental simulations. However, the authors identify a specific class of additively separable games—where a player's utility is the sum of independent effects from each other player—where cooperation remains achievable even without shared randomness.
Key Results and Examples
The paper provides several formal characterizations of these equilibria:
- Theorem 5 (Correlated Folk Theorem): Proves that shared randomness allows for any feasible and strictly individually rational payoff.
- Theorem 7 (Uncorrelated Additive Games): Shows that the Folk Theorem holds for additively separable utilities even in the absence of shared randomness.
- The Pirate Game: To demonstrate the limits of uncorrelated settings, the authors analyze a three-player "Pirate Game." In this scenario, pure cooperation is impossible without shared randomness, serving as a concrete counter-example to a general uncorrelated Folk Theorem.
Conclusion and Future Work
This work provides a robust framework for understanding how AI agents can cooperate by simulating one another. While shared randomness provides a clear path to optimal outcomes, the uncorrelated setting presents fundamental "simulationist" limits.
Future research may explore the impact of different probability distributions for time steps beyond the geometric distributions used here. Additionally, a complete characterization of all attainable payoffs in the uncorrelated setting remains an open challenge for the field of algorithmic game theory.
Summary updated