arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.13370cs.LGcs.CL
收藏

相位记忆网络:用于可扩展显式记忆的稳定反向传播通过时间

Phasor Memory Networks: Stable Backpropagation Through Time for Scalable Explicit Memory

College of Pharmacy(药学院);Chungnam National University(Chungnam国立大学);Department of Computer Science & Engineering(计算机科学与工程系)

Sungwoo Goo, Hwi-yeol Yun, Sangkeun Jung

AI总结:

本文提出Phasor Memory Network,通过相位动力学和分层可学习锚点解决显式记忆的稳定性问题,实验证明其在Copy-Paste任务中达到高精确度,且在参数规模上超越了Mamba模型。

摘要:

在超过十年的时间里,显式记忆架构如神经图灵机在语言建模中理论上具有吸引力,但因反向传播通过时间时的灾难性梯度不稳定性而难以实际应用。本文通过提出Phasor Memory Network(PMNet)打破了这一僵局,该架构通过Unitary Phasor Dynamics和Hierarchical Learnable Anchors在结构上解决了记忆波动问题。我们通过受控的字节级别设置展示了机械性证明。通过将循环状态更新限制为复数单位圆上的相位旋转,PMNet保持梯度范数并固有地防止发散,而无需特殊初始化。我们通过合成的Copy-Paste任务实证地展示了记忆模块的激活,其中PMNet利用一个 expansive 85-slot 分层记忆树(=∑^{4}_{h=1}4^{h-1})在完全超过局部滑动窗口注意的接收场的时间距离上实现近100%的精确检索。此外,尽管是一个仅119M参数、训练18.8B token的紧凑模型,PMNet在零样本长上下文鲁棒性上与三倍大的Mamba模型相当。我们的消融研究和梯度分析证实,显式记忆的历史失败是结构对齐问题,PMNet有效克服了这一问题,为可扩展序列建模提供了理论基础。

英文摘要:

For over a decade, explicit memory architectures like the Neural Turing Machine have remained theoretically appealing yet practically intractable for language modeling due to catastrophic gradient instability during Backpropagation Through Time. In this work, we break this stalemate with \textit{Phasor Memory Network} (PMNet), a novel architecture that structurally resolves memory volatility through \textit{Unitary Phasor Dynamics} and \textit{Hierarchical Learnable Anchors}. Rather than relying on brute-force scaling, we present a mechanistic proof-of-concept in a controlled byte-level setting. By constraining recurrent state updates to phase rotations on a complex unit circle, PMNet preserves gradient norms and inherently prevents divergence without the need for specialized initialization. We empirically demonstrate the active actuation of the memory module through a synthetic Copy-Paste task, where PMNet utilizes an expansive \textit{85-slot hierarchical memory tree} ($=\sum^{4}_{h=1}4^{h-1}$) to achieve near 100\% exact retrieval across temporal distances that completely exceed the local sliding window attention's receptive field. Furthermore, despite being a compact 119M parameter model trained on 18.8B tokens, PMNet matches the zero-shot long-context robustness of a Mamba model that is three times larger. Our ablation studies and gradient analyses confirm that the historical failure of explicit memory was a structural alignment problem, which PMNet effectively overcomes, providing a theoretically grounded foundation for scalable sequence modeling.

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

↑