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

实践中的高级循环神经网络:训练和采样方案的比较

Character-level Recurrent Neural Networks in Practice: Comparing Training and Sampling Schemes

Ghent University(根特大学);imec;IDLab

Cedric De Boom, Thomas Demeester, Bart Dhoedt

摘要:

循环神经网络如今已成功地应用于从文本、语音和图像处理到推荐系统的大量应用中。通过时间的反向传播是通常用于在特定任务上训练这些网络的算法。许多深度学习框架都有自己的循环神经网络训练和采样过程的实现,而实际上还有多种其他可能性可供选择,也有其他参数可供调整。在现有的文献中,这一点往往被忽视或忽略。因此,在本文中,我们概述了字符级循环神经网络的可能训练和采样方案,以解决预测给定序列中下一个令牌的任务。我们在各种数据集,神经网络架构和参数设置上测试这些不同的方案,并制定了一些带回家的建议。训练和采样方案的选择取决于许多权衡,例如训练稳定性,采样时间,模型性能和实施工作,但在很大程度上独立于数据。也许最令人惊讶的结果是,为了正确初始化模型而转移隐藏状态通常会导致不稳定的训练行为,这取决于数据集。

英文摘要:

Recurrent neural networks are nowadays successfully used in an abundance of applications, going from text, speech and image processing to recommender systems. Backpropagation through time is the algorithm that is commonly used to train these networks on specific tasks. Many deep learning frameworks have their own implementation of training and sampling procedures for recurrent neural networks, while there are in fact multiple other possibilities to choose from and other parameters to tune. In existing literature this is very often overlooked or ignored. In this paper we therefore give an overview of possible training and sampling schemes for character-level recurrent neural networks to solve the task of predicting the next token in a given sequence. We test these different schemes on a variety of datasets, neural network architectures and parameter settings, and formulate a number of take-home recommendations. The choice of training and sampling scheme turns out to be subject to a number of trade-offs, such as training stability, sampling time, model performance and implementation effort, but is largely independent of the data. Perhaps the most surprising result is that transferring hidden states for correctly initializing the model on subsequences often leads to unstable training behavior depending on the dataset.

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

↑