Adaptive Semiparametric Language Models

By Dani Yogatama, Cyprien de Masson d'Autume, Lingpeng Kong. 2021

107 citations recorded by the source corpus.

Abstract We present a language model that combines a large parametric neural network (i.e., a transformer) with a non-parametric episodic memory component in an integrated architecture. Our model uses extended short-term context by caching local hidden states—similar to transformer-XL—and global long-term memory by retrieving a set of nearest neighbor tokens at each timestep. We design a gating function to adaptively combine multiple information sources to make a prediction. This mechanism allows the model to use either local context, short-term memory, or long-term memory (or any combination of them) on an ad hoc basis depending on the context. Experiments on word-based and character-based language modeling datasets demonstrate the efficacy of our proposed method compared to strong baselines.

Subfields: Artificial Intelligence, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Graham Neubig
  4. Jianfeng Gao
  5. Hannaneh Hajishirzi
  6. Jason Aaron Edward Weston
  7. Percy Liang
  8. Yejin Choi

In Natural Language Processing

  1. Graham Neubig
  2. Jason Aaron Edward Weston
  3. Mohit Bansal
  4. Luke S. Zettlemoyer
  5. Douwe Kiela
  6. Sebastian Riedel
  7. Kyunghyun Cho
  8. Hannaneh Hajishirzi

Citations in the corpus