LGAISep 11, 2024

Neural Algorithmic Reasoning with Multiple Correct Solutions

Cambridge
arXiv:2409.06953v43 citationsh-index: 8
Originality Incremental advance
AI Analysis

This addresses a limitation in NAR for applications requiring multiple solutions, though it is incremental as it builds on existing NAR methods.

The paper tackles the problem of Neural Algorithmic Reasoning (NAR) being limited to single solutions by introducing the first method to recover multiple correct solutions, such as for Bellman-Ford and Depth-First Search algorithms, with a framework for training, sampling, and validation.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes