跳过RNN:学习在循环神经网络中跳过状态更新
Skip RNN: Learning to Skip State Updates in Recurrent Neural Networks
摘要:
循环神经网络(RNN)在序列建模任务中继续表现出出色的性能。然而,在长序列上训练RNN通常面临着推理缓慢、梯度消失和难以捕获长期依赖性等挑战。在通过时间设置的反向传播中,这些问题与在时间上展开RNN所产生的大型顺序计算图紧密耦合。我们引入了Skip RNN模型,它通过学习跳过状态更新来扩展现有的RNN模型,并缩短了计算图的有效大小。还可以通过预算约束来鼓励该模型执行更少的状态更新。我们在各种任务上评估了所提出的模型,并展示了它如何减少所需的RNN更新次数,同时保持甚至提高基线RNN模型的性能。源代码可在https://imatge-upc.github.io/skiprnn-2017-telecombcn/上公开获取。
英文摘要:
Recurrent Neural Networks (RNNs) continue to show outstanding performance in sequence modeling tasks. However, training RNNs on long sequences often face challenges like slow inference, vanishing gradients and difficulty in capturing long term dependencies. In backpropagation through time settings, these issues are tightly coupled with the large, sequential computational graph resulting from unfolding the RNN in time. We introduce the Skip RNN model which extends existing RNN models by learning to skip state updates and shortens the effective size of the computational graph. This model can also be encouraged to perform fewer state updates through a budget constraint. We evaluate the proposed model on various tasks and show how it can reduce the number of required RNN updates while preserving, and sometimes even improving, the performance of the baseline RNN models. Source code is publicly available at https://imatge-upc.github.io/skiprnn-2017-telecombcn/ .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。