Abstract
As pre-trained language models (LMs) continue to dominate NLP, it is increasingly important that we understand the depth of language capabilities in these models. In this paper, we target pre-trained LMs' competence in pragmatics, with a focus on pragmatics relating to discourse connectives. We formulate cloze-style tests using a combination of naturally-occurring data and controlled inputs drawn from psycholinguistics. We focus on testing models' ability to use pragmatic cues to predict discourse connectives, models' ability to understand implicatures relating to connectives, and the extent to which models show humanlike preferences regarding temporal dynamics of connectives. We find that although models predict connectives reasonably well in the context of naturally-occurring data, when we control contexts to isolate high-level pragmatic cues, model sensitivity is much lower. Models also do not show substantial humanlike temporal preferences. Overall, the findings suggest that at present, dominant pre-training paradigms do not result in substantial pragmatic competence in our models.
Introduction
While large language models (LMs) like BERT and RoBERTa appear to master the flow of human text, recent research suggests their "understanding" is often skin-deep. In the world of Natural Language Processing (NLP), pre-trained models are remarkably proficient at predicting the next word in a sentence. However, a critical question remains: Do they actually understand pragmatics—the subtle, context-dependent meanings that go beyond literal definitions?
This study investigates this question through the lens of discourse connectives (e.g., but, so, and). These words serve as the "logical glue" of language, signaling specific relationships between clauses. For instance, "It was raining, but I went for a run" signals a concessive relationship. Understanding these connectives requires tracking the logic and intent of the speaker, moving beyond simple grammatical knowledge.
Methodology
The researchers employed a zero-shot cloze task approach. Models were presented with sentences where the discourse connective was masked ([MASK]) and asked to predict the most likely word. To distinguish between simple pattern matching and true pragmatic reasoning, three evaluation strategies were used:
- Naturalistic Evaluation: Using the Penn Discourse Treebank (PDTB 2.0) to gauge general connective prediction in real-world text.
- Controlled Minimal Pairs: Utilizing psycholinguistic stimuli to create pairs that are nearly identical except for a single word that flips the required logic.
- Implicature Testing: Testing sensitivity to temporal implicatures (e.g., "and" implying "and then") through reinforcement and cancellation contexts.
Analysis of Pragmatic Competence
The "And" Crutch and Naturalistic Performance
On natural data, models achieved accuracies between 42% and 66%, with RoBERTa-Large leading. However, error analysis revealed a "cheat code": models frequently over-predicted the word "and." As a versatile, high-frequency connective, "and" fits many contexts, artificially inflating performance scores without reflecting true logical understanding.
Sensitivity vs. Accuracy: The "Pair" Metric
A model's ability to guess a connective for a single sentence is insufficient evidence of reasoning. The researchers introduced the "Pair" metric: a model must correctly identify the logic for both sentences in a minimal pair to succeed. If a model predicts the same word for both sentences despite a pragmatic cue change, it is likely defaulting to a favorite word rather than reasoning.
As shown in the results for controlled logic, "Pair" accuracy plummeted across all models. Most models hovered around 0% accuracy, failing to switch their predictions when the pragmatic context changed from causal to concessive. This suggests that the models were not sensitive to the high-level pragmatic cues provided in the controlled contexts.
Temporal Implicatures and Scaling
Models struggled significantly with temporal implicatures. They failed to recognize that "and" often carries a chronological meaning and could not distinguish between contexts where this meaning was reinforced versus canceled. "Pair" accuracy in these tests was consistently below the 25% chance level. Furthermore, increasing model size (e.g., ALBERT-XXLarge) did not lead to a breakthrough in pragmatic reasoning on controlled tests, suggesting that scale alone is not a solution.
Conclusion
Current pre-training objectives, which focus on predicting missing words based on surrounding context, appear insufficient for fostering true pragmatic competence. Models achieve high accuracy on natural text by relying on shallow lexical and syntactic cues. To move toward models that understand the "why" behind discourse, future work should explore training data that controls for shallow cues, new training objectives with meaning-rich supervision, and architectures that explicitly track discourse relations.
Summary updated