Entailment Semantics Can Be Extracted from an Ideal Language Model

William Merrill, Alex Warstadt, Tal Linzen
9/26/2022
cs.CL

Official code: viking-sudo-rm/formal-language-understanding (4 stars, Python, last commit 2022-09-26).

Abstract

Language models are often trained on text alone, without additional grounding. There is debate as to how much of natural language semantics can be inferred from such a procedure.

Show full abstract

We prove that entailment judgments between sentences can be extracted from an ideal language model that has perfectly learned its target distribution, assuming the training sentences are generated by Gricean agents, i.e., agents who follow fundamental principles of communication from the linguistic theory of pragmatics. We also show entailment judgments can be decoded from the predictions of a language model trained on such Gricean data. Our results reveal a pathway for understanding the semantic information encoded in unlabeled linguistic data and a potential framework for extracting semantics from language models.

View on arXivView PDF

Code Implementations(1)

40Python, ShellSep 17, 20214 years ago

Similar Papers

Cite this paper

@article{merrill2022entailment,
  title  = {Entailment Semantics Can Be Extracted from an Ideal Language Model},
  author = {William Merrill and Alex Warstadt and Tal Linzen},
  year   = {2022},
  eprint = {2209.12407},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.12407}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.12407.svg)](https://codeofpaper.com/paper/2209.12407)

Discussion