A Notion of Complexity for Theory of Mind via Discrete World Models

X. Angelo Huang, Emanuele La Malfa, Samuele Marro, Andrea Asperti, Anthony G. Cohn, Michael J. Wooldridge

Introduction

Theory of Mind (ToM)—the cognitive ability to attribute mental states like beliefs, desires, and intentions to oneself and others—is a cornerstone of human social intelligence. While Large Language Models (LLMs) have demonstrated impressive capabilities in social reasoning, they frequently struggle with tasks that require tracking shifting beliefs over time. A recent paper from EMNLP 2024, "A Notion of Complexity for Theory of Mind via Discrete World Models," addresses this by formalizing ToM task complexity and introducing a structured prompting strategy to mitigate these failures.

Quantifying Social Complexity

The researchers define a task's complexity based on the number of "state events" a model must track, drawing on Cognitive Load Theory. This framework categorizes complexity into two types:

  • Stateful Complexity (Intrinsic Load): The number of changes to the target object or the agents' beliefs about it.
  • Stateless Complexity (Extraneous Load): Irrelevant changes or distractor events in the narrative that do not affect the core state.

The study found a strong correlation between these complexity scores and the error rates of state-of-the-art models like GPT-4 and LLaMA3, suggesting that state tracking is the primary bottleneck in ToM performance.

Discrete World Models (DWM)

To address these challenges, the authors developed Discrete World Models (DWM), a prompting strategy that forces LLMs to explicitly maintain a state-by-step record of the environment and agent beliefs. Instead of processing a scenario in a single pass, DWM breaks the input into sequences. After each event, the model is prompted to describe the current state of the world and the beliefs of every involved agent.

The DWM prompting technique tracks state changes and agent beliefs step-by-step to maintain a consistent world model.

This explicit "materialization" of information helps the model track what agents know—and, crucially, what they do not know—preventing the logic gaps common in standard reasoning paths.

Experimental Results

The DWM technique was evaluated across five diverse ToM benchmarks: ToMi, FANToM, MindGames, Adv-CSFB, and SocialIQA. DWM consistently outperformed standard Chain-of-Thought (CoT) and Tree-of-Thought (ToT) methods. For example, on the multi-party FANToM benchmark, DWM improved GPT-3.5's performance from approximately 40% to nearly 58%.

Qualitative Analysis

Qualitative analysis reveals that DWM effectively corrects "hallucinated" reasoning. In false-belief tasks where an agent is absent during a state change, standard CoT often incorrectly assumes the agent is aware of the change. DWM's structured belief tracking ensures the model maintains the agent's original, now-false belief.

A qualitative comparison shows DWM correctly identifying that Bob still believes the apple is on the table, whereas CoT incorrectly assumes he knows it moved.

Conclusion

By formalizing the complexity of social reasoning and providing a structured mental workspace through Discrete World Models, this research offers a path toward more robust social intelligence in AI. Moving beyond simple next-token prediction, DWM enables models to navigate the complex dance of human belief and interaction with greater accuracy and transparency.

Summary updated

BibTeX
@inproceedings{huang2024notion,
  author = {X. Angelo Huang and Emanuele La Malfa and Samuele Marro and Andrea Asperti and Anthony G. Cohn and Michael J. Wooldridge},
  title = {{A Notion of Complexity for Theory of Mind via Discrete World Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.167},
}
Figure