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

利用重要性采样加速基于RNN的训练

Accelerate RNN-based Training with Importance Sampling

Department of Computer Science and Engineering, Shanghai Jiao Tong University(上海交通大学计算机科学与工程系);Facebook, Inc.(Facebook公司);Intel Asia-Pacific R&D Ltd.(英特尔亚太研发有限公司)

Fei Wang, Xiaofeng Gao, Guihai Chen, Jun Ye

摘要:

重要性采样(IS)作为一种优雅而有效的方差缩减(VR)技术,近年来吸引了众多研究者的关注。与随机优化中普遍采用的随机均匀采样不同,IS集成算法在每次迭代时对训练数据进行加权采样概率分布$P$,该分布是根据预先计算的重要性因子构造的。实验结果表明,IS在加速训练收敛方面取得了显著的进步。不幸的是,采样概率分布$P$的计算导致IS的主要限制:它要求输入数据结构良好,即,特征向量被适当地定义。因此,作为流行的学习算法的递归神经网络(RNN)由于其原始输入数据(即,训练序列通常是非结构化的,这使得$P$的计算是不可能的。考虑到基于RNN的学习应用程序的普及及其相对较长的训练时间,我们有兴趣通过IS加速它们。本文提出了一种新的快速重要性挖掘算法来计算非结构化数据的重要性因子,使IS在基于RNN的应用中的应用成为可能。我们对流行的开源基于RNN的学习应用程序的实验评估验证了IS在提高RNN收敛速度方面的有效性。

英文摘要:

Importance sampling (IS) as an elegant and efficient variance reduction (VR) technique for the acceleration of stochastic optimization problems has attracted many researches recently. Unlike commonly adopted stochastic uniform sampling in stochastic optimizations, IS-integrated algorithms sample training data at each iteration with respect to a weighted sampling probability distribution $P$, which is constructed according to the precomputed importance factors. Previous experimental results show that IS has achieved remarkable progresses in the acceleration of training convergence. Unfortunately, the calculation of the sampling probability distribution $P$ causes a major limitation of IS: it requires the input data to be well-structured, i.e., the feature vector is properly defined. Consequently, recurrent neural networks (RNN) as a popular learning algorithm is not able to enjoy the benefits of IS due to the fact that its raw input data, i.e., the training sequences, are often unstructured which makes calculation of $P$ impossible. In considering of the the popularity of RNN-based learning applications and their relative long training time, we are interested in accelerating them through IS. This paper propose a novel Fast-Importance-Mining algorithm to calculate the importance factor for unstructured data which makes the application of IS in RNN-based applications possible. Our experimental evaluation on popular open-source RNN-based learning applications validate the effectiveness of IS in improving the convergence rate of RNNs.

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

↑