atlas

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

Do LLM Agents Have Regret? A Case Study in Online Learning and Games

ICLR 2025 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent decision making · 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.

Empirically tests whether LLM agents (GPT-4, GPT-4 Turbo, GPT-4o, GPT-3.5) are no-regret in online learning and repeated games, gives a hypothetical quantal-response explanation, and proposes an unsupervised regret-loss that trains transformers toward no-regret (FTRL-like) behavior.

Problem

Whether LLM agents achieve sublinear regret in online learning and multi-agent repeated games, which has not been quantitatively characterized, and how to promote no-regret behavior without optimal-action labels.

Approach

Measure LLM regret directly in non-stochastic online learning and repeated games with finite-horizon statistical trend tests and log-log regression; explain the behavior via a pre-training model yielding quantal response (FTPL-like); and train transformers with an unsupervised max-regret surrogate loss (regret-loss) that provably yields FTRL when using single-layer linear self-attention.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GPT-4o on uniform, Gaussian, linear-trend, and sine-trend loss sequences through T=500GPT-4o · Online learning, T=500regret exponent: 0.85, 0.86, 0.83, 0.28Helped
Replace raw history with summarized history (ablation)GPT-4 on the second canonical FTL counterexample · Adversarial loss sequence, T=500regretHurt
Train a Transformer using regret-loss instead of relying on the pre-trained GPT-4Transformer online learner · Noisy alternating and adaptive loss sequencesregretHelped
Add re-weighting to GPT-4o's bandit inputGPT-4o · Hard MAB instance, T=100SuffFailFreq(T/2): $0.2$ -> $0.00$Helped
Add re-weighting to GPT-4's bandit inputGPT-4 · Hard MAB instance, T=100n*MinFrac: $0.38$ -> $0.27$Helped
Add re-weighting to GPT-4o's bandit inputGPT-4o · Hard MAB instance, T=100median reward: $0.455$ -> $0.475$Helped
Add re-weighting to GPT-4's bandit inputGPT-4 · Hard MAB instance, T=100median reward: $0.46$ -> $0.46$No clear effect

Surprising findings

Limitations

Experimental setup

Benchmarks: canonical FTL counterexamples noisy alternating loss sequence adaptive loss sequence six representative general-sum games randomly generated multi-player games hard MAB instance (Krishnamurthy et al.)

Metrics: external regret dynamic regret trend-test p-value log-log regression slope median reward SuffFailFreq

Baselines: FTRL FTPL EXP3 Restart FTRL/FTPL Thompson Sampling UCB

Builds on: follow-the-regularized-leader follow-the-perturbed-leader quantal response model in-context learning theory for transformers

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