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

具有多个正确解的神经算法推理

Neural Algorithmic Reasoning with Multiple Correct Solutions

Northeastern University(东北大学);University of Cambridge(剑桥大学);Università di Pisa(比萨大学);Carnegie Mellon University(卡内基梅隆大学)

Zeno Kujawa, John Poole, Dobrik Georgiev, Danilo Numeroso, Henry Fleischmann, Pietro Liò

AI总结:

针对神经算法推理只能预测单一正确解的局限,提出首个多解NAR方法,通过训练数据生成及输出采样验证,在BF和DFS上实现多解恢复。

摘要:

神经算法推理(Neural Algorithmic Reasoning,NAR)将经典算法扩展到更高维数据。然而,NAR的规范实现训练神经网络只返回单个解,即使一个问题存在多个正确解,例如单源最短路径问题。对于某些应用,恢复多个正确解是可取的。为此,我们提出了首个用于多解NAR的方法。我们在两种经典算法上展示了该方法:Bellman-Ford(BF)和深度优先搜索(Depth-First Search,DFS),更侧重于深入理解这两种算法,而非对算法进行更广泛的调研。该方法包括生成适当的训练数据,以及从模型输出中采样并验证解。我们方法的每一步都可以作为本文所呈现任务之外的神经算法推理框架,可能对该领域具有独立的研究价值,并且我们的结果代表了NAR文献中对此任务的首次尝试。

英文摘要:

Neural Algorithmic Reasoning (NAR) extends classical algorithms to higher dimensional data. However, canonical implementations of NAR train neural networks to return only a single solution, even when there are multiple correct solutions to a problem, such as single-source shortest paths. For some applications, it is desirable to recover more than one correct solution. To that end, we give the first method for NAR with multiple solutions. We demonstrate our method on two classical algorithms: Bellman-Ford (BF) and Depth-First Search (DFS), favouring deeper insight into two algorithms over a broader survey of algorithms. This method involves generating appropriate training data as well as sampling and validating solutions from model output. Each step of our method, which can serve as a framework for neural algorithmic reasoning beyond the tasks presented in this paper, might be of independent interest to the field and our results represent the first attempt at this task in the NAR literature.

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

↑