arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.02380cs.CLcs.LG
收藏

用于高效语言建模的循环神经网络压缩

Compression of Recurrent Neural Networks for Efficient Language Modeling

Samsung R&D Institute(三星研发研究所);National Research University Higher School of Economics(国家研究型高等经济大学)

Artem M. Grachev, Dmitry I. Ignatov, Andrey V. Savchenko

摘要:

循环神经网络已被证明是一种有效的统计语言建模方法。然而,在实践中,它们的内存和运行时的复杂度通常太大,无法在实时离线移动应用程序中实现。在本文中,我们考虑了几种压缩技术的循环神经网络,包括长短期记忆模型。我们特别注意的高维输出问题所造成的非常大的词汇量。我们专注于有效的压缩方法的上下文中开发的设备:修剪,量化和矩阵分解方法(低秩因式分解和张量训练分解,特别是)。对于每一个模型,我们调查其大小,适合快速推理和困惑之间的权衡。我们提出了一个通用的管道,用于应用最合适的方法来压缩用于语言建模的循环神经网络。在Penn Treebank(PTB)数据集的实验研究中已经表明,通过矩阵分解技术获得了在速度和压缩-困惑平衡方面最有效的结果。

英文摘要:

Recurrent neural networks have proved to be an effective method for statistical language modeling. However, in practice their memory and run-time complexity are usually too large to be implemented in real-time offline mobile applications. In this paper we consider several compression techniques for recurrent neural networks including Long-Short Term Memory models. We make particular attention to the high-dimensional output problem caused by the very large vocabulary size. We focus on effective compression methods in the context of their exploitation on devices: pruning, quantization, and matrix decomposition approaches (low-rank factorization and tensor train decomposition, in particular). For each model we investigate the trade-off between its size, suitability for fast inference and perplexity. We propose a general pipeline for applying the most suitable methods to compress recurrent neural networks for language modeling. It has been shown in the experimental study with the Penn Treebank (PTB) dataset that the most efficient results in terms of speed and compression-perplexity balance are obtained by matrix decomposition techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑