Improving Context Aware Language Models

Aaron Jaech, Mari Ostendorf
4/21/2017
3 citations
cs.CL

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

Abstract

Increased adaptability of RNN language models leads to improved predictions that benefit many applications. However, current methods do not take full advantage of the RNN structure.

Show full abstract

We show that the most widely-used approach to adaptation (concatenating the context with the word embedding at the input to the recurrent layer) is outperformed by a model that has some low-cost improvements: adaptation of both the hidden and output layers. and a feature hashing bias term to capture context idiosyncrasies. Experiments on language modeling and classification tasks using three different corpora demonstrate the advantages of the proposed techniques.

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{jaech2017improving,
  title  = {Improving Context Aware Language Models},
  author = {Aaron Jaech and Mari Ostendorf},
  year   = {2017},
  eprint = {1704.06380},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1704.06380}
}

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

Discussion