Grounded Compositional Outputs for Adaptive Language Modeling

Nikolaos Pappas, Phoebe Mulcaire, Noah A. Smith
9/24/2020
cs.CL

Official code: Noahs-ARK/GroC (18 stars, Python, GPL-3.0, last commit 2021-09-10).

Abstract

Language models have emerged as a central component across NLP, and a great deal of progress depends on the ability to cheaply adapt them (e.g., through finetuning) to new domains and tasks. A language model's vocabulary$-$typically selected before training and permanently fixed later$-$affects its size and is part of what makes it resistant to such adaptation.

Show full abstract

Prior work has used compositional input embeddings based on surface forms to ameliorate this issue. In this work, we go one step beyond and propose a fully compositional output embedding layer for language models, which is further grounded in information from a structured lexicon (WordNet), namely semantically related words and free-text definitions. To our knowledge, the result is the first word-level language model with a size that does not depend on the training vocabulary. We evaluate the model on conventional language modeling as well as challenging cross-domain settings with an open vocabulary, finding that it matches or outperforms previous state-of-the-art output embedding methods and adaptation approaches. Our analysis attributes the improvements to sample efficiency: our model is more accurate for low-frequency words.

View on arXivView PDF

Code Implementations(1)

Noahs-ARK/GroCOfficial100%
GPL-3.0

Pytorch implementation of models described in "Grounded compositional outputs for adaptive language modeling", EMNLP 2020.

184Python, ShellSep 23, 20205 years agoGPL-3.0

Similar Papers

Cite this paper

@article{pappas2020grounded,
  title  = {Grounded Compositional Outputs for Adaptive Language Modeling},
  author = {Nikolaos Pappas and Phoebe Mulcaire and Noah A. Smith},
  year   = {2020},
  eprint = {2009.11523},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.11523}
}

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

Discussion