Abstract
Recent advancements in Large Language Models (LLMs) have raised questions regarding their ability to process complex linguistic structures. This paper examines how models like GPT-4 and Llama 2 (70B) navigate "scope ambiguities"—sentences where a single syntactic structure allows for multiple valid logical interpretations. By employing behavioral tasks and a novel sensitivity metric, research demonstrates that high-parameter models not only align with human preferences for meaning but also exhibit a latent statistical awareness of the underlying ambiguity itself.
Introduction
Natural language is frequently characterized by structural ambiguity. A classic example is the sentence, "Every farmer owns a donkey." This can be interpreted as surface scope (each farmer has their own donkey) or inverse scope (there is one specific donkey shared by all farmers). While humans seamlessly utilize world knowledge to disambiguate such statements, the extent to which LLMs "understand" these layers has remained a subject of debate. Previous studies suggested LLMs struggled with these tasks; however, recent evidence suggests that those failures may have been a byproduct of flawed testing methodologies rather than a lack of latent capability.
Methodology
To probe the internal logic of LLMs, researchers conducted two primary experiments designed to move beyond simple text generation and into the realm of semantic preference and sensitivity.
Experiment 1: Preference and Control
In this task, models were presented with an ambiguous sentence followed by two options representing different readings. To ensure the models were truly processing the sentence structure—rather than simply selecting the most plausible-sounding statement—the researchers implemented a control group. In the control setting, the ambiguous sentence was removed. A significant drop in accuracy without the sentence served as proof that the model was actively utilizing the linguistic input to reach its conclusion.
Experiment 2: Sensitivity and the $\alpha$-score
To determine if models recognize that a sentence is ambiguous (rather than just being "confused"), the researchers introduced the $\alpha$-score. This metric analyzes the raw probabilities a model assigns to various follow-up sentences. By comparing an ambiguous sentence to a nearly identical non-ambiguous control, the $\alpha$-score measures whether the model "reserves space" for a secondary interpretation, even if it strongly prefers the primary one.
The Scope Ambiguity Benchmark
A significant contribution of this research is the creation of a new benchmark for the NLP community. Starting with logic puzzles from the LSAT, the authors utilized GPT-4 and human experts to expand the set into nearly 1,000 unique scope-ambiguous sentences. The dataset covers a diverse range of interactions between operators, including:
- Quantifiers: every, some, most
- Negations: not
- Adverbs: usually
All sentences were validated by human annotators via Prolific to establish a "gold standard" of preferred readings against which the models were measured.
Key Insights
The Methodology Gap
The study highlights that LLMs are more capable than previously thought. Earlier failures likely stemmed from "meta-linguistic" tasks—asking the model to explicitly explain logic. When shifted to "behavioral" tasks, such as predicting the next word or choosing a likely outcome, the models' performance improved dramatically.
Scaling and Intelligence Floors
There is a clear correlation between model size and the ability to resolve ambiguity. Smaller models, such as GPT-2 or Llama 2 (7B), performed near chance. In contrast, larger models like GPT-4 and Llama 2 (70B) demonstrated sophisticated reasoning, suggesting that scope resolution is an emergent property of scaling.
Integration of World Knowledge
LLMs do not rely solely on syntax; they successfully integrate world knowledge to disambiguate. For instance, models correctly identify that "Every attendee ate a Big Mac" implies multiple burgers, whereas "Every attendee attended a networking event" implies a single, shared event.
Results
- Human Alignment: GPT-4 achieved 98% accuracy in matching human-preferred readings, effectively reaching the human baseline of 90% (accounting for human variance).
- The Control Effect: When the ambiguous sentence was removed, GPT-4’s accuracy fell to 75%, confirming the model was actively parsing the sentence scope.
- Latent Sensitivity: Advanced models consistently produced positive $\alpha$-scores, providing statistical evidence that they recognize ambiguity as a linguistic feature rather than a processing error.
Limitations and Future Directions
While these findings are promising, the study was limited to English-language models. Scope ambiguity manifests differently in languages like Mandarin or German, and further research is required to see if these capabilities generalize cross-linguistically. Additionally, while the paper proves LLMs can resolve scope, the internal neural mechanisms—how weights represent these logical operators—remain a mystery. Future work utilizing causal mediation analysis may help identify the specific circuits responsible for this logic. Finally, this study focused on isolated sentences; in real-world applications, broader paragraph context likely plays a significant role in disambiguation.
Reference: Kamath, G., Schuster, S., Vajjala, S., & Reddy, S. (2024). Scope Ambiguities in Large Language Models. arXiv:2404.04332v1 [cs.CL].
Summary updated