Recurrent Aggregators in Neural Algorithmic Reasoning
<|reference_start|>Recurrent Aggregators in Neural Algorithmic Reasoning: Neural algorithmic reasoning (NAR) is an emerging field that seeks to design neural networks that mimic classical algorithmic computations. Today, graph neural networks (GNNs) are widely used in neural algorithmic reasoners due to their message passing framework and permutation equivariance. In this extended abstract, we challenge this design choice, and replace the equivariant aggregation function with a recurrent neural network. While seemingly counter-intuitive, this approach has appropriate grounding when nodes have a natural ordering -- and this is the case frequently in established reasoning benchmarks like CLRS-30. Indeed, our recurrent NAR (RNAR) model performs very strongly on such tasks, while handling many others gracefully. A notable achievement of RNAR is its decisive state-of-the-art result on the Heapsort and Quickselect tasks, both deemed as a significant challenge for contemporary neural algorithmic reasoners -- especially the latter, where RNAR achieves a mean micro-F1 score of 87%.<|reference_end|>
@article{xu2024recurrent,
    title={Recurrent Aggregators in Neural Algorithmic Reasoning},
    author={Kaijia Xu, Petar Veliv{c}kovi'c},
    journal={arXiv preprint arXiv:2409.07154},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.07154},
    primaryClass={cs.LG cs.AI}
}