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

可并行化的记忆递归单元

Parallelizable memory recurrent units

Montefiore Institute, University of Liege(蒙费尔研究所,利耶日大学)

Florent De Geeter, Gaspard Lambrechts, Damien Ernst, Guillaume Drion

AI总结:

本文提出了一种结合非线性递归网络持久记忆能力和状态空间模型并行计算能力的新递归神经网络——记忆递归单元(MRUs),通过多稳态机制实现持久记忆,同时避免瞬态动态以提高效率,并展示了其在长时序依赖任务中的有效性。

摘要:

随着大规模并行处理单元的出现,并行化已成为新序列模型的 desirable 属性。在训练过程中,能够针对序列长度并行处理序列的能力是Transformer架构兴起的主要原因之一。然而,Transformer在序列生成方面效率低下,因为它们需要在每个生成步骤重新处理所有先前的时间步。最近,状态空间模型(SSMs)作为一种更高效的替代方案出现。这些新的递归神经网络(RNNs)在保持RNN高效更新的同时,通过去除非线性动态(或递归)获得了并行化能力。SSMs通过高效训练可能非常大的网络,可以达到最先进的性能,但仍受有限表示能力的限制。特别是,由于其单稳态性,SSMs无法表现出持久记忆,即保留信息无限期的能力。在本文中,我们介绍了一种新的RNN家族——记忆递归单元(MRUs),它们结合了非线性RNN的持久记忆能力与SSMs的并行计算能力。这些单元利用多稳态作为持久记忆的来源,同时通过去除瞬态动态以实现高效计算。我们随后推导出一个具体的实现作为概念验证:双稳态记忆递归单元(BMRU)。这种新的RNN与并行扫描算法兼容。我们证明BMRU在具有长期依赖的任务中表现良好,并且可以与状态空间模型结合,创建具有瞬态动态和持久记忆的混合网络。

英文摘要:

With the emergence of massively parallel processing units, parallelization has become a desirable property for new sequence models. The ability to parallelize the processing of sequences with respect to the sequence length during training is one of the main factors behind the uprising of the Transformer architecture. However, Transformers lack efficiency at sequence generation, as they need to reprocess all past timesteps at every generation step. Recently, state-space models (SSMs) emerged as a more efficient alternative. These new kinds of recurrent neural networks (RNNs) keep the efficient update of the RNNs while gaining parallelization by getting rid of nonlinear dynamics (or recurrence). SSMs can reach state-of-the-art performance through the efficient training of potentially very large networks, but still suffer from limited representation capabilities. In particular, SSMs cannot exhibit persistent memory, or the capacity of retaining information for an infinite duration, because of their monostability. In this paper, we introduce a new family of RNNs, the memory recurrent units (MRUs), that combine the persistent memory capabilities of nonlinear RNNs with the parallelizable computations of SSMs. These units leverage multistability as a source of persistent memory, while getting rid of transient dynamics for efficient computations. We then derive a specific implementation as proof-of-concept: the bistable memory recurrent unit (BMRU). This new RNN is compatible with the parallel scan algorithm. We show that BMRU achieves good results in tasks with long-term dependencies, and can be combined with SSMs to create parallelizable hybrid networks that have both transient dynamics and persistent memory.

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

↑