Low-Rank RNN Adaptation for Context-Aware Language Modeling

Aaron Jaech, Mari Ostendorf


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. 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.
Anthology ID:
Q18-1035
Volume:
Transactions of the Association for Computational Linguistics, Volume 6
Month:
Year:
2018
Address:
Cambridge, MA
Editors:
Lillian Lee, Mark Johnson, Kristina Toutanova, Brian Roark
Venue:
TACL
SIG:
Publisher:
MIT Press
Note:
Pages:
497–510
Language:
URL:
https://aclanthology.org/Q18-1035
DOI:
10.1162/tacl_a_00035
Bibkey:
Cite (ACL):
Aaron Jaech and Mari Ostendorf. 2018. Low-Rank RNN Adaptation for Context-Aware Language Modeling. Transactions of the Association for Computational Linguistics, 6:497–510.
Cite (Informal):
Low-Rank RNN Adaptation for Context-Aware Language Modeling (Jaech & Ostendorf, TACL 2018)
Copy Citation:
PDF:
https://preview.aclanthology.org/nschneid-patch-1/Q18-1035.pdf
Code
 ajaech/calm
Data
AG News