Can You Learn Semantics Through Next-Word Prediction? The Case of Entailment
Not on the map. Why?
Abstract (arXiv)
Do LMs infer the semantics of text from co-occurrence patterns in their training data? Merrill et al. (2022) argue that, in theory, sentence co-occurrence probabilities predicted by an optimal LM should reflect the entailment relationship of the constituent sentences, but it is unclear whether probabilities predicted by neural LMs encode entailment in this way because of strong assumptions made by Merrill et al. (namely, that humans always avoid redundancy). In this work, we investigate whether their theory can be used to decode entailment relations from neural LMs. We find that a test similar to theirs can decode entailment relations between natural sentences, well above random chance, though not perfectly, across many datasets and LMs. This suggests LMs implicitly model aspects of semantics to predict semantic effects on sentence co-occurrence patterns. However, we find the test that predicts entailment in practice works in the opposite direction to the theoretical test. We thus revisit the assumptions underlying the original test, finding its derivation did not adequately account for redundancy in human-written text. We argue that better accounting for redundancy related to explanations might derive the observed flipped test and, more generally, improve computational models of speakers in linguistics.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 18 of its 34 references that are in the map. First posted on arXiv 21 Feb 2024.
Builds on
18 of 34 references.
References · 18
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2018Annotation Artifacts in Natural Language Inference Datacited by 671
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 264
- 2022WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creationcited by 202
6 more
- 2023Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMscited by 124
- 2021Provable Limitations of Acquiring Meaning from Ungrounded Form: What Will Future Language Models Understand?cited by 55
- 2019When redundancy is useful: A Bayesian approach to 'overinformative' referring expressionscited by 21
- 2022Entailment Semantics Can Be Extracted from an Ideal Language Modelcited by 10
- 2022What company do words keep? Revisiting the distributional semantics of J.R. Firth & Zellig Harriscited by 8
- 2022Transparency Helps Reveal When Language Models Learn Meaningcited by 8
Built on by
Citing papers per year: 2024: 6; 2025: 2; 2026: 1.
9 papers.
- 2024Beyond Preferences in AI Alignmentcited by 49
- 2024xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memoriescited by 19
- 2024EMTeC: A Corpus of Eye Movements on Machine-Generated Textscited by 5
- 2024Disentangling Singlish Discourse Particles with Task-Driven Representationcited by 5
- 2024Probing Large Language Models for Scalar Adjective Lexical Semantics and Scalar Diversity Pragmaticscited by 3
- 2025ExpliCa: Evaluating Explicit Causal Reasoning in Large Language Modelscited by 3
- 2024A Comparative Investigation of Compositional Syntax and Semantics in DALL-E 2cited by 2
- 2025A Rose by Any Other Name Would Smell as Sweet: Categorical Homotopy Theory for Large Language Modelscited by 1
- 2026Learning Concepts, Not Tokens: Self-Supervised Semantic Alignment for Language Modelscited by 1
- 2026Learning Concepts, Not Tokens: Self-Supervised Semantic Alignment for Language Models31 Mar 2026
- 2025A Rose by Any Other Name Would Smell as Sweet: Categorical Homotopy Theory for Large Language Models7 Aug 2025
- 2025ExpliCa: Evaluating Explicit Causal Reasoning in Large Language Models21 Feb 2025
- 2024xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories22 Oct 2024
- 2024Disentangling Singlish Discourse Particles with Task-Driven Representation30 Sep 2024
- 2024Beyond Preferences in AI Alignment30 Aug 2024
- 2024EMTeC: A Corpus of Eye Movements on Machine-Generated Texts8 Aug 2024
- 2024Probing Large Language Models for Scalar Adjective Lexical Semantics and Scalar Diversity Pragmatics4 Apr 2024
- 2024A Comparative Investigation of Compositional Syntax and Semantics in DALL-E 218 Mar 2024