Compressing Neural Language Models by Sparse Word Representations

Yunchuan Chen, Lili Mou, Yan Xu, Ge Li, Zhi Jin
10/13/2016
30 citations
cs.CLcs.LG

Official code: chenych11/lm (11 stars, Python, last commit 2016-04-30).

Abstract

Neural networks are among the state-of-the-art techniques for language modeling. Existing neural language models typically map discrete words to distributed, dense vector representations.

Show full abstract

After information processing of the preceding context words by hidden layers, an output layer estimates the probability of the next word. Such approaches are time- and memory-intensive because of the large numbers of parameters for word embeddings and the output layer. In this paper, we propose to compress neural language models by sparse word representations. In the experiments, the number of parameters in our model increases very slowly with the growth of the vocabulary size, which is almost imperceptible. Moreover, our approach not only reduces the parameter space to a large extent, but also improves the performance in terms of the perplexity measure.

View on arXivView PDF

Code Implementations(1)

chenych11/lmOfficial100%
117Python, ShellApr 30, 201610 years ago

Similar Papers

Cite this paper

@article{chen2016compressing,
  title  = {Compressing Neural Language Models by Sparse Word Representations},
  author = {Yunchuan Chen and Lili Mou and Yan Xu and Ge Li and Zhi Jin},
  year   = {2016},
  eprint = {1610.03950},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1610.03950}
}

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

Discussion