A fine-grained comparison of pragmatic language understanding in humans and language models

Jennifer Hu, Sammy Floyd, Olessia Jouravlev, Evelina Fedorenko, Edward Gibson
12/13/2022
cs.CLcs.AI

Official code: jennhu/lm-pragmatics (13 stars, Jupyter Notebook, last commit 2022-12-14).

Abstract

Pragmatics and non-literal language understanding are essential to human communication, and present a long-standing challenge for artificial language models. We perform a fine-grained comparison of language models and humans on seven pragmatic phenomena, using zero-shot prompting on an expert-curated set of English materials.

Show full abstract

We ask whether models (1) select pragmatic interpretations of speaker utterances, (2) make similar error patterns as humans, and (3) use similar linguistic cues as humans to solve the tasks. We find that the largest models achieve high accuracy and match human error patterns: within incorrect responses, models favor literal interpretations over heuristic-based distractors. We also find preliminary evidence that models and humans are sensitive to similar linguistic cues. Our results suggest that pragmatic behaviors can emerge in models without explicitly constructed representations of mental states. However, models tend to struggle with phenomena relying on social expectation violations.

View on arXivView PDF

Code Implementations(1)

Code and data for "A fine-grained comparison of pragmatic language understanding in humans and language models"

137Jupyter Notebook, PythonDec 11, 20223 years ago

Similar Papers

Cite this paper

@article{hu2022finegrained,
  title  = {A fine-grained comparison of pragmatic language understanding in humans and language models},
  author = {Jennifer Hu and Sammy Floyd and Olessia Jouravlev and Evelina Fedorenko and Edward Gibson},
  year   = {2022},
  eprint = {2212.06801},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.06801}
}

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/2212.06801.svg)](https://codeofpaper.com/paper/2212.06801)

Discussion