English

Transparency Helps Reveal When Language Models Learn Meaning

Computation and Language 2023-03-07 v3

Abstract

Many current NLP systems are built from language models trained to optimize unsupervised objectives on large amounts of raw text. Under what conditions might such a procedure acquire meaning? Our systematic experiments with synthetic data reveal that, with languages where all expressions have context-independent denotations (i.e., languages with strong transparency), both autoregressive and masked language models successfully learn to emulate semantic relations between expressions. However, when denotations are changed to be context-dependent with the language otherwise unmodified, this ability degrades. Turning to natural language, our experiments with a specific phenomenon -- referential opacity -- add to the growing body of evidence that current language models do not represent natural language semantics well. We show this failure relates to the context-dependent nature of natural language form-meaning mappings.

Keywords

Cite

@article{arxiv.2210.07468,
  title  = {Transparency Helps Reveal When Language Models Learn Meaning},
  author = {Zhaofeng Wu and William Merrill and Hao Peng and Iz Beltagy and Noah A. Smith},
  journal= {arXiv preprint arXiv:2210.07468},
  year   = {2023}
}

Comments

Accepted for publication in Transactions of the Association for Computational Linguistics (TACL), 2023. Author's final version (pre-MIT Press publication)

R2 v1 2026-06-28T03:36:42.908Z