atlas

Research map / Multi-agent systems and games / LLM agents

Opponent Shaping in LLM Agents

ICLR 2026 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent decision making

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.

Introduces ShapeLLM, a model-free opponent shaping method for transformer LLM agents, and shows a gemma-2-2b-it shaper can exploit or guide co-players in repeated 2x2 games (IPD, IMP, ICG, ISH, C-IPD).

Problem

Whether LLM agents, like RL agents, can shape co-players' learning dynamics through interaction alone, given that existing opponent shaping methods (LOLA, M-FOS, SHAPER) need higher-order derivatives, dual agents, or RNN architectures unavailable in transformers.

Approach

Adapts model-free opponent shaping to transformers by putting history (most recent joint action) and context (compressed cumulative state visitation counts across episodes) into natural-language prompts, and trains the shaper with PPO at the trial level while naive LLM opponents learn with PPO between episodes.

Key results

Surprising findings

Limitations

Experimental setup

Benchmarks: Iterated Prisoner's Dilemma Iterated Matching Pennies Iterated Chicken Game Iterated Stag Hunt Cooperative IPD

Metrics: average reward per step state visitation frequency

Baselines: naive learners (independent PPO) enriched-observation naive learner

Builds on: LOLA M-FOS SHAPER PPO QLoRA

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