arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.12252cs.LGcs.DCphysics.comp-ph
收藏

在序列长度上并行化非线性序列模型

Parallelizing non-linear sequential models over the sequence length

Machine Discovery Ltd.(Machine Discovery 有限公司);University of Oxford(牛津大学)

Yi Heng Lim, Qi Zhu, Joshua Selfridge, Muhammad Firmansyah Kasim

AI总结:

本文提出一种无需特殊架构即可在序列长度上并行化非线性序列模型的算法,将GPU评估加速最多3个数量级、训练加速超10倍,并发现GRU在17k时间样本长序列分类中的有效性。

摘要:

序列模型,如循环神经网络(Recurrent Neural Networks)和神经常微分方程(Neural Ordinary Differential Equations),长期以来由于其固有的顺序特性而训练缓慢。多年来这一瓶颈一直存在,因为许多人认为序列模型无法并行化。我们通过并行算法挑战这一长期持有的信念,该算法在不损害输出准确性的情况下,将序列模型的GPU评估速度提高了最多3个数量级。该算法不需要序列模型架构具有任何特殊结构,因此适用于广泛的架构。使用我们的方法,训练序列模型可以比常见的顺序方法快10倍以上,而训练结果没有任何有意义的差异。利用这种加速训练,我们发现了门控循环单元(Gated Recurrent Unit)在具有17k时间样本的长时间序列分类问题中的有效性。通过克服训练瓶颈,我们的工作是解锁非线性序列模型在长序列问题上潜力的第一步。

英文摘要:

Sequential models, such as Recurrent Neural Networks and Neural Ordinary Differential Equations, have long suffered from slow training due to their inherent sequential nature. For many years this bottleneck has persisted, as many thought sequential models could not be parallelized. We challenge this long-held belief with our parallel algorithm that accelerates GPU evaluation of sequential models by up to 3 orders of magnitude faster without compromising output accuracy. The algorithm does not need any special structure in the sequential models' architecture, making it applicable to a wide range of architectures. Using our method, training sequential models can be more than 10 times faster than the common sequential method without any meaningful difference in the training results. Leveraging this accelerated training, we discovered the efficacy of the Gated Recurrent Unit in a long time series classification problem with 17k time samples. By overcoming the training bottleneck, our work serves as the first step to unlock the potential of non-linear sequential models for long sequence problems.

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

↑