TL;DR
This paper investigates how large language models (LLMs) handle sentences with inherent meaning ambiguities (scope ambiguities), comparing their performance to human judgments. They found that advanced LLMs can accurately identify human-preferred readings and show sensitivity to these ambiguities, suggesting they capture underlying semantic structures.
What Problem Does This Paper Address?
Natural language is rife with ambiguity, and one fascinating type is "scope ambiguity." This occurs when the order of operations (like quantifiers such as "every" or "a") in a sentence can lead to multiple distinct meanings. For example, "Every farmer owns a donkey" could mean each farmer has their own unique donkey, or that there's a single donkey owned by all farmers. While humans are generally good at resolving these ambiguities, often using world knowledge, it's unclear how well modern LLMs handle them. This paper aims to bridge this gap by testing LLMs on scope-ambiguous sentences and comparing their interpretations to human preferences.
Methods
The researchers employed two main experimental approaches:
- Experiment 1 (Q&A Task): LLMs were presented with scope-ambiguous sentences and then given two options, each corresponding to one of the possible readings (surface or inverse scope). The models were asked to choose the more likely option. This was framed as a question-answering task. A control condition removed the ambiguous sentence to check if models were relying on general knowledge of the options rather than the sentence's meaning.
- Experiment 2 (Continuation Probability Task): This experiment focused on whether LLMs are sensitive to the presence of ambiguity itself. LLMs were given an ambiguous sentence and a non-ambiguous control sentence, along with two continuations. One continuation was plausible only with the inverse scope reading, and the other only with the surface scope reading. The researchers then analyzed the probabilities the LLM assigned to these continuations. If the LLM correctly recognized the ambiguity, it would assign probabilities to both continuations for the ambiguous sentence, but primarily to one for the unambiguous control.
Datasets
The study introduced novel datasets for evaluating scope ambiguity in LLMs:
- Experiment 1 Dataset: Built upon existing LSAT logic puzzle data, this dataset was filtered for scope-ambiguous sentences and then manually constructed with contrasting "options" for surface and inverse scope readings. Human validation was used to ensure strong preferences. The final dataset contained 153 unique sentences with pairs of options, balanced to have a 50/50 distribution of preferred surface vs. inverse scope readings.
- Experiment 2 Dataset: This dataset was specifically designed for cases where human preferences are not strongly skewed. It consists of 38 unique datapoints, each with an ambiguous sentence (S), a non-ambiguous control (Sc), and two follow-up phrases (F1 and F2) that favor inverse and surface scope readings, respectively. This dataset was also filtered using human judgments.
Key Insights and Ideas
- LLMs can mimic human scope preferences: Advanced LLMs, particularly GPT-4 and GPT-3.5 models, demonstrate a remarkable ability to select the same scope reading that humans prefer, often with high accuracy.
- Sensitivity to ambiguity itself: Experiment 2 suggests that LLMs don't just pick the "preferred" reading; they can also detect that a sentence is ambiguous, showing different behavior for ambiguous vs. unambiguous sentences.
- World knowledge integration: The ability of LLMs to align with human preferences, especially in cases requiring world knowledge, indicates they are integrating this knowledge into their interpretation processes.
- Inverse scope is trickier: For many models, performance was slightly lower on sentences where the inverse scope reading was preferred, aligning with linguistic theories that suggest inverse scope is generally harder to process. However, this was not always true for human judgments.
Key Results
- Experiment 1: Advanced models like GPT-4 achieved ~98% accuracy in identifying the human-preferred scope reading. GPT-3.5 models and Llama 2 (70B) also performed well, with accuracies above 80%. Smaller models like Llama 2 (7B) performed closer to chance.
- Experiment 2: The "a-score" (a measure of ambiguity recognition) was positive for most models, indicating they distinguished between ambiguous and unambiguous sentences. Larger models generally showed higher a-scores and better correlation with human proxy scores.
- Dataset Expansion: Rerunning experiments on larger, expanded datasets (837 sentences for Exp 1, 110 for Exp 2) confirmed the general patterns observed with the initial datasets.
Limitations and Future Work
- English-centric: The study is limited to English and does not explore how context affects scope interpretation.
- Interpretability: The paper doesn't delve into how LLMs represent scope internally, suggesting future work could use interpretability methods to explore this.
- Methodological Differences: The authors highlight that their findings contrast with some prior work that found LLMs struggle with ambiguity. They hypothesize this difference stems from their use of Q&A and probability-based methods, which may be more sensitive than traditional prompting or logical parsing tasks. Future work could explore these methodological differences further.
Summary updated