Skip to content
DraconiticResearch
Search Sources API
201,683 studies31 sourcesUpdated 23 min ago
PreprintCC BY 4.0arXiv

Beyond Successful Play: Diagnosing Opponent Modeling in Large Language Models

Abstract

Language-model agents are expected to adapt to others whose behavior changes through interaction. Yet adaptation may rely on learned behavioral patterns rather than theory of mind (ToM): the ability to infer others' mental states, including beliefs and intentions. We introduce a benchmark and diagnostic framework for repeated hide-and-seek against algorithmic opponents with explicitly defined recursive belief updates. Their ground-truth beliefs and action probabilities let us distinguish adaptive play, action prediction, and belief tracking through live interaction, fixed-history evaluation, and controlled information interventions. With structured elicitation and behavioral supervised fine-tuning (SFT), we find improved play in several tested settings, but diagnostics reveal limitations in opponent prediction and belief tracking. We test whether supervising opponent action probabilities can address this predictive deficit in Qwen2.5-7B-Instruct. Predictions improve when the model is told the opponent's type and parameter settings, but become less accurate when it must infer the opponent from history without this information. Training on examples that also omit these details reduces the gap, although improvements vary across opponents. Is this limitation specific to smaller open-weight models, or does it also appear in a frontier model? GPT-5.4 also benefits from correct opponent beliefs: supplying them improves its predictions and choices, whereas deeper explicit belief reports and self-generated memory do not consistently improve forecasting from interaction history. This contrast suggests that using useful belief information is easier than inferring it autonomously, even for a frontier model. Together, our findings distinguish improved play and action prediction from reliable belief tracking, providing a framework for evaluating mentalizing and testing targeted improvements.

Related

  1. The Role of Working Memory in Reward-based Learning over Long Timeframes: Opponent Bootstrapping and Interference Effects of Working Memory on Incremental Learning
    Yiwen Zhang, Xitong Chen, Benjamin Rottman +1
    PsyArXivPreprintCC BY 4.0Full textNeuroscienceOSF
  2. Discovery of microbial intergenic features with genomic language modeling and multimodal search
    N. Zulaybar, M. Tranzillo, R. Silverstein +2
    bioRxivPreprintCC BY-NCFull textMicrobiologybioRxiv
  3. Protein Language Models: Learning From Evolution, Designing Beyond It
    M. Brenner, J. Schlensok, A. Plaikner +2
    bioRxivPreprintCC BY-NC-NDFull textBioinformatics & computational biologybioRxiv
  4. Generative Design of New-to-nature Biosynthetic Assembly Lines with Genomic Language Modeling
    N. Lanclos, K. Ibrahim, A. Cornman +11
    bioRxivPreprintCC BY-NCFull textSystems & synthetic biologybioRxiv
  5. ProtModernBERT: Compute-Efficient Protein Language Modeling
    Alberto Martínez, Natalia Flechas Manrique, Llorenç Espinosa-Portalés +1
    arXivPreprintarXiv licenceFull textBioinformatics & computational biologyarXiv
BibTeX
@misc{xie2026beyond,
  title = {{Beyond Successful Play: Diagnosing Opponent Modeling in Large Language Models}},
  author = {Hanbo Xie and Yue Zhao and Robert C. Wilson},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.17310},
  eprint = {2610.17310},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.17310},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Beyond Successful Play: Diagnosing Opponent Modeling in Large Language Models
AU  - Hanbo Xie
AU  - Yue Zhao
AU  - Robert C. Wilson
PY  - 2026
DA  - 2026/10/12
PB  - arXiv
DO  - 10.48550/arxiv.2610.17310
UR  - https://arxiv.org/abs/2610.17310
AB  - Language-model agents are expected to adapt to others whose behavior changes through interaction. Yet adaptation may rely on learned behavioral patterns rather than theory of mind (ToM): the ability to infer others' mental states, including beliefs and intentions. We introduce a benchmark and diagnostic framework for repeated hide-and-seek against algorithmic opponents with explicitly defined recursive belief updates. Their ground-truth beliefs and action probabilities let us distinguish adaptive play, action prediction, and belief tracking through live interaction, fixed-history evaluation, and controlled information interventions. With structured elicitation and behavioral supervised fine-tuning (SFT), we find improved play in several tested settings, but diagnostics reveal limitations in opponent prediction and belief tracking. We test whether supervising opponent action probabilities can address this predictive deficit in Qwen2.5-7B-Instruct. Predictions improve when the model is told the opponent's type and parameter settings, but become less accurate when it must infer the opponent from history without this information. Training on examples that also omit these details reduces the gap, although improvements vary across opponents. Is this limitation specific to smaller open-weight models, or does it also appear in a frontier model? GPT-5.4 also benefits from correct opponent beliefs: supplying them improves its predictions and choices, whereas deeper explicit belief reports and self-generated memory do not consistently improve forecasting from interaction history. This contrast suggests that using useful belief information is easier than inferring it autonomously, even for a frontier model. Together, our findings distinguish improved play and action prediction from reliable belief tracking, providing a framework for evaluating mentalizing and testing targeted improvements.
ER  -