Hypothetical Minds: Scaffolding Theory of Mind for Multi-Agent Tasks with Large Language Models

L. Cross, Violet Xiang, Agam Bhatia, Daniel L. K. Yamins, Nick Haber
2/12/2026

No official code found. Best implementation: locross93/Hypothetical-Minds (64 stars, MIT, last commit 2024-07-13).

Abstract

Multi-agent reinforcement learning (MARL) methods struggle with the non-stationarity of multi-agent systems and fail to adaptively learn online when tested with novel agents. Here, we leverage large language models (LLMs) to create an autonomous agent that can handle these challenges. Our agent, Hypothetical Minds, consists of a cognitively-inspired architecture, featuring modular components for perception, memory, and hierarchical planning over two levels of abstraction. We introduce the Theory of Mind module that scaffolds the high-level planning process by generating hypotheses about other agents' strategies in natural language. It then evaluates and iteratively refines these hypotheses by reinforcing hypotheses that make correct predictions about the other agents' behavior. Hypothetical Minds significantly improves performance over previous LLM-agent and RL baselines on a range of competitive, mixed motive, and collaborative domains in the Melting Pot benchmark, including both dyadic and population-based environments. Additionally, comparisons against LLM-agent baselines and ablations reveal the importance of hypothesis evaluation and refinement for succeeding on complex scenarios.

View on arXivView PDF

Code Implementations(1)

MIT

Hypothetical Minds is an autonomous LLM-based agent for diverse multi-agent settings, integrating a Theory of Mind module Theory of Mind module that scaffolds the high-level planning process by generating, evaluating, and refining hypotheses about other agents’ strategies in natural language.

647Shell, PythonJun 20, 20242 years agoMIT

Similar Papers

Cite this paper

@article{cross2026hypothetical,
  title  = {Hypothetical Minds: Scaffolding Theory of Mind for Multi-Agent Tasks with Large Language Models},
  author = {L. Cross and Violet Xiang and Agam Bhatia and Daniel L. K. Yamins and Nick Haber},
  year   = {2026},
  eprint = {2407.07086},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.07086},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.07086.svg)](https://codeofpaper.com/paper/2407.07086)

Discussion