Probing the Robustness of Theory of Mind in Large Language Models

Laura Schrewe, Christian Nickel, Lucie Flek

TL;DR

Large Language Models (LLMs) show promise in understanding human intentions and beliefs (Theory of Mind or ToM), but this ability is fragile and breaks down with minor task changes. This paper introduces a new, challenging dataset to test LLM ToM robustness, finding that even advanced open-source models still struggle with complex reasoning and dynamic scenarios.

What Problem Does This Paper Address?

Theory of Mind (ToM) is a fundamental human cognitive ability that allows us to infer the mental states (beliefs, intentions, desires) of others. This is crucial for social interaction, and as LLMs become more sophisticated, researchers are exploring whether they possess emergent ToM capabilities. While some studies suggest LLMs can perform well on basic ToM tasks, others have found that these abilities disappear when tasks are slightly modified, raising questions about whether LLMs truly understand mental states or are just pattern-matching. This paper aims to systematically investigate the robustness of ToM in LLMs, specifically addressing how well their performance holds up under variations and complexities that mimic real-world social reasoning challenges.

Methods

The core of this paper is a novel dataset designed to probe ToM robustness in LLMs. This dataset consists of 68 false belief tasks, categorized into 10 complexity classes. These classes include variations of existing ToM challenges as well as new ones like "automatic change knowledge" (requiring understanding of environmental dynamics) and "untrustworthy testimony" (evaluating credibility of information). To ensure models aren't just guessing or relying on superficial cues, each task includes 15 additional "sanity check" sub-tasks. A specific design element involves swapping decisive objects in scenarios to prevent models from exploiting statistical regularities. The authors evaluate four prominent open-source LLMs: Llama-2-70B, Vicuna-33B, Mixtral-8x7B, and Yi-34B-Chat. Model responses are assessed using two metrics: "turn accuracy" (correctness of individual sub-task answers) and "goal accuracy" (requiring all sub-tasks within a task to be answered correctly for success).

Datasets

The paper introduces a newly created dataset comprising 68 false belief tasks across 10 complexity classes. This dataset is designed to be more challenging than existing benchmarks by incorporating novel complexity categories and variations that test robustness. The authors do not mention using any other datasets for training or evaluation.

Key Insights and Ideas

  • ToM is Fragile in LLMs: Even when LLMs achieve high "turn accuracy" (correctly answering individual steps), their "goal accuracy" (solving the entire task correctly) is extremely low. This suggests a superficial understanding rather than deep reasoning.
  • Complexity Matters: LLMs struggle significantly with tasks requiring multi-step reasoning or understanding dynamic environmental changes ("automatic change knowledge"). This highlights a gap in their ability to model evolving situations.
  • Beyond Pattern Matching: The low goal accuracy across all models, even on seemingly simple tasks with minor variations, strongly suggests that current LLMs do not possess robust, human-like Theory of Mind. They are likely exploiting statistical patterns rather than truly inferring mental states.
  • Spatial Reasoning Challenges: Tasks involving preposition replacement reveal limitations in LLMs' ability to handle nuanced spatial reasoning, a component often intertwined with understanding perspectives.

Key Results

The evaluated LLMs performed significantly better than random guessing, but their overall performance was still limited.

  • Llama-2-70B achieved the highest turn accuracy at 73.71%, but its goal accuracy was very low, with most models failing to achieve any goal accuracy in more than one complexity class. The highest goal accuracy across all models was a mere 4.4% (achieved by Vicuna-33B).
  • Model-Specific Performance: Llama-2-70B excelled in "conclusion from sentiment" tasks (81.25% turn accuracy) but struggled with "automatic state change" (53.75% accuracy). Vicuna-33B had the lowest overall turn accuracy (58.00%). Mixtral-8x7B and Yi-34B-Chat showed comparable performance to Llama-2-70B in many categories, but also struggled with goal accuracy.
  • The "automatic change knowledge" complexity class proved particularly challenging for all models.

Limitations and Future Work

The authors acknowledge that the evaluated LLMs exhibit only limited ToM capabilities, falling short of robust performance. They suggest that future research should explore techniques like chain-of-thought prompting or specialized ToM reasoning modules (e.g., SIMTOM) to improve LLM performance. Additionally, they recommend including newer, more advanced models like GPT-4 in future evaluations, as prior studies suggest these might be more capable. The paper's focus on false belief tasks, while central to ToM, means other aspects of ToM are not explored.

Summary updated

Abstract

Theory of Mind (ToM) is considered essential in understanding the intentions and beliefs of others. Recent advancements in large language models (LLMs) like ChatGPT have sparked claims that these models exhibit ToM capabilities. However, follow-up studies reveal that these capabilities vanish with slight task variations. This paper introduces a novel dataset comprising 68 tasks across 10 complexity classes, probing ToM in four open-source LLMs. Our results show that ToM abilities in these models are still limited. We highlight challenges and suggest future research directions.
BibTeX
@inproceedings{schrewe2024probing,
  author = {Laura Schrewe and Christian Nickel and Lucie Flek},
  title = {{Probing the Robustness of Theory of Mind in Large Language Models}},
  booktitle = {WiNLP @ EMNLP},
  year = {2024},
  url = {https://openreview.net/forum?id=X8Mdv9qLOS},
}
Figure