Back to Experiments

Exploratory experiment: Skeptical desire in multi-agent games

What was run

Gradient dynamics with the cosine-scaled projection are run on a 2-player zero-sum game, a 3-player coordination game, and the Prisoner's Dilemma. In the Prisoner's Dilemma three variants of the update are compared: no regularisation, a standard desire term, and a "skeptical desire" term that penalises strategies close to mutual defection when the welfare gap is large. The tables record the final strategies, welfare and convergence behaviour in each run. These are exploratory runs on small games; the numbers are the outcomes of the runs and nothing further is claimed for them.

Method

  1. Zero-sum game: 2-player matching pennies. Payoff matrix \(\begin{pmatrix}1 & -1 \\ -1 & 1\end{pmatrix}\). Run gradient dynamics with cosine-scaled projection for 1000 steps.
  2. 3-player coordination: Each player chooses strategy \(s_i \in [0, 1]\). Payoff is \(u_i = -|s_i - \bar{s}| + \epsilon_i\) where \(\bar{s}\) is the mean. Run with and without interaction matrix learning.
  3. Prisoner's Dilemma: Standard payoff matrix (T=5, R=3, P=1, S=0). Run three variants:
    • No regularisation (baseline)
    • Standard desire regularisation
    • Skeptical desire regularisation
  4. Measure: final strategy, social welfare, fraction of the welfare gap to mutual cooperation, convergence time.

Results

Zero-Sum Game

MethodPlayer 1 StrategyPlayer 2 StrategyExploitabilitySteps to settle
Gradient dynamics0.50 ± 0.120.50 ± 0.110.24Did not settle
With cosine projection0.500 ± 0.0030.500 ± 0.0030.006142

With the projection the run settles at the mixed strategy (0.5, 0.5), which is the game's Nash point; plain gradient dynamics oscillates around it.

3-Player Coordination

MethodStrategy VarianceMean PayoffSteps to settle
Independent0.0820.71340
Interaction matrix0.0110.9487

Prisoner's Dilemma

MethodP(Cooperate)Social WelfareFraction of gap closedMutual-defection welfare
No regularisation0.002.000.0%2.00
Standard desire0.413.2852.1%2.00
Skeptical desire0.725.3483.5%2.00

Mutual-cooperation welfare = 6.0; mutual-defection welfare = 2.0. The skeptical-desire run ends at welfare 5.34, 83.5% of the way from 2.0 to 6.0.

Convergence Dynamics

MethodSteps to settleOscillation AmplitudeFinal \(S\)
No regularisation450.0001.000
Standard desire2800.0310.871
Skeptical desire4100.0080.934

Observations

  • In matching pennies the projected dynamics settle at the mixed strategy (0.5, 0.5) within 142 steps; unprojected gradient dynamics does not settle within 1000 steps.
  • In the 3-player coordination game, learning the interaction matrix reduces strategy variance from 0.082 to 0.011 and the settling time from 340 to 87 steps in this run.
  • In the Prisoner's Dilemma, the skeptical-desire term adds a penalty on strategies near mutual defection when the welfare gap is large; the run ends at P(Cooperate) = 0.72 and welfare 5.34. The unregularised run ends at mutual defection (welfare 2.0).
  • The skeptical-desire run does not reach mutual cooperation; the temptation payoff still pulls toward defection.

Reproducibility

../simplex/build/sxc exp_nash_equilibrium.sx -o build/exp_nash_equilibrium.ll

OPENSSL_PREFIX=$(brew --prefix openssl)
clang -O2 build/exp_nash_equilibrium.ll \
  ../simplex/runtime/standalone_runtime.c \
  -o build/exp_nash_equilibrium \
  -lm -lssl -lcrypto -L${OPENSSL_PREFIX}/lib

./build/exp_nash_equilibrium

Related