arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1901.09208cs.NE
收藏

内在稀疏长短期记忆网络

Intrinsically Sparse Long Short-Term Memory Networks

Shiwei Liu, Decebal Constantin Mocanu, Mykola Pechenizkiy

摘要:

长短期记忆(LSTM)在广泛的任务上实现了最先进的性能。其优异的性能是由与时序数据完美匹配的长期记忆能力和控制信息流的门控结构保证的。然而,LSTM在实际应用中容易受到内存带宽的限制,并且随着模型大小的不断增加,需要难以忍受的训练和推理时间。为了解决这个问题,已经提出了各种有效的模型压缩方法。它们中的大多数都需要一个庞大而昂贵的预训练模型,这对于内存预算严格受限的资源有限的设备来说是一场噩梦。为了弥补这种情况,在本文中,我们将稀疏进化训练(SET)过程纳入LSTM,提出了一种名为SET-LSTM的新模型。SET-LSTM不是从一个完全连接的架构开始,而是具有稀疏的拓扑结构,并且在训练和推理这两个阶段中的参数都非常少。考虑到LSTM的特定架构,我们将LSTM单元和嵌入层替换为稀疏结构,并进一步使用进化策略来适应数据的稀疏连接。此外,我们发现SET-LSTM可以提供许多不同的稀疏连接的良好组合,以替代密集神经网络的过参数化优化问题。在四个情感分析分类数据集上的评估结果表明,我们提出的模型能够实现通常比其完全连接的对应更好的性能,而其参数小于4\%。

英文摘要:

Long Short-Term Memory (LSTM) has achieved state-of-the-art performances on a wide range of tasks. Its outstanding performance is guaranteed by the long-term memory ability which matches the sequential data perfectly and the gating structure controlling the information flow. However, LSTMs are prone to be memory-bandwidth limited in realistic applications and need an unbearable period of training and inference time as the model size is ever-increasing. To tackle this problem, various efficient model compression methods have been proposed. Most of them need a big and expensive pre-trained model which is a nightmare for resource-limited devices where the memory budget is strictly limited. To remedy this situation, in this paper, we incorporate the Sparse Evolutionary Training (SET) procedure into LSTM, proposing a novel model dubbed SET-LSTM. Rather than starting with a fully-connected architecture, SET-LSTM has a sparse topology and dramatically fewer parameters in both phases, training and inference. Considering the specific architecture of LSTMs, we replace the LSTM cells and embedding layers with sparse structures and further on, use an evolutionary strategy to adapt the sparse connectivity to the data. Additionally, we find that SET-LSTM can provide many different good combinations of sparse connectivity to substitute the overparameterized optimization problem of dense neural networks. Evaluated on four sentiment analysis classification datasets, the results demonstrate that our proposed model is able to achieve usually better performance than its fully connected counterpart while having less than 4\% of its parameters.

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

↑