AutoToM: Scaling Model-based Mental Inference via Automated Agent Modeling

Zhining Zhang, Chuanyang Jin, Mung Yao Jia, Shunchi Zhang, Tianmin Shu
2/21/2025
cs.AIcs.CL

No official code found. Best implementation: SCAI-JHU/AutoToM (46 stars, last commit 2026-03-28).

Abstract

Theory of Mind (ToM), the ability to understand people's minds based on their behavior, is key to developing socially intelligent agents. Current approaches to ToM reasoning either rely on prompting Large Language Models (LLMs), which are prone to systematic errors, or use handcrafted, rigid agent models for model-based inference, which are more robust but fail to generalize across domains. In this work, we introduce AutoToM, an automated agent modeling method for scalable, robust, and interpretable mental inference. Given a ToM problem, AutoToM first proposes an initial agent model and then performs automated Bayesian inverse planning based on this model, leveraging an LLM backend. Guided by inference uncertainty, it iteratively refines the model by introducing additional mental variables and/or incorporating more timesteps in the context. Across five diverse benchmarks, AutoToM outperforms existing ToM methods and even large reasoning models. Additionally, we show that AutoToM can produce human-like confidence estimates and enable online mental inference for embodied decision-making.

View on arXivView PDF

Code Implementations(1)

SCAI-JHU/AutoToMCommunity100%

[NeurIPS 2025 𝐒𝐩𝐨𝐭π₯𝐒𝐠𝐑𝐭] AutoToM: Scaling Model-based Mental Inference via Automated Agent Modeling

469Python, Jupyter NotebookFeb 18, 20256 months ago
theory-of-mind

Similar Papers

Cite this paper

@article{zhang2025autotom,
  title  = {AutoToM: Scaling Model-based Mental Inference via Automated Agent Modeling},
  author = {Zhining Zhang and Chuanyang Jin and Mung Yao Jia and Shunchi Zhang and Tianmin Shu},
  year   = {2025},
  eprint = {2502.15676},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.15676v3}
}

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/2502.15676.svg)](https://codeofpaper.com/paper/2502.15676)

Discussion