Playing against your own code: program equilibrium, simulation and similarity
Explain how access to another program changes strategic interaction.
Loading video…
Playing against your own code: program equilibrium, simulation and similarity
The prisoner's dilemma separates individual incentives from joint benefit. Defection is individually attractive against either action in the familiar one-shot version, although both players would prefer mutual cooperation to mutual defection. Changing the interaction can change its equilibria. Repetition is one possibility; making programs visible to each other is another.
In program equilibrium, a player submits a program that receives the opponent's source code and selects an action. A strategy is therefore a program responding to another program, not just an unconditional action. Source-matching constructions can support cooperation, but they may be brittle: harmless differences in code can change how another program reacts.
Simulation-based programs take a different route by running their opponents. Recursive simulation immediately raises a termination problem. Grounding the recursion with a small chance of a direct action provides one way to make the construction workable. The formal model must specify its random choices and how those choices are shared or hidden.
Cooper and colleagues generalize earlier simulation-based constructions. Their results distinguish access to a shared source of randomness from settings without it. Shared randomness supports a folk theorem for their programs; without it, achievable equilibria have additional limits. The takeaway is conditional support for cooperative outcomes, not inevitable cooperation by every transparent program.
Similarity-based cooperative equilibrium asks whether a compressed similarity signal can support outcomes otherwise requiring full transparency. The collaborative theory paper studies that possibility and simple learning procedures. A signal is still part of a formal mechanism with specified incentives and information. It should not be equated with an everyday feeling that another agent seems familiar.
The newer LLM similarity study supplies a different kind of evidence. It reports substantial variation in how tested models use graded similarity cues. It is a preprint or workshop result, and its experimental observations do not prove the assumptions of a mathematical equilibrium theorem. Conversely, a theorem does not establish how a particular language model will behave.
A useful reading practice is to put the assumptions beside the conclusion: program access, available signals, randomness, termination and payoff structure. Then label empirical model tests separately. This prevents a conditional theoretical result from becoming an unsupported deployment guarantee.
Evidence guide: CONDITIONAL THEORY, earlier work and collaborative results; LLM similarity evidence is PREPRINT research.
Sources: [tennenholtz04], [oesterheld19], [cooper25], [oesterheld23], [kovarik24], [kundu26]. See the preserved source map and bibliography.