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

越慢越好:重温LSTM中的遗忘机制以减缓信息衰减

Slower is Better: Revisiting the Forgetting Mechanism in LSTM for Slower Information Decay

Johns Hopkins University(约翰斯·霍普金斯大学);Intel Labs(英特尔实验室)

Hsiang-Yun Sherry Chien, Javier S. Turek, Nicole Beckage, Vy A. Vo, Christopher J. Honey, Ted L. Willke

摘要:

序列信息包含短期到长期的依赖关系;然而,学习长时间尺度的信息一直是递归神经网络的挑战。尽管长短期记忆网络(LSTM)有了改进,但遗忘机制导致信息的指数衰减,限制了它们捕获长时间尺度信息的能力。在这里,我们提出了一个幂律遗忘门,它沿着较慢的幂律衰减函数学习遗忘信息。具体来说,新的门学习控制幂律衰减因子p,允许网络根据任务需求调整信息衰减率。我们的实验表明,具有幂律遗忘门(pLSTM)的LSTM可以有效地捕获图像分类,语言建模和分类任务中数百个元素之外的长期依赖关系,从而提高了vanilla LSTM的性能。我们还通过改变p的初始化,将p设置为固定值,并消融pLSTM网络中的细胞来检查修改后的遗忘门。结果表明,信息衰减可以通过可学习的衰减因子p来控制,这使得pLSTM能够实现其优越的性能。总而言之,我们发现具有遗忘门的LSTM可以学习长期依赖关系,在多个领域中优于其他递归网络;这种门控机制可以集成到其他架构中,以改善递归神经网络中长时间尺度信息的学习。

英文摘要:

Sequential information contains short- to long-range dependencies; however, learning long-timescale information has been a challenge for recurrent neural networks. Despite improvements in long short-term memory networks (LSTMs), the forgetting mechanism results in the exponential decay of information, limiting their capacity to capture long-timescale information. Here, we propose a power law forget gate, which instead learns to forget information along a slower power law decay function. Specifically, the new gate learns to control the power law decay factor, p, allowing the network to adjust the information decay rate according to task demands. Our experiments show that an LSTM with power law forget gates (pLSTM) can effectively capture long-range dependencies beyond hundreds of elements on image classification, language modeling, and categorization tasks, improving performance over the vanilla LSTM. We also inspected the revised forget gate by varying the initialization of p, setting p to a fixed value, and ablating cells in the pLSTM network. The results show that the information decay can be controlled by the learnable decay factor p, which allows pLSTM to achieve its superior performance. Altogether, we found that LSTM with the proposed forget gate can learn long-term dependencies, outperforming other recurrent networks in multiple domains; such gating mechanism can be integrated into other architectures for improving the learning of long timescale information in recurrent neural networks.

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

↑