English

Neural Priority Queues for Graph Neural Networks

Machine Learning 2023-07-20 v1

Abstract

Graph Neural Networks (GNNs) have shown considerable success in neural algorithmic reasoning. Many traditional algorithms make use of an explicit memory in the form of a data structure. However, there has been limited exploration on augmenting GNNs with external memory. In this paper, we present Neural Priority Queues, a differentiable analogue to algorithmic priority queues, for GNNs. We propose and motivate a desiderata for memory modules, and show that Neural PQs exhibit the desiderata, and reason about their use with algorithmic reasoning. This is further demonstrated by empirical results on the CLRS-30 dataset. Furthermore, we find the Neural PQs useful in capturing long-range interactions, as empirically shown on a dataset from the Long-Range Graph Benchmark.

Keywords

Cite

@article{arxiv.2307.09660,
  title  = {Neural Priority Queues for Graph Neural Networks},
  author = {Rishabh Jain and Petar Veličković and Pietro Liò},
  journal= {arXiv preprint arXiv:2307.09660},
  year   = {2023}
}
R2 v1 2026-06-28T11:34:09.969Z