Implicit Representations of Meaning in Neural Language Models

Belinda Z. Li, Maxwell Nye, Jacob Andreas
6/1/2021
cs.CL

Official code: belindal/state-probes (58 stars, Python, last commit 2023-02-14).

Abstract

Does the effectiveness of neural language models derive entirely from accurate modeling of surface word co-occurrence statistics, or do these models represent and reason about the world they describe? In BART and T5 transformer language models, we identify contextual word representations that function as models of entities and situations as they evolve throughout a discourse.

Show full abstract

These neural representations have functional similarities to linguistic models of dynamic semantics: they support a linear readout of each entity's current properties and relations, and can be manipulated with predictable effects on language generation. Our results indicate that prediction in pretrained neural language models is supported, at least in part, by dynamic representations of meaning and implicit simulation of entity state, and that this behavior can be learned with only text as training data. Code and data are available at https://github.com/belindal/state-probes .

View on arXivView PDF

Code Implementations(1)

Code for the paper "Implicit Representations of Meaning in Neural Language Models"

588PythonMay 27, 20213 years ago

Similar Papers

Cite this paper

@article{li2021implicit,
  title  = {Implicit Representations of Meaning in Neural Language Models},
  author = {Belinda Z. Li and Maxwell Nye and Jacob Andreas},
  year   = {2021},
  eprint = {2106.00737},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.00737}
}

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/2106.00737.svg)](https://codeofpaper.com/paper/2106.00737)

Discussion