Game Theory with Simulation of Other Players

Vojtech Kovarík, Caspar Oesterheld, Vincent Conitzer

Abstract

Game-theoretic interactions with AI agents could differ from traditional human-human interactions in various ways. One such difference is that it may be possible to simulate an AI agent (for example because its source code is known), which allows others to accurately predict the agent's actions. This could lower the bar for trust and cooperation. In this paper, we formalize games in which one player can simulate another at a cost. We first derive some basic properties of such games and then prove a number of results for them, including: (1) introducing simulation into generic-payoff normal-form games makes them easier to solve; (2) if the only obstacle to cooperation is a lack of trust in the possibly-simulated agent, simulation enables equilibria that improve the outcome for both agents; and however (3) there are settings where introducing simulation results in strictly worse outcomes for both players.

Introduction: The Transparency of AI Agents

Traditional game theory was designed with humans in mind—entities whose internal decision-making processes are opaque. However, in a world of interacting AI agents, one agent might have access to another's source code. This allows for simulation: the ability to accurately predict an opponent's move before the game even starts. This paper addresses a fundamental gap: how does the strategic landscape change when simulation is possible but comes at a cost, such as computational overhead or technical analysis? We explore whether this transparency inherently fosters cooperation or if it introduces new ways for rational agents to fail.

Formalizing Simulation Games

We formalize Simulation Games as a variation of standard normal-form games. In this framework, Player 1 (the Simulator) has the option to play a standard action or pay a cost $c$ to simulate Player 2 (the Simulated). If Player 1 chooses to simulate, they learn exactly what Player 2 will do and then play a "best response" to that action. Crucially, Player 2 does not know if they are being simulated when they commit to their strategy.

Comparison between a standard trust game (left) and its extension into a simulation game (right).

Equilibrium Analysis and Behavior Scaling

The paper uses mathematical proofs to analyze the structure of Nash Equilibria (NE) in these games. A key finding is the Indifference Principle: if Player 1 simulates with a probability between 0 and 1, the "Value of Information" gained from that simulation must exactly equal the simulation cost $c$.

Furthermore, we observe counter-intuitive scaling in simulation behavior. One might expect that as simulation gets cheaper, it is used more frequently. However, the simulation rate is dictated by the need to keep the other player's trade-offs in balance. This leads to piecewise constant or linear trajectories of behavior as the cost $c$ varies, rather than a simple monotonic increase.

Simulation probability (p) as a function of simulation cost (c), showing piecewise linear behavior.

Strategic Outcomes: Trust and Backfiring

Simulation can act as a powerful "commitment device" in Trust Games. In scenarios where the only barrier to cooperation is a lack of trust, simulation allows Player 1 to verify Player 2’s intent. This enables a cooperative outcome that is impossible in the original game, representing a Pareto improvement for both parties.

However, simulation can also backfire. In some cases, the mere possibility of being simulated makes Player 2 reluctant to cooperate. If their optimal strategy relies on a degree of privacy or unpredictability, they may shift to a less beneficial strategy to avoid being exploited by a best-responding simulator, potentially leaving both players worse off than if simulation were impossible.

Computational Complexity and Key Results

Our analysis yields several key results regarding the complexity and nature of these games:

  • Generic Games: For games with typical random payoffs, finding all equilibria with simulation is surprisingly efficient, taking only linear time $O(|A|)$ relative to the number of actions.
  • General Hardness: For non-generic games, determining if simulation will actually benefit the players (a Pareto improvement) is co-NP-hard.
  • Zero-Sum Games: In purely competitive settings, simulation only benefits the simulator, as expected.
  • Pareto Improvements: For a broad class of "generalized trust games," simulation at a sufficiently low cost always admits a Nash Equilibrium that is strictly better for both players than any equilibrium in the original game.

Limitations and Future Directions

The current model assumes perfect reliability—that simulation is 100% accurate and the provided source code is genuine. Future work should address scenarios where agents might provide "fake" code or change their policy after being simulated. Additionally, while this paper focuses on asymmetric simulation, exploring mutual simulation (where both agents read each other's code) could reveal complex recursive dynamics. Finally, extending these concepts from one-shot normal-form games to multi-stage extensive-form games would better represent real-world AI interactions.

Summary updated

BibTeX
@inproceedings{kovarik2023game,
  author = {Vojtech Kovarík and Caspar Oesterheld and Vincent Conitzer},
  title = {{Game Theory with Simulation of Other Players}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/312},
}
Figure