Skip to main content
QUICK REVIEW

[Paper Review] Large language models can segment narrative events similarly to humans

Sebastian Michelmann, M. Kumar|arXiv (Cornell University)|Jan 24, 2023
Topic ModelingComputer Science10 citations
TL;DR

GPT-3 can segment continuous narratives into discrete events in text, with boundaries significantly aligning with human consensus and often closer to consensus than individual human annotators.

ABSTRACT

Humans perceive discrete events such as "restaurant visits" and "train rides" in their continuous experience. One important prerequisite for studying human event perception is the ability of researchers to quantify when one event ends and another begins. Typically, this information is derived by aggregating behavioral annotations from several observers. Here we present an alternative computational approach where event boundaries are derived using a large language model, GPT-3, instead of using human annotations. We demonstrate that GPT-3 can segment continuous narrative text into events. GPT-3-annotated events are significantly correlated with human event annotations. Furthermore, these GPT-derived annotations achieve a good approximation of the "consensus" solution (obtained by averaging across human annotations); the boundaries identified by GPT-3 are closer to the consensus, on average, than boundaries identified by individual human annotators. This finding suggests that GPT-3 provides a feasible solution for automated event annotations, and it demonstrates a further parallel between human cognition and prediction in large language models. In the future, GPT-3 may thereby help to elucidate the principles underlying human event perception.

Motivation & Objective

  • Motivate scalable, automated event segmentation for naturalistic narratives.
  • Assess whether a large language model can identify event boundaries comparable to human annotations.
  • Evaluate how GPT-3-derived boundaries relate to human consensus and individual annotations.
  • Provide a continuous measure of event boundary probability from model outputs and compare it to human agreement.
  • Make code available to enable replication and adoption in cognitive science research.

Proposed method

  • Prompt GPT-3 (text-davinci-002) with a word-for-word prompt to segment stories into events.
  • Use a sliding window to accommodate GPT-3 context length across three stories of varying length.
  • Extract event boundaries from newline tokens and map them to transcript time axes via token alignment and dynamic time warping.
  • Compute a continuous event-boundary probability from the log-probability of newline tokens and interpolate to human timing.
  • Compare GPT-3 boundaries to human consensus using Hamming distance and permutation tests.
  • Assess cross-correlations between GPT-3 boundary probabilities and human button-press probabilities across stories.

Experimental results

Research questions

  • RQ1Can GPT-3 segment narrative text into discrete events in a way that aligns with human event boundaries?
  • RQ2Do GPT-3-derived boundaries approximate the consensus solution better than individual human annotators?
  • RQ3Is the model-derived continuous boundary probability correlated with human agreement?
  • RQ4How does segmenting into long events affect alignment with human consensus?
  • RQ5How do GPT-3 boundaries compare to human boundaries across multiple stories of different lengths?

Key findings

  • GPT-3 segmented three stories into events with varying counts (e.g., Pieman: 23 events; Monkey in the Middle: 88; Tunnel Under the World: 139) and showed significant alignment with consensus human annotations (e.g., Hamming distances around 0.245–0.264, p-values < 0.05).
  • Prompting for long events reduced boundaries (Pieman: 14; Monkey in the Middle: 59; Tunnel Under the World: 76) and yielded closer alignment to the consensus (lower Hamming distances, some p-values < 0.01).
  • GPT-3-derived boundaries were, on average, closer to the human consensus than individual human annotations, with significant results in multiple comparisons (e.g., Pieman first run: GPT-3 distance 0.261 vs human 0.281, p=0.045).
  • Continuous boundary probability from GPT-3 (log-probability of newline) significantly correlated with continuous human boundary agreement (zero-lag correlations up to r=0.362 for Pieman second run, p<0.001).
  • Across stories, GPT-3 boundaries approached the consensus solution better than individual participants, supporting GPT-3 as a scalable automated annotation tool for event segmentation.

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.