arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.00337cs.LG
收藏

递归算法推理

Recursive Algorithmic Reasoning

University of Cambridge(剑桥大学);University of Oxford(牛津大学);Google DeepMind(谷歌DeepMind)

Jonas Jürß, Dulhan Jayalath, Petar Veličković

AI总结:

针对神经网络无法执行递归算法的问题,提出用栈增强图神经网络并捕获中间算法轨迹以实现递归推理,显著提升了对更大输入图的泛化能力。

摘要:

能够执行算法的学习模型使我们能够解决深度学习中的一个关键问题:泛化到分布外数据。然而,神经网络目前无法执行递归算法,因为它们没有任意大的内存来存储和调用状态。为了解决这个问题,我们(1)提出了一种用栈增强图神经网络(GNN)的方法,并且(2)开发了一种捕获中间算法轨迹的方法,与以前的方法相比,该方法改善了与递归算法的算法对齐。该栈允许网络学习存储和调用网络在特定时间的部分状态,类似于递归算法中调用栈的操作。这种增强允许网络进行递归推理。我们通过实验证明,与先前关于深度优先搜索(DFS)的工作相比,我们的建议显著改善了对更大输入图的泛化能力。

英文摘要:

Learning models that execute algorithms can enable us to address a key problem in deep learning: generalizing to out-of-distribution data. However, neural networks are currently unable to execute recursive algorithms because they do not have arbitrarily large memory to store and recall state. To address this, we (1) propose a way to augment graph neural networks (GNNs) with a stack, and (2) develop an approach for capturing intermediate algorithm trajectories that improves algorithmic alignment with recursive algorithms over previous methods. The stack allows the network to learn to store and recall a portion of the state of the network at a particular time, analogous to the action of a call stack in a recursive algorithm. This augmentation permits the network to reason recursively. We empirically demonstrate that our proposals significantly improve generalization to larger input graphs over prior work on depth-first search (DFS).

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

↑