Skip to main content
QUICK REVIEW

[论文解读] Understanding Social Reasoning in Language Models with Language Models

Kanishk Gandhi, Jan-Philipp Fränken|arXiv (Cornell University)|Jun 21, 2023
Topic ModelingComputer Science被引用 20
一句话总结

本论文介绍 BigToM,这是一个由模型生成的 Theory of Mind 基准,使用因果模板进行程序化生成 5,000 项,并评估多种大型语言模型,发现 GPT-4 显示出类人脑 ToM 模式,尽管存在局限。

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.

研究动机与目标

  • 开发一个可扩展、可控的框架,使用因果模板在大语言模型(LLMs)中评估 Theory of Mind(ToM)。
  • 创建一个合成的、由模型编写的 ToM 基准(BigToM),具有多种对照条件和 5,000 项。
  • 将模型表现与人类表现以及先前的众包/专家基准进行比较。
  • 评估模型生成的评估是否能够达到专家水平并为对大语言模型的 ToM 分析提供指导。

提出的方法

  • 将 ToM 场景表示为因果图,包含如欲望、知觉、信念和行动等变量。
  • 阶段1:构建一个因果模板,指定情境、代理、初始状态和一个因果事件。
  • 阶段2:通过提示 GPT-4 填充模板变量,为每个变量创建流畅的句子。
  • 阶段3:将模板句子缝合成测试故事和问题,针对每个模板生成 25 种条件(总计 5,000 项)。
  • 每个提示生成 3 个完成回答,并限制每个变量一条句子;聚焦于 Forward Belief、Forward Action 和 Backward Belief 条件并设置对照。
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

实验结果

研究问题

  • RQ1在真/假信念条件下,LLMs 能否从知觉推理出前瞻信念?
  • RQ2LLMs 是否能够仅凭知觉与信念推断出代理的行动,包括错误信念情境?
  • RQ3LLMs 是否能够从观测到的行动推断回到潜在的知觉与信念?
  • RQ4模型生成的 ToM 评估在质量上与众包和专家撰写的基准相比如何?
  • RQ5哪种提示策略(0-shot、1-shot、chain-of-thought)最能引导 LLMs 进行 ToM 推理?

主要发现

  • GPT-4 展示出与人类推理模式一致的 ToM 能力,特别是在真信念和回溯信念任务中,尽管在最难的推理水平上并非完美。
  • 大多数模型在前向信念,尤其是在假信念条件下的前向行动方面表现困难,GPT-4 在若干任务中最接近人类。
  • 回溯信念推断仍然是人类和模型共同面临的最大挑战,GPT-4 展现出相对更像人类的模式,但仍低于人类准确率。
  • 一次性提示和一次性链式思维提示在所有模型上均提升了性能,尽管这可能反映了模仿推理模板而非真正的 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

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。