arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.04929cs.LGcs.AIcs.NE
收藏

论神经算法推理的马尔可夫性质:分析与方法

On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods

Texas A&M University(德克萨斯农工大学)

Montgomery Bohde, Meng Liu, Alexandra Saxton, Shuiwang Ji

AI总结:

针对神经算法推理中依赖历史嵌入与任务马尔可夫性质的矛盾,提出无历史嵌入的ForgetNet及带门控机制的G-ForgetNet,在CLRS-30基准上实现了更优的泛化性能。

摘要:

神经算法推理是一个新兴研究方向,旨在赋予神经网络逐步模拟算法执行的能力。现有设计中的常见范式是利用历史嵌入来预测未来执行步骤的结果。本研究观察到,这种历史依赖性与算法推理任务的马尔可夫性质存在内在矛盾。基于这一动机,我们提出了ForgetNet,该模型不使用历史嵌入,因此与任务的马尔可夫性质相一致。为解决ForgetNet在训练早期阶段面临的挑战,我们进一步引入了G-ForgetNet,它采用门控机制,允许选择性整合历史嵌入。这种增强的能力在模型训练早期阶段提供了宝贵的计算路径。我们基于CLRS-30算法推理基准开展了大量实验,结果表明ForgetNet和G-ForgetNet均比现有方法具备更优的泛化能力。此外,我们还研究了门控机制的行为,强调了其与我们直觉的契合程度,以及其对实现稳健性能的有效性。

英文摘要:

Neural algorithmic reasoning is an emerging research direction that endows neural networks with the ability to mimic algorithmic executions step-by-step. A common paradigm in existing designs involves the use of historical embeddings in predicting the results of future execution steps. Our observation in this work is that such historical dependence intrinsically contradicts the Markov nature of algorithmic reasoning tasks. Based on this motivation, we present our ForgetNet, which does not use historical embeddings and thus is consistent with the Markov nature of the tasks. To address challenges in training ForgetNet at early stages, we further introduce G-ForgetNet, which uses a gating mechanism to allow for the selective integration of historical embeddings. Such an enhanced capability provides valuable computational pathways during the model's early training phase. Our extensive experiments, based on the CLRS-30 algorithmic reasoning benchmark, demonstrate that both ForgetNet and G-ForgetNet achieve better generalization capability than existing methods. Furthermore, we investigate the behavior of the gating mechanism, highlighting its degree of alignment with our intuitions and its effectiveness for robust performance.

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

↑