Neural Algorithmic Reasoning with Multiple Correct Solutions
Zeno Kujawa, John Poole, Dobrik Georgiev, Danilo Numeroso, Henry Fleischmann, Pietro Li\`o

TL;DR
This paper introduces the first method for neural algorithmic reasoning that can recover multiple correct solutions for classical algorithms like Bellman-Ford and DFS, enhancing the flexibility of neural models in solving problems with multiple valid outputs.
Contribution
It presents a novel framework for training neural networks to produce multiple solutions for classical algorithms, expanding the capabilities of neural algorithmic reasoning.
Findings
Successfully applied to Bellman-Ford and DFS algorithms.
Provides a framework for generating training data and sampling multiple solutions.
First attempt at multi-solution neural algorithmic reasoning in the literature.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications
