Explore Theory of Mind: Program-guided adversarial data generation for theory of mind reasoning
Melanie Sclar, Jane Yu, Maryam Fazel-Zarandi, Yulia Tsvetkov, Yonatan Bisk, Yejin Choi, Asli Celikyilmaz
TL;DR
ExploreToM introduces an A*-guided framework to generate diverse, challenging theory-of-mind data via a domain-specific narrative language, enabling robust evaluation and targeted training for LLMs. By separating story structure from lexical realization and grounding ground truth through a dedicated state tracker, it reveals deep weaknesses in current models (0%–9% accuracy on ExploreToM data) and demonstrates substantial downstream gains (up to +27 points on ToMi) when used for fine-tuning. The approach also exposes underlying skills needed for ToM, notably robust state tracking and data that explicitly requires theory of mind, while providing a scalable, adversarial benchmark resistant to data leakage. Overall, ExploreToM offers a principled, extensible path to both stress-test and systematically improve theory-of-mind reasoning in large language models, with broad implications for training data design and benchmark validity.
Abstract
Do large language models (LLMs) have theory of mind? A plethora of papers and benchmarks have been introduced to evaluate if current models have been able to develop this key ability of social intelligence. However, all rely on limited datasets with simple patterns that can potentially lead to problematic blind spots in evaluation and an overestimation of model capabilities. We introduce ExploreToM, the first framework to allow large-scale generation of diverse and challenging theory of mind data for robust training and evaluation. Our approach leverages an A* search over a custom domain-specific language to produce complex story structures and novel, diverse, yet plausible scenarios to stress test the limits of LLMs. Our evaluation reveals that state-of-the-art LLMs, such as Llama-3.1-70B and GPT-4o, show accuracies as low as 0% and 9% on ExploreToM-generated data, highlighting the need for more robust theory of mind evaluation. As our generations are a conceptual superset of prior work, fine-tuning on our data yields a 27-point accuracy improvement on the classic ToMi benchmark (Le et al., 2019). ExploreToM also enables uncovering underlying skills and factors missing for models to show theory of mind, such as unreliable state tracking or data imbalances, which may contribute to models' poor performance on benchmarks.
