atlas

Research map / Multi-agent systems and games / Games and equilibria

Evaluating LLMs in Open-Source Games

NeurIPS 2025 · Multi-agent systems and games › Games and equilibria · approach: Opponent modeling in competitive games · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Evaluates LLMs on predicting/classifying strategy code in the Iterated Prisoner's Dilemma (new SPARC benchmark) and studies emergent strategies, deception, and approximate program equilibria in LLM-vs-LLM open-source games (IPD and Coin Game) using Kimi-K2 agents.

Problem

Whether LLMs can understand opponent program code in game-theoretic settings and whether LLM agents submitting programs in open-source games reach cooperative program equilibria rather than exploitative ones.

Approach

Introduces SPARC, a strategic code classification benchmark built from Axelrod IPD strategies with masking and obfuscation, and runs repeated open-source games where LLMs write Python strategy programs under cooperative, deceptive, or payoff-maximizing objectives, analyzing the resulting code features and replicator dynamics.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Chain-of-Thought instead of Zero-Shot promptingMistral Small (24B) on SPARC Unmasked · SPARC Unmaskedaccuracy: 40.2% -> 79.7%Helped
Use Chain-of-Thought instead of Zero-Shot promptingLLMs on SPARC · SPARCaccuracyHelped
Mask class names and remove comments and docstrings (ablation)LLMs on SPARC · SPARC MaskedaccuracyNo clear effect
Obfuscate identifiers while preserving program logic (ablation)LLMs on SPARC · SPARC ObfuscatedaccuracyNo clear effect
Classify stochastic rather than deterministic strategiesLLMs on SPARC · SPARCaccuracyHurt
Set the agent objective to cooperative payoff maximization rather than payoff maximizationLLM agents in repeated open-source games · Coin Game and IPDpayoffMixed
Set the agent objective to deceptive payoff maximizationLLM agents in repeated open-source games · Coin Game and IPDpayoffNo clear effect
Use payoff-maximizing agents in evolutionary competitionKimi-K2 agents · Coin Gameevolutionary fitnessHelped
Use cooperative payoff-maximizing agentsKimi-K2 agents · IPDevolutionary fitnessHelped

Surprising findings

Limitations

Experimental setup

Datasets: SPARC (239 Axelrod IPD strategies)

Benchmarks: SPARC

Metrics: classification accuracy payoff replicator dynamics flow cyclomatic complexity Halstead effort Opponent Script Access Score strategy feature frequency

Baselines: Tit-for-Tat GPT-4.1 DeepSeek-V3 o4-mini DeepSeek-R1

Builds on: program equilibrium (Tennenholtz) Axelrod library

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy