Abstract
Theory of Mind (ToM)—the capacity to attribute mental states such as beliefs, desires, and intentions to oneself and others—is a fundamental pillar of human social intelligence. While the emergence of ToM in Large Language Models (LLMs) is a subject of intense debate, current evaluation methodologies often suffer from narrow scope, data leakage, and a reliance on linguistic shortcuts. This paper proposes a holistic taxonomy, ATOMS (Abilities in Theory of Mind Space), and advocates for situated evaluation to more accurately measure machine ToM. By treating LLMs as agents within simulated environments rather than passive observers of text, we provide a more robust assessment of their social reasoning capabilities. A pilot study in a grid-world environment demonstrates that while models like GPT-4 show promise in basic intention recognition, they continue to struggle with higher-order reasoning and spatial grounding.
Introduction
The question of whether LLMs possess Theory of Mind has divided the research community. Proponents point to successful performance on classic benchmarks like the Sally-Anne test as evidence of emergent intelligence, while skeptics argue that these models are "stochastic parrots" exploiting statistical patterns or memorized training data.
We identify three primary roadblocks in the current landscape:
- Limited Scope: Most benchmarks focus disproportionately on "False Beliefs," neglecting other critical dimensions of social cognition.
- Data Contamination: Standard ToM narratives are prevalent in training sets, allowing models to solve tasks via recall rather than reasoning.
- Lack of Grounding: Traditional tests are "story-based," positioning the model as a passive reader rather than an active participant in a social context.
To address these issues, we propose a transition toward a holistic, situated framework for evaluating machine ToM.
The ATOMS Taxonomy
To move beyond binary "has/has-not" assessments of ToM, we adopt the ATOMS (Abilities in Theory of Mind Space) framework. This taxonomy decomposes ToM into seven distinct mental state categories derived from developmental psychology:
- Beliefs: Understanding what an agent thinks to be true (including false beliefs).
- Intentions: Recognizing an agent's goals or planned actions.
- Desires: Identifying what an agent wants or prefers.
- Emotions: Inferring affective states based on outcomes or situations.
- Knowledge: Distinguishing between what an agent knows versus what is unknown to them.
- Percepts: Understanding what an agent can see or sense within their environment.
- Non-literal Communication: Grasping sarcasm, irony, or implied meaning.
By mapping existing benchmarks against these categories, we reveal significant gaps in current research, particularly in the areas of percepts and complex desires.
Situated Evaluation: From Stories to Environments
We argue that ToM is inherently situated—it arises from agents interacting within a shared physical and social space. To test this, we utilize MiniGrid, a 2D grid-world environment, to conduct a pilot study. In this setup, the LLM is not merely reading a story; it is provided with a text-based description of a grid layout and a sequence of agent trajectories. The model must then infer the agent's mental state based on its movement patterns and environmental constraints.
This approach offers several advantages:
- Mitigating Shortcuts: Randomized grid layouts prevent models from relying on fixed linguistic patterns found in common stories.
- Physical Grounding: It requires the model to reconcile social reasoning with spatial logic.
- Symmetry: It paves the way for "Mutual ToM," where the AI and humans interact as co-present agents.
Pilot Study and Results
We evaluated GPT-3.5 and GPT-4 using a dataset of 1,000 instances across 10 tasks, ranging from basic spatial "Reality Checks" to Second-order Beliefs (reasoning about what Agent A thinks Agent B believes).
Key Findings:
- The Performance Gap: GPT-4 significantly outperforms GPT-3.5, achieving up to 96% accuracy in long-term intention tasks. However, both models struggle as complexity increases.
- Higher-Order Reasoning: Performance drops sharply on Second-order Beliefs and Desires, suggesting that deep recursive social reasoning remains a challenge for current architectures.
- The Grounding Bottleneck: A "Reality Check" task revealed that GPT-3.5 often fails at basic spatial awareness (e.g., determining which item is closer). This suggests that many ToM failures in LLMs may actually be rooted in a lack of fundamental physical grounding.
- Fragility of Reasoning: While Chain-of-Thought (CoT) prompting generally improves performance, the models remain highly sensitive to prompt structure, indicating that their social "understanding" is not yet robust.
Conclusion and Future Work
Evaluating ToM in LLMs requires moving beyond simple text templates toward a holistic and situated approach. The ATOMS taxonomy provides a roadmap for covering the full spectrum of social cognition, while situated environments like MiniGrid offer a more rigorous testing ground.
Future research should focus on scaling these environments to 3D spaces and exploring "Mutual ToM," where AI agents must maintain dynamic mental models of human partners in real-time interaction. By positioning LLMs as situated agents, we can better understand the true extent—and limits—of their social intelligence.
For more information and access to the benchmarks, visit our project page: https://github.com/Mars-tin/awesome-theory-of-mind
Summary updated