Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Models

Najoung Kim, Tal Linzen, Paul Smolensky
12/21/2022
cs.CL

Official code: najoungkim/cogs-with-pretraining (0 stars, Python, MIT, last commit 2022-12-20).

Abstract

Human linguistic capacity is often characterized by compositionality and the generalization it enables -- human learners can produce and comprehend novel complex expressions by composing known parts. Several benchmarks exploit distributional control across training and test to gauge compositional generalization, where certain lexical items only occur in limited contexts during training.

Show full abstract

While recent work using these benchmarks suggests that pretrained models achieve impressive generalization performance, we argue that exposure to pretraining data may break the aforementioned distributional control. Using the COGS benchmark of Kim and Linzen (2020), we test two modified evaluation setups that control for this issue: (1) substituting context-controlled lexical items with novel character sequences, and (2) substituting them with special tokens represented by novel embeddings. We find that both of these setups lead to lower generalization performance in T5 (Raffel et al., 2020), suggesting that previously reported results have been overestimated due to uncontrolled lexical exposure during pretraining. The performance degradation is more extreme with novel embeddings, and the degradation increases with the amount of pretraining data, highlighting an interesting case of inverse scaling.

View on arXivView PDF

Code Implementations(1)

MIT
00Python, ShellApr 27, 20223 years agoMIT

Similar Papers

Cite this paper

@article{kim2022uncontrolled,
  title  = {Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Models},
  author = {Najoung Kim and Tal Linzen and Paul Smolensky},
  year   = {2022},
  eprint = {2212.10769},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.10769}
}

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

Discussion