Scope Ambiguities in Large Language Models

Gaurav Kamath, Sebastian Schuster, Sowmya Vajjala, Siva Reddy · DOI

TL;DR

This paper investigates how modern Large Language Models (LLMs) handle scope ambiguity—sentences like "Every farmer owns a donkey" that have multiple valid interpretations. The researchers found that while smaller models struggle, advanced models like GPT-4 and Llama 2-70B are remarkably sensitive to these ambiguities, matching human preferences with over 90% accuracy and demonstrating an implicit understanding of the multiple meanings available in a single sentence.

What Problem Does This Paper Address?

In linguistics, scope ambiguity occurs when a sentence contains multiple "semantic operators" (like every, a, not, or usually) that can interact in different ways. For example, "Every farmer owns a donkey" could mean each farmer has their own donkey (surface scope) or there is one specific donkey they all share (inverse scope).

Humans usually disambiguate these effortlessly using world knowledge—we know farmers don't typically share a single donkey. For AI, this is a significant challenge because it requires integrating abstract linguistic structure with common-sense reasoning. While symbolic logic handles this with clear formulas, it has been unclear whether the vector-based representations in LLMs can capture these subtle, overlapping meanings.

Methods

The authors conducted two main experiments across a range of models, including GPT-2, GPT-3/3.5, Llama 2, and GPT-4.

  1. Experiment 1 (Preference): The models were given an ambiguous sentence followed by two options representing the different readings. They were asked to pick the "most likely" one. To ensure the models weren't just picking the most plausible-sounding statement regardless of the prompt, the team used a control setting where the ambiguous sentence was removed.
  2. Experiment 2 (Sensitivity): This experiment tested if models recognize that a sentence is ambiguous. The researchers compared the probabilities a model assigned to two different continuations. They developed an $\alpha$-score (ambiguity recognition score) to measure how much more "open" a model is to multiple interpretations in an ambiguous sentence compared to a nearly identical, but unambiguous, control sentence.
Figure 1: A high-level overview of our study, showing our approaches to our first (see Section 4) and second (see Section 5) experiments.

Datasets

The researchers introduced two novel datasets, totaling nearly 1,000 unique scope-ambiguous sentences.

  • Experiment 1 Dataset: 837 unique sentences (expanded from LSAT logic puzzles) covering interactions between quantifiers and negation.
  • Experiment 2 Dataset: 110 unique datapoints specifically designed to have two balanced, accessible readings, avoiding cases where one meaning is overwhelmingly more likely.
  • Human Baselines: All data was validated by human participants via Prolific to establish "gold standard" preferences and naturalness ratings.
Breakdown of interaction types and counts across the experiments.

Key Insights and Ideas

  • Implicit vs. Explicit Knowledge: A major finding is that LLMs perform much better when tested implicitly (via probability of continuations or Q&A) than when asked explicitly to perform meta-linguistic tasks (like logical parsing). This suggests that previous studies claiming LLMs "can't model ambiguity" might have been underestimating them by using the wrong testing format.
  • World Knowledge Integration: Models successfully used world knowledge to disambiguate. For instance, they correctly preferred the surface scope for "Every attendee ate a Big Mac" but the inverse scope for "Every attendee attended a networking event."
  • Scaling Laws for Linguistics: There is a clear performance gap based on model size. Llama 2-70B performed significantly better than its 7B counterpart, and GPT-4 was the top performer across the board.
  • The "Inverse Scope" Penalty: Similar to humans, models generally found inverse scope readings (which are linguistically more complex) harder to access than surface scope readings.

Key Results

  • Human-Level Preference: GPT-4 achieved 98% accuracy in matching human preferences for scope readings, effectively reaching the ceiling of human performance (~90% agreement).
  • Sensitivity to Ambiguity: In Experiment 2, advanced models showed a high correlation with human naturalness ratings. GPT-3.5 (text-davinci-003) and Llama 2-13B were particularly consistent, yielding positive $\alpha$-scores for over 90% of the test cases.
  • Robustness: The drop in performance in the control settings (where the ambiguous sentence was removed) proved that the models were actually processing the prompt, not just relying on the inherent likelihood of the answer choices.
Accuracy results for Experiment 1A, showing GPT-4's near-perfect performance.

Limitations and Future Work

  • Language Constraint: The study was limited to English. Scope ambiguity manifests differently across languages (e.g., some languages are less ambiguous due to different word orders).
  • Contextual Effects: The paper did not explore how a larger paragraph of context might flip a model's preference (e.g., a story about a shared donkey).
  • The "Black Box" Problem: While the study proves LLMs can handle scope, it doesn't explain how they do it. The authors suggest that future work using causal mediation analysis could help pinpoint where these scope representations live within the model's layers.

Summary updated

BibTeX
@article{kamath2024scope,
  author = {Gaurav Kamath and Sebastian Schuster and Sowmya Vajjala and Siva Reddy},
  title = {{Scope Ambiguities in Large Language Models}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2024},
  doi = {10.1162/tacl\_a\_00670},
}
Figure