隐藏行波在循环神经网络中绑定工作记忆变量
Hidden Traveling Waves bind Working Memory Variables in Recurrent Neural Networks
AI总结:
本研究基于神经晶格行波动力学构建神经工作记忆理论模型,通过线性和自注意力驱动两种边界条件验证,证明其能可靠存储信息、解决梯度消失问题,为神经网络架构发展提供新思路。
摘要:
行波是大脑中的一种基础现象,在短期信息存储中发挥着关键作用。本研究利用神经晶格中的行波动力学概念,构建了一个神经工作记忆的理论模型,研究其特性以及在人工智能领域的现实意义。该模型与传统方法不同,传统方法假设信息存储在静态的、类似寄存器的位置中,通过干扰进行更新;而本模型将数据存储为波,通过波的边界条件实现更新。我们严格检验了模型在表征和学习状态历史方面的能力,这对学习依赖历史的动力系统至关重要。研究结果表明,该模型能够可靠存储外部信息,并通过解决梯度消失问题优化学习过程。为探究模型的实际适用性,我们研究了两种情况:线性边界条件(LBC)和非线性的自注意力驱动边界条件(SBC)。采用线性边界条件的模型可得到一个移位矩阵加低秩矩阵的结构,该结构目前应用于H3状态空间循环神经网络(RNN)中。此外,我们针对LBC的实验显示,在对依赖历史的动力系统建模时,循环神经网络(RNNs)可通过反向传播有效学习该矩阵。另一方面,SBC与仅含注意力的transformer的自回归回路类似,其中上下文向量代表波的基底。总体而言,我们的研究结果表明行波在人工智能中具有更广泛的相关性,且具备推动神经网络架构发展的潜力。
英文摘要:
Traveling waves are a fundamental phenomenon in the brain, playing a crucial role in short-term information storage. In this study, we leverage the concept of traveling wave dynamics within a neural lattice to formulate a theoretical model of neural working memory, study its properties, and its real world implications in AI. The proposed model diverges from traditional approaches, which assume information storage in static, register-like locations updated by interference. Instead, the model stores data as waves that is updated by the wave's boundary conditions. We rigorously examine the model's capabilities in representing and learning state histories, which are vital for learning history-dependent dynamical systems. The findings reveal that the model reliably stores external information and enhances the learning process by addressing the diminishing gradient problem. To understand the model's real-world applicability, we explore two cases: linear boundary condition (LBC) and non-linear, self-attention-driven boundary condition (SBC). The model with the linear boundary condition results in a shift matrix plus low-rank matrix currently used in H3 state space RNN. Further, our experiments with LBC reveal that this matrix is effectively learned by Recurrent Neural Networks (RNNs) through backpropagation when modeling history-dependent dynamical systems. Conversely, the SBC parallels the autoregressive loop of an attention-only transformer with the context vector representing the wave substrate. Collectively, our findings suggest the broader relevance of traveling waves in AI and its potential in advancing neural network architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。