Pointer Graph Networks
Petar Velickovic, Lars Buesing, Matthew C. Overlan, Razvan Pascanu, Oriol Vinyals, Charles Blundell
Abstract
Graph neural networks (GNNs) are typically applied to static graphs that are assumed to be known upfront. This static input structure is often informed purely by insight of the machine learning practitioner, and might not be optimal for the actual task the GNN is solving. In absence of reliable domain expertise, one might resort to inferring the latent graph structure, which is often difficult due to the vast search space of possible graphs. Here we introduce Pointer Graph Networks (PGNs) which augment sets or graphs with additional inferred edges for improved model generalisation ability. PGNs allow each node to dynamically point to another node, followed by message passing over these pointers. The sparsity of this adaptable graph structure makes learning tractable while still being sufficiently expressive to simulate complex algorithms. Critically, the pointing mechanism is directly supervised to model long-term sequences of operations on classical data structures, incorporating useful structural inductive biases from theoretical computer science. Qualitatively, we demonstrate that PGNs can learn parallelisable variants of pointer-based data structures, namely disjoint set unions and link/cut trees. PGNs generalise out-of-distribution to 5× larger test inputs on dynamic graph connectivity tasks, outperforming unrestricted GNNs and Deep Sets. (1) , continuing the process. The latents may be used to provide answers, y (t) , to queries about the underlying data. We highlight masked out nodes in red, and modified pointers and latents in blue. See Appendix A for a higher-level visualisation, along with PGN's gradient flow. PGNs take a hybrid approach, assuming that the practitioner may specify part of the graph structure, and then adaptively learn a linear number of pointer edges between nodes (as in [50] for RNNs). The pointers are optimised through direct supervision on classical data structures [5] . We empirically demonstrate that PGNs further increase GNN generalisation beyond those with static graph structures [12] , without sacrificing computational cost or sparsity for this added flexibility in graph structure. Unlike prior work on algorithm learning with GNNs [54, 47, 55, 6, 40] , we consider algorithms that do not directly align to dynamic programming (making them inherently non-local [53] ) and, crucially, the optimal known algorithms rely upon pointer-based data structures. The pointer connectivity of these structures dynamically changes as the algorithm executes. We learn algorithms that operate on two distinct data structures-disjoint set unions [11] and link/cut trees [38] . We show that baseline GNNs are unable to learn the complicated, data-driven manipulations that they perform and, through PGNs, show that extending GNNs with learnable dynamic pointer links enables such modelling.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f77fbf52-511f-4d52-9e07-7adc07ff847cCited by top-tier papers8
- Reducing Collision Checking for Sampling-Based Motion Planning Using Graph Neural NetworksChenning Yu, Sicun GaoNeurIPS 2021 · 68 citations
- Towards Scale-Invariant Graph-related Problem Solving by Iterative Homogeneous GNNsHao Tang, Zhiao Huang, Jiayuan Gu, Bao-Liang Lu et al.NeurIPS 2020 · 54 citations
- Boosting Graph Structure Learning with Dummy NodesXin Liu, Jiayang Cheng, Yangqiu Song, Xin JiangICML 2022 · 27 citations
- Algorithmic Concept-Based Explainable ReasoningDobrik Georgiev, Pietro Barbiero, Dmitry Kazhdan, Petar Velickovic et al.AAAI 2022 · 21 citations
- Deep Equilibrium Algorithmic ReasoningDobrik Georgiev, Joseph Wilson, Davide Buffelli, Pietro LióNeurIPS 2024 · 7 citations
Builds on9
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 citations
- Learning to Simulate Complex Physics with Graph NetworksAlvaro Sanchez-Gonzalez, Jonathan Godwin, Tobias Pfaff, Rex Ying et al.ICML 2020 · 1,439 citations
- Measuring and Relieving the Over-Smoothing Problem for Graph Neural Networks from the Topological ViewDeli Chen, Yankai Lin, Wei Li, Peng Li et al.AAAI 2020 · 1,353 citations
- PairNorm: Tackling Oversmoothing in GNNsLingxiao Zhao, Leman AkogluICLR 2020 · 590 citations
- Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 citations
Related papers
- Graph Pointer Neural NetworksTianmeng Yang, Yujing Wang, Zhihan Yue, Yaming Yang et al.AAAI 2022 · 53 citations
- Learning to Execute Programs with Instruction Pointer Attention Graph Neural NetworksDavid Bieber, Charles Sutton, Hugo Larochelle, Daniel TarlowNeurIPS 2020 · 51 citations
- SLAPS: Self-Supervision Improves Structure Learning for Graph Neural NetworksBahare Fatemi, Layla El Asri, Seyed Mehran KazemiNeurIPS 2021 · 220 citations
- Probabilistically Rewired Message-Passing Neural NetworksChendi Qian, Andrei Manolache, Kareem Ahmed, Zhe Zeng et al.ICLR 2024 · 26 citations
- Directed Acyclic Graph Neural NetworksVeronika Thost, Jie ChenICLR 2021 · 134 citations
