Scaling Inference-Time Computation via Opponent Simulation: Enabling Online Strategic Adaptation in Repeated Negotiation
Organizations: Google Research · University of Maryland, College Park
Abstract
While large language models (LLMs) have emerged as powerful decision-makers across a wide range of single-agent and stationary environments, fewer efforts have been devoted to settings where LLMs must engage in repeated and strategic interactions with unknown or dynamic opponents. In such settings, recipes built upon offline pre-training or fine-tuning, though robust against worst-case adversaries, do not fully exploit the capability of LLMs to adapt online based on interaction feedback. Instead, we explore the more natural perspective of scaling inference-time computation as a mechanism for adaptation, embedding the principles of a classical game-theoretical learning dynamic, smooth Fictitious Play (sFP), into LLM inference: (i) for belief formation, we employ an auxiliary opponent model that in-context learns to imitate the time-averaged behavior of the opponent; (ii) for best response, we advance best-of- (BoN) sampling by simulating against the opponent model. Empirical evaluations on two distinct forms of repeated negotiation games demonstrate that our method enables significant performance improvement over repeated online interaction compared to various baselines, offering a scalable and principled approach to repeated strategic decision-making without any parameter updates.
Figures & tables
| Model | Method | Buyer-seller game | Resource exchange game | ||
| Buyer | Seller | Starts first | Starts second | ||
| Claude | Baseline w. thinking | +2.02 1.39 | -1.47 2.05 | +27.45 6.18 | -0.71 1.16 |
| BoN-eval | +0.68 1.56 | +2.06 1.75 | +20.69 7.19 | +1.56 0.40 | |
| BoN-simulation | +0.04 2.05 | +1.36 1.54 | +16.76 6.78 | -11.15 6.05 | |
| BoN-oppo (iid) | -1.16 0.98 | +2.78 1.67 | +28.00 6.01 | +0.19 0.56 | |
| BoN-oppo | +3.02 1.51 | +2.80 2.06 | +30.65 6.34 | +1.92 0.68 | |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Metric | Baseline | N=2 | N=4 | N=6 | N=8 | N=10 |
| Gemini | Reward | — | +4.27 3.87 | +12.13 5.86 | +12.93 3.46 | +11.60 3.13 | +12.73 5.43 |
| Token usage | 14.583 | 17.187 | 18.084 | 19.050 | 19.258 | 19.432 | |
| Claude | Reward | — | +3.07 5.80 | +4.73 4.89 | +3.67 3.92 | +5.33 5.76 | +6.47 5.33 |
| Token usage | 15.078 | 17.429 | 18.813 | 19.262 | 19.656 | 19.762 | |
| Qwen | Reward | — | +3.62 6.27 | +10.67 8.68 | +11.47 1.58 | +12.80 5.93 | +10.07 8.00 |
| Token usage | 15.079 | 17.375 | 18.275 | 18.591 | 19.125 | 19.588 |
| Model | Method | Buyer | Seller |
| Gemini against Claude | Baseline w. thinking | +0.63 0.60 | +0.80 3.75 |
| BoN-eval | +1.03 1.83 | -0.50 2.44 | |
| BoN-simulation | +5.53 3.45 | +1.03 4.39 | |
| BoN-oppo (iid) | +3.23 3.99 | -0.10 4.29 | |
| BoN-oppo | +6.94 2.96 | +4.86 2.43 | |
| Gemini against Qwen | Baseline w. thinking | +0.30 0.46 | -0.57 3.71 |
Repeated Games
Repeated games study how strategies, cooperation, and competition develop when players interact repeatedly and respond to past actions.
See all 21 papers