Neural Algorithmic Reasoning with Multiple Correct Solutions
<|reference_start|>Neural Algorithmic Reasoning with Multiple Correct Solutions: Neural Algorithmic Reasoning (NAR) aims to optimize classical algorithms. 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.<|reference_end|>
@article{kujawa2024neural,
    title={Neural Algorithmic Reasoning with Multiple Correct Solutions},
    author={Zeno Kujawa, John Poole, Dobrik Georgiev, Danilo Numeroso, Pietro
  Li`o},
    journal={arXiv preprint arXiv:2409.06953},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.06953},
    primaryClass={cs.LG cs.AI}
}