AutoToM: Scaling Model-based Mental Inference via Automated Agent Modeling
Zhining Zhang, Chuanyang Jin, Mung Yao Jia, Shunchi Zhang, Tianmin Shu
TL;DR
AutoToM presents a fully automated, model-based Theory of Mind framework that uses Bayesian inverse planning with an LLM backend and automated agent model discovery to infer any mental state across diverse domains. By jointly learning suitable agent models, timesteps, and hypotheses, the approach achieves strong performance across five ToM benchmarks and cognitive studies, outperforming prompting-based LLMs and prior model-based methods. The framework also yields human-like confidence estimates and supports online, embodied decision-making, demonstrating practical applicability for interactive AI systems. Overall, AutoToM offers a scalable, robust, and interpretable pathway toward cognitively grounded machine Theory of Mind.
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.
