arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.11870cs.LGcs.CL
收藏

增强序列模型长度外推能力的指针增强神经记忆

Enhancing Length Extrapolation in Sequential Models with Pointer-Augmented Neural Memory

Applied AI Institute, Deakin University(迪肯大学应用人工智能研究所)

Hung Le, Dung Nguyen, Kien Do, Svetha Venkatesh, Truyen Tran

AI总结:

本文提出指针增强神经记忆(PANM),通过外部神经记忆和物理指针操作增强序列模型,实现符号处理与长度外推,在算法推理、Dyck 语言识别及组合学习等任务中显著提升性能。

摘要:

我们提出指针增强神经记忆(Pointer-Augmented Neural Memory, PANM),以帮助神经网络理解符号处理并将其应用于新的、更长的数据序列。PANM 集成了一个外部神经记忆,该记忆使用新颖的物理地址和指针操作技术来模拟人类和计算机的符号处理能力。PANM 通过显式使用物理指针访问记忆内容,促进了指针赋值、解引用和算术操作。值得注意的是,它可以通过对序列数据的端到端训练学会执行这些操作,从而增强各种序列模型。我们的实验证明了 PANM 在需要符号处理的任务(如算法推理和 Dyck 语言识别)中具有出色的长度外推能力和改进的性能。PANM 帮助 Transformer 在组合学习任务中实现高达 100% 的泛化准确率,并在数学推理、问答和机器翻译任务中取得显著更好的结果。

英文摘要:

We propose Pointer-Augmented Neural Memory (PANM) to help neural networks understand and apply symbol processing to new, longer sequences of data. PANM integrates an external neural memory that uses novel physical addresses and pointer manipulation techniques to mimic human and computer symbol processing abilities. PANM facilitates pointer assignment, dereference, and arithmetic by explicitly using physical pointers to access memory content. Remarkably, it can learn to perform these operations through end-to-end training on sequence data, powering various sequential models. Our experiments demonstrate PANM's exceptional length extrapolating capabilities and improved performance in tasks that require symbol processing, such as algorithmic reasoning and Dyck language recognition. PANM helps Transformer achieve up to 100% generalization accuracy in compositional learning tasks and significantly better results in mathematical reasoning, question answering and machine translation tasks.

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

↑