TL;DR
Large language models (LLMs) like text-davinci-002 and Flan-T5 (XL) demonstrate a surprising capacity for pragmatic language understanding, often matching human error patterns by favoring literal interpretations over heuristic distractors when they fail. However, these models still struggle significantly with phenomena that rely on violating social expectations, such as humor and irony. This suggests that while explicit mental state modeling (Theory of Mind) may not be strictly necessary for basic pragmatics, full social alignment remains a major hurdle.
What Problem Does This Paper Address?
When we communicate, we rarely mean exactly what we say literally. If someone says, "It's getting a bit cold in here," they are usually asking you to close a window, not just making a meteorological observation. This is the realm of pragmatics—understanding language in context, including metaphors, politeness, irony, and idioms.
While modern LLMs are incredibly fluent, evaluating whether they truly grasp pragmatic meaning has traditionally been reduced to a simple binary metric: did the model get the pragmatic interpretation right or wrong? This paper addresses this limitation by conducting a fine-grained error analysis. The authors investigate not just if models fail, but how they fail, comparing LLM error profiles and linguistic cue sensitivities directly to human behavior.
Methods
The authors evaluated seven language models across four families (GPT-2, Tk-Instruct, Flan-T5, and InstructGPT/text-davinci-002) using zero-shot prompting.
To evaluate the models, they fed them a short story context, a character's utterance, and a multiple-choice question regarding the character's intent. Instead of letting the models generate free-text answers, they measured the model's exact probability distribution over the multiple-choice tokens (e.g., "1", "2", "3", "4").
To dig deeper into how the models achieved their results, the authors performed two ablation studies:
- Context Removal: Stripping away the background story to see how much the models rely on local context vs. global linguistic knowledge.
- Scrambling: Randomizing the order of sentences or words to test if the models rely on human-like compositionality or just low-level keyword heuristics.
Datasets
The evaluation utilizes an expert-curated dataset of English materials from Floyd et al. (In prep). It contains 20–40 multiple-choice items per task across seven distinct pragmatic phenomena:
- Deceits (e.g., white lies)
- Indirect Speech (e.g., indirect requests)
- Irony
- Maxims (flouting Gricean conversational maxims)
- Metaphor
- Humor (identifying the funniest punchline)
- Coherence (discourse-level connectivity)
An example of these queries and their color-coded option types can be seen below:
The human baseline was established using data from 374 human participants. For the no-context ablation, they recruited an additional 30 human participants via Amazon Mechanical Turk.
Key Insights and Ideas
- The "Literal" Safety Net: When large models make mistakes, they don't just pick distractors at random. Much like humans, their most common error is choosing the literal interpretation of an utterance. This indicates that their failures are not due to a lack of basic semantic understanding, but rather a failure to apply contextual or social layers.
- The 1-Billion Parameter Threshold: There is a sharp, non-linear jump in pragmatic performance once a model surpasses 1 billion parameters. However, scale isn't everything; instruction-tuned models (like Flan-T5) significantly outperform standard multitask models of equivalent size.
- Expectation Violations are Hard: Models perform worst on Humor, Irony, and Maxims. What do these share? They all require a listener to recognize that a speaker is intentionally violating a social norm or expectation (e.g., saying the exact opposite of what they believe in the case of irony).
- Pragmatics Without a Mind: Because LLMs lack explicit, symbolic representations of mental states (Theory of Mind), their success on tasks like metaphors and indirect speech suggests that a significant portion of human-like pragmatic behavior can actually emerge purely from statistical patterns in language.
Key Results
The largest models (text-davinci-002 and Flan-T5 (XL)) achieved above-chance accuracy across almost all tasks, occasionally approaching human-level performance.
When looking at the full distribution of responses, the alignment between the best models and humans becomes visually apparent. In tasks like Indirect Speech and Deceits, the preference for the "Correct" pragmatic choice is clear, followed by the "Literal" choice, with low-level distractors safely ignored.
In the context-removal experiment, both humans and models showed the exact same qualitative pattern: removing the story context severely degraded performance on Irony, Deceits, and Maxims, but had a much smaller impact on Indirect Speech and Metaphor. This proves that models and humans leverage contextual cues in highly correlated ways.
Limitations and Future Work
The authors note several key limitations:
- Dataset Size: The expert-curated evaluation set is relatively small (20–40 items per task), which limits statistical power compared to massive, automated benchmarks.
- Cultural and Language Bias: The evaluation was strictly performed on English-language materials rooted in Western cultural communication norms. Pragmatics varies wildly across cultures, and future benchmarks must address this.
- Scrambling Robustness: Unlike humans, models maintained relatively high performance even when word order was completely scrambled. This implies that while their outputs match human distributions, their underlying processing mechanisms still rely heavily on bag-of-words style lexical heuristics rather than true human-like compositionality.
Summary updated