Skip to main content
QUICK REVIEW

[Paper Review] Understanding Social Reasoning in Language Models with Language Models

Kanishk Gandhi, Jan-Philipp Fränken|arXiv (Cornell University)|Jun 21, 2023
Topic ModelingComputer Science20 citations
TL;DR

This paper introduces BigToM, a model-generated Theory of Mind benchmark using causal templates to procedurally produce 5,000 items, and evaluates diverse LLMs, finding GPT-4 shows human-like ToM patterns though with limits, while other models underperform.

ABSTRACT

As Large Language Models (LLMs) become increasingly integrated into our everyday lives, understanding their ability to comprehend human mental states becomes critical for ensuring effective interactions. However, despite the recent attempts to assess the Theory-of-Mind (ToM) reasoning capabilities of LLMs, the degree to which these models can align with human ToM remains a nuanced topic of exploration. This is primarily due to two distinct challenges: (1) the presence of inconsistent results from previous evaluations, and (2) concerns surrounding the validity of existing evaluation methodologies. To address these challenges, we present a novel framework for procedurally generating evaluations with LLMs by populating causal templates. Using our framework, we create a new social reasoning benchmark (BigToM) for LLMs which consists of 25 controls and 5,000 model-written evaluations. We find that human participants rate the quality of our benchmark higher than previous crowd-sourced evaluations and comparable to expert-written evaluations. Using BigToM, we evaluate the social reasoning capabilities of a variety of LLMs and compare model performances with human performance. Our results suggest that GPT4 has ToM capabilities that mirror human inference patterns, though less reliable, while other LLMs struggle.

Motivation & Objective

  • Develop a scalable, controllable framework to evaluate Theory of Mind (ToM) in LLMs using causal templates.
  • Create a synthetic, model-written ToM benchmark (BigToM) with diverse control conditions and 5,000 items.
  • Compare model performance to human performance and prior crowd-sourced/expert benchmarks.
  • Assess whether model-generated evaluations can match expert quality and guide ToM analysis in LLMs.

Proposed method

  • Represent ToM scenarios as causal graphs with variables like desires, percepts, beliefs, and actions.
  • Stage 1: build a causal template specifying context, agent, initial states, and a causal event.
  • Stage 2: populate templates by prompting GPT-4 to fill template variables, creating fluent sentences for each variable.
  • Stage 3: stitch template sentences into test stories and questions to generate 25 conditions per template (total 5,000 items).
  • Generate 3 completions per prompt and constrain to one sentence per variable; focus on Forward Belief, Forward Action, and Backward Belief conditions with controls.
Figure 1: Illustration of our template-based Theory-of-Mind (ToM) scenarios. [a] The causal template and an example scenario including prior desires, actions, and beliefs, and a causal event that changes the state of the environment. [b] Testing Forward Belief inference by manipulating an agent’s pe
Figure 1: Illustration of our template-based Theory-of-Mind (ToM) scenarios. [a] The causal template and an example scenario including prior desires, actions, and beliefs, and a causal event that changes the state of the environment. [b] Testing Forward Belief inference by manipulating an agent’s pe

Experimental results

Research questions

  • RQ1Can LLMs perform forward belief reasoning from percepts to beliefs under true/false belief conditions?
  • RQ2Can LLMs infer an agent’s action from percepts and beliefs, including false-belief scenarios?
  • RQ3Can LLMs perform backward belief inferences from observed actions to underlying percepts and beliefs?
  • RQ4How do model-generated ToM evaluations compare in quality to crowd-sourced and expert-written benchmarks?
  • RQ5Which prompting strategies (0-shot, 1-shot, chain-of-thought) best elicit ToM reasoning in LLMs?

Key findings

  • GPT-4 shows ToM capabilities that align with human inference patterns, particularly in true belief and backward belief tasks, though not perfectly at the hardest inference level.
  • Most models struggle with forward belief and especially forward action under false-belief conditions, with GPT-4 performing closest to humans in several tasks.
  • Backward belief inference remains the most challenging for both humans and models, with GPT-4 showing relatively more human-like patterns but still below human accuracy.
  • One-shot prompting and one-shot chain-of-thought prompts improve performance across models, though this can reflect mimicking reasoning templates rather than true ToM.
Figure 2: [a] Three-stage method for generating evaluations: Building a causal template for the domain (left). Creating a prompt template (simplified here; see Fig. 4 for the prompt) from the causal graph and populating template variables using a language model (middle). Composing test items by comb
Figure 2: [a] Three-stage method for generating evaluations: Building a causal template for the domain (left). Creating a prompt template (simplified here; see Fig. 4 for the prompt) from the causal graph and populating template variables using a language model (middle). Composing test items by comb

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.