HackerPapers

arXiv:2304.11490cs.AI

Boosting Theory-of-Mind Performance in Large Language Models via Prompting

Shima Rahimi Moghaddam, Christopher J. Honey

Abstract

Large language models (LLMs) excel in many tasks in 2023, but they still face challenges in complex reasoning. Theory-of-mind (ToM) tasks, which require understanding agents' beliefs, goals, and mental states, are essential for common-sense reasoning involving humans, making it crucial to enhance LLM performance in this area. This study measures the ToM performance of GPT-4 and three GPT-3.5 variants (Davinci-2, Davinci-3, GPT-3.5-Turbo), and investigates the effectiveness of in-context learning in improving their ToM comprehension. We evaluated prompts featuring two-shot chain of thought reasoning and step-by-step thinking instructions. We found that LLMs trained with Reinforcement Learning from Human Feedback (RLHF) (all models excluding Davinci-2) improved their ToM accuracy via in-context learning. GPT-4 performed best in zero-shot settings, reaching nearly 80% ToM accuracy, but still fell short of the 87% human accuracy on the test set. However, when supplied with prompts for in-context learning, all RLHF-trained LLMs exceeded 80% ToM accuracy, with GPT-4 reaching 100%. These results demonstrate that appropriate prompting enhances LLM ToM reasoning, and they underscore the context-dependent nature of LLM cognitive capacities.

arXiv comments
27 pages, 4 main figures, 2 supplementary figures
Journal reference
DOI
Subjects
cs.AIArtificial Intelligence cs.CLComputation and Language

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from May 2023 to Jul 2023. Found in 2 HN submissions from Apr 2023 to Apr 2023. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • I don't know how we'd go about comparing reflection to human baselines but GPT-4 can reflect just fine https://arxiv.org/abs/2303.11366 GPT-4's emotional intelligence seems to be very high by the looks of things https://arxiv.org/abs/2304.11490 Empathy =/ Intelligence

      famouswafflesView on HNParent context

    • > There's no underlying theory of mind here. Actually, there's some experimental evidence that GPT4 have a Theory of Mind as good as humans, maybe better. https://arxiv.org/abs/2304.11490 > GPT-4 performed best in zero-shot settings, reaching nearly 80% ToM accuracy, but still…

      rodoxcastaView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.