Locality-Aware Graph Rewiring in GNNs
Federico Barbero, Ameya Velingker, Amin Saberi, Michael M. Bronstein, Francesco Di Giovanni
Abstract
Graph Neural Networks (GNNs) are popular models for machine learning on graphs that typically follow the message-passing paradigm, whereby the feature of a node is updated recursively upon aggregating information over its neighbors. While exchanging messages over the input graph endows GNNs with a strong inductive bias, it can also make GNNs susceptible to over-squashing, thereby preventing them from capturing long-range interactions in the given graph. To rectify this issue, graph rewiring techniques have been proposed as a means of improving information flow by altering the graph connectivity. In this work, we identify three desiderata for graph-rewiring: (i) reduce over-squashing, (ii) respect the locality of the graph, and (iii) preserve the sparsity of the graph. We highlight fundamental trade-offs that occur between spatial and spectral rewiring techniques; while the former often satisfy (i) and (ii) but not (iii), the latter generally satisfy (i) and (iii) at the expense of (ii). We propose a novel rewiring framework that satisfies all of (i)--(iii) through a locality-aware sequence of rewiring operations. We then discuss a specific instance of such rewiring framework and validate its effectiveness on several real-world benchmarks, showing that it either matches or significantly outperforms existing rewiring approaches.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
26 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Understanding over-squashing and bottlenecks on graphs via curvature cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
- Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Tasks cites Understanding over-squashing and bottlenecks on graphs via curvature
- Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Tasks cites Recipe for a General, Powerful, Scalable Graph Transformer
- Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Tasks cites On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning cites Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Tasks
- Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Tasks cites Rethinking Graph Transformers with Spectral Attention
- Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Tasks cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
- Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range Tasks cites Oversmoothing, "Oversquashing", Heterophily, Long-Range, and more: Demystifying Common Beliefs in Graph Machine Learning
- Recipe for a General, Powerful, Scalable Graph Transformer cites Understanding over-squashing and bottlenecks on graphs via curvature
- Recipe for a General, Powerful, Scalable Graph Transformer cites Weisfeiler and Lehman Go Cellular: CW Networks
- Recipe for a General, Powerful, Scalable Graph Transformer cites Rethinking Graph Transformers with Spectral Attention
- Recipe for a General, Powerful, Scalable Graph Transformer cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
- Transformers need glasses! Information over-squashing in language tasks cites Understanding over-squashing and bottlenecks on graphs via curvature
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning cites Understanding over-squashing and bottlenecks on graphs via curvature
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning cites Recipe for a General, Powerful, Scalable Graph Transformer
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning cites Transformers need glasses! Information over-squashing in language tasks
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning cites Rethinking Graph Transformers with Spectral Attention
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning cites Oversmoothing, "Oversquashing", Heterophily, Long-Range, and more: Demystifying Common Beliefs in Graph Machine Learning
- Oversmoothing, "Oversquashing", Heterophily, Long-Range, and more: Demystifying Common Beliefs in Graph Machine Learning cites On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learning
- Probabilistic Graph Rewiring via Virtual Nodes cites Understanding over-squashing and bottlenecks on graphs via curvature
- Probabilistic Graph Rewiring via Virtual Nodes cites Recipe for a General, Powerful, Scalable Graph Transformer
- Oversmoothing, "Oversquashing", Heterophily, Long-Range, and more: Demystifying Common Beliefs in Graph Machine Learning cites Understanding over-squashing and bottlenecks on graphs via curvature
- Oversmoothing, "Oversquashing", Heterophily, Long-Range, and more: Demystifying Common Beliefs in Graph Machine Learning cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
Cited by top-tier papers26
- Transformers need glasses! Information over-squashing in language tasksFederico Barbero, Andrea Banino, Steven Kapturowski, Dharshan Kumaran et al.NeurIPS 2024 · 105 citations
- On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph LearningAlvaro Arroyo, Alessio Gravina, Benjamin Gutteridge, Federico Barbero et al.NeurIPS 2025 · 58 citations
- Oversmoothing, "Oversquashing", Heterophily, Long-Range, and more: Demystifying Common Beliefs in Graph Machine LearningAdrián Arnaiz-Rodríguez, Federico ErricaICLR 2026 · 26 citations
- Probabilistic Graph Rewiring via Virtual NodesChendi Qian, Andrei Manolache, Christopher Morris, Mathias NiepertNeurIPS 2024 · 24 citations
- Return of ChebNet: Understanding and Improving an Overlooked GNN on Long Range TasksAli Hariri, Alvaro Arroyo, Alessio Gravina, Moshe Eliasof et al.NeurIPS 2025 · 20 citations
Builds on15
- Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu et al.NeurIPS 2022 · 1,216 citations
- Graph Neural Networks Exponentially Lose Expressive Power for Node ClassificationKenta Oono, Taiji SuzukiICLR 2020 · 864 citations
- Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau et al.NeurIPS 2021 · 854 citations
- Understanding over-squashing and bottlenecks on graphs via curvatureJake Topping, Francesco Di Giovanni, Benjamin Paul Chamberlain, Xiaowen Dong et al.ICLR 2022 · 628 citations
- Weisfeiler and Lehman Go Cellular: CW NetworksCristian Bodnar, Fabrizio Frasca, Nina Otter, Yuguang Wang et al.NeurIPS 2021 · 330 citations
Related papers
- Mitigating Over-Squashing in Graph Neural Networks by Spectrum-Preserving SparsificationLangzhang Liang, Fanchen Bu, Zixing Song, Zenglin Xu et al.ICML 2025
- Understanding Oversquashing in GNNs through the Lens of Effective ResistanceMitchell Black, Zhengchao Wan, Amir Nayyeri, Yusu WangICML 2023 · 116 citations
- Revisiting Over-smoothing and Over-squashing Using Ollivier-Ricci CurvatureKhang Nguyen, Nong Minh Hieu, Vinh Duc Nguyen, Nhat Ho et al.ICML 2023 · 110 citations
- DRew: Dynamically Rewired Message Passing with DelayBenjamin Gutteridge, Xiaowen Dong, Michael M. Bronstein, Francesco Di GiovanniICML 2023 · 90 citations
- The Effectiveness of Curvature-Based Rewiring and the Role of Hyperparameters in GNNs RevisitedFloriano Tori, Vincent Holst, Vincent GinisICLR 2025
