Low-Rank RNN Adaptation for Context-Aware Language Modeling

Aaron Jaech, Mari Ostendorf
10/6/2017
cs.CL

Official code: ajaech/calm (28 stars, Jupyter Notebook, last commit 2018-07-03).

Abstract

A context-aware language model uses location, user and/or domain metadata (context) to adapt its predictions. In neural language models, context information is typically represented as an embedding and it is given to the RNN as an additional input, which has been shown to be useful in many applications.

Show full abstract

We introduce a more powerful mechanism for using context to adapt an RNN by letting the context vector control a low-rank transformation of the recurrent layer weight matrix. Experiments show that allowing a greater fraction of the model parameters to be adjusted has benefits in terms of perplexity and classification for several different types of context.

View on arXivView PDF

Code Implementations(1)

ajaech/calmOfficial100%

Context Aware Language Models

286Jupyter Notebook, PythonApr 20, 20178 years ago
language-model

Similar Papers

Cite this paper

@article{jaech2017lowrank,
  title  = {Low-Rank RNN Adaptation for Context-Aware Language Modeling},
  author = {Aaron Jaech and Mari Ostendorf},
  year   = {2017},
  eprint = {1710.02603},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1710.02603}
}

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

Discussion