Pyramidal Recurrent Unit for Language Modeling

Sachin Mehta, Rik Koncel-Kedziorski, Mohammad Rastegari, Hannaneh Hajishirzi
8/27/2018
13 citations
cs.CL

Official code: sacmehta/PRU (10 stars, Python, MIT, last commit 2018-08-29).

Abstract

LSTMs are powerful tools for modeling contextual information, as evidenced by their success at the task of language modeling. However, modeling contexts in very high dimensional space can lead to poor generalizability.

Show full abstract

We introduce the Pyramidal Recurrent Unit (PRU), which enables learning representations in high dimensional space with more generalization power and fewer parameters. PRUs replace the linear transformation in LSTMs with more sophisticated interactions including pyramidal and grouped linear transformations. This architecture gives strong results on word-level language modeling while reducing the number of parameters significantly. In particular, PRU improves the perplexity of a recent state-of-the-art language model Merity et al. (2018) by up to 1.3 points while learning 15-20% fewer parameters. For similar number of model parameters, PRU outperforms all previous RNN models that exploit different gating mechanisms and transformations. We provide a detailed examination of the PRU and its behavior on the language modeling tasks. Our code is open-source and available at https://sacmehta.github.io/PRU/

View on arXivView PDF

Code Implementations(1)

sacmehta/PRUOfficial100%
MIT

Pyramidal Recurrent Units (PRUs): A New LSTM Unit

103Python, ShellJul 6, 20188 years agoMIT
deep-learninglanguage-modelinglstm-neural-networksnatural-language-processingrecurrent-neural-networks

Similar Papers

Cite this paper

@article{mehta2018pyramidal,
  title  = {Pyramidal Recurrent Unit for Language Modeling},
  author = {Sachin Mehta and Rik Koncel-Kedziorski and Mohammad Rastegari and Hannaneh Hajishirzi},
  year   = {2018},
  eprint = {1808.09029},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.09029}
}

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

Discussion