arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.11628cs.LGcs.CL
收藏

离散神经算法推理

Discrete Neural Algorithmic Reasoning

Yandex Research(Yandex研究院)

Gleb Rodionov, Liudmila Prokhorenkova

AI总结:

本文提出强制神经推理器将执行轨迹保持为有限预定义状态的组合,通过分离离散与连续数据流并在状态转换上进行监督训练,在多算法任务中实现完美测试分数并证明算法正确性。

摘要:

神经算法推理旨在通过训练模型模仿经典算法的执行,从而用神经网络捕捉计算过程。尽管常见的架构具有足够的表达能力,能够在权重空间中包含正确的模型,但当前的神经推理器在分布外数据上难以很好地泛化。另一方面,经典计算不受分布偏移的影响,因为它们可以被描述为离散计算状态之间的转换。在这项工作中,我们提出强制神经推理器将执行轨迹保持为有限预定义状态的组合。为了实现这一点,我们分离了离散和连续数据流,并描述了它们之间的交互。通过在算法状态转换上进行监督训练,此类模型能够与原始算法完美对齐。为了证明这一点,我们在多个算法问题上评估了我们的方法,并在单任务和多任务设置中均取得了完美的测试分数。此外,所提出的架构选择使我们能够证明学习到的算法对任何测试数据的正确性。

英文摘要:

Neural algorithmic reasoning aims to capture computations with neural networks by training models to imitate the execution of classical algorithms. While common architectures are expressive enough to contain the correct model in the weight space, current neural reasoners struggle to generalize well on out-of-distribution data. On the other hand, classical computations are not affected by distributional shifts as they can be described as transitions between discrete computational states. In this work, we propose to force neural reasoners to maintain the execution trajectory as a combination of finite predefined states. To achieve this, we separate discrete and continuous data flows and describe the interaction between them. Trained with supervision on the algorithm's state transitions, such models are able to perfectly align with the original algorithm. To show this, we evaluate our approach on multiple algorithmic problems and achieve perfect test scores both in single-task and multitask setups. Moreover, the proposed architectural choice allows us to prove the correctness of the learned algorithms for any test data.

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

↑