Towards Machine Theory of Mind with Large Language Model-Augmented Inverse Planning

Rebekah A. Gelpí, Eric Xue, William A. Cunningham
7/4/2025
cs.AIcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

We propose a hybrid approach to machine Theory of Mind (ToM) that uses large language models (LLMs) as a mechanism for generating hypotheses and likelihood functions with a Bayesian inverse planning model that computes posterior probabilities for an agent's likely mental states given its actions. Bayesian inverse planning models can accurately predict human reasoning on a variety of ToM tasks, but these models are constrained in their ability to scale these predictions to scenarios with a large number of possible hypotheses and actions. Conversely, LLM-based approaches have recently demonstrated promise in solving ToM benchmarks, but can exhibit brittleness and failures on reasoning tasks even when they pass otherwise structurally identical versions. By combining these two methods, this approach leverages the strengths of each component, closely matching optimal results on a task inspired by prior inverse planning models and improving performance relative to models that utilize LLMs alone or with chain-of-thought prompting, even with smaller LLMs that typically perform poorly on ToM tasks. We also exhibit the model's potential to predict mental states on open-ended tasks, offering a promising direction for future development of ToM models and the creation of socially intelligent generative agents.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gelp2025towards,
  title  = {Towards Machine Theory of Mind with Large Language Model-Augmented Inverse Planning},
  author = {Rebekah A. Gelpí and Eric Xue and William A. Cunningham},
  year   = {2025},
  eprint = {2507.03682},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.03682v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.03682.svg)](https://codeofpaper.com/paper/2507.03682)

Discussion