Skip to content
AI.info

Research

Mitigating Over-squashing without Rewiring: A Sheaf Effective Resistance Perspective

Overview Research area: Graph Neural Networks (GNNs), specifically the phenomenon of over-squashing in message passing, approached through cellular sheaves, spectral graph theory, and effective resist

Mitigating Over-squashing without Rewiring: A Sheaf Effective Resistance Perspective
arXiv
2610.04157
Published
2026-10-03
Authors
André Ribeiro, Germano Barcelos, Amauri H. Souza, Diego Mesquita, Ana Luiza Tenório

AI summary

Overview

  • Research area: Graph Neural Networks (GNNs), specifically the phenomenon of over-squashing in message passing, approached through cellular sheaves, spectral graph theory, and effective resistance.
  • Technical level: Advanced. The paper is built on sheaf Laplacians, pseudo-inverses, Jacobian sensitivity bounds, and flat vector bundles.
  • Scope: A theoretical and empirical study that introduces sheaf effective resistance as a generalization of graph effective resistance, proves it upper-bounds over-squashing sensitivity, and validates the idea with a simple message-passing sheaf model called FlatNSD on synthetic and real-world benchmarks.

What This Paper Is About

GNNs compress information from many distant nodes into fixed-size vectors, and this compression (over-squashing) limits their ability to learn long-range dependencies. The dominant explanation treats over-squashing as a property of the graph topology, and the standard fix is rewiring: adding or removing edges to reduce effective resistance. This paper argues that the bottleneck need not live in the graph at all — it can live in the sheaf attached to the graph, and can be relocated and reduced by learning better restriction maps while keeping the original topology untouched.

Key Contributions

  1. New metric and closed-form formulas. The authors define sheaf effective resistance (sheaf ER) as a generalization of classical effective resistance that depends on the sheaf attached to the graph, and derive closed-form equations for it (Section 4), including Proposition 4.2, which expresses it in terms of the graph Laplacian pseudo-inverse, and Theorem 4.2, a formula for the total sheaf ER.
  2. A theoretical link to over-squashing. Theorem 4.1 proves that for flat vector bundles, the Jacobian sensitivity (the standard measure of over-squashing) between two nodes is upper bounded by a quantity involving the sheaf effective resistance between them. Corollary 4.1 gives the corresponding total-resistance bound, and Theorems 4.3 and Proposition 4.4 extend the analysis to bipartite graphs (the non-bipartite case was the setting used by Black et al. (2023)).
  3. A simple model, FlatNSD. The authors instantiate the idea as a message-passing variant of Neural Sheaf Diffusion restricted to flat vector bundles, showing it can be implemented as a standard MPNN (Equation 2) with ψ_t(h_u) = −F_u h_u, which allows a more efficient implementation and accommodates directed graph inputs. FlatNSD itself never computes the sheaf ER or any pseudo-inverse; the metric is used purely as an analytical tool.
  4. Empirical validation and architectural guidance. Synthetic experiments show accuracy rising as total sheaf ER falls, and real-world experiments show FlatNSD is competitive with rewiring and graph-transformer baselines. The authors also identify two architectural drivers of performance: how restriction maps are parameterized, and the stalk dimension d.

Main Findings

  • Effective resistance generalizes cleanly. If the sheaf is the trivial sheaf (d = 1, identity restriction maps), sheaf ER coincides with classical effective resistance. Example 4.1: on a two-vertex graph with one edge and the trivial sheaf, R_F(u,v) = R(u,v) = 1; with 2-dimensional rotation restriction maps parameterized by angles x and y, R_F(u,v) = cos(x−y) + 1. Simply changing the sheaf — without touching the graph — changes the effective resistance.
  • Sheaf ER bounds over-squashing sensitivity. Theorem 4.1 shows the Jacobian norm is upper bounded by a term containing R_F(u,v)/d (with an extra 4(L_G^+)_uv term when (L_G^+)_uv ≥ 0). Lower sheaf ER therefore corresponds to less compression of messages. Corollary 4.1 aggregates this over all node pairs using the total sheaf ER.
  • Flat bundles can strictly improve on the graph. Proposition 4.3: for a flat O(d)-bundle over a connected graph with at least two nodes, R_F/d ≤ R, with equality exactly when F_v 1_d = c for some c ∈ R^d and all nodes v. Notably, for every d ≥ 1 there exists a flat O(d)-bundle with R_F/d < R.
  • A geometric explanation despite isospectrality. Remark 4.1 addresses why FlatNSD can help when L_F = O^T (L_G ⊗ I_d) O has essentially the same spectrum as the graph Laplacian. The answer is rotation: with g_v = F_v ξ and ξ = 1_d/√d, we get M_uv = d cos θ_uv, and R_F(u,v) = d((L_G^+)_uu + (L_G^+)_vv − 2 cos(θ_uv)(L_G^+)_uv). Aligned g_u = g_v recovers the trivial bundle's resistance; orthogonal g_u ⟂ g_v removes the cross-term; and g_u = −g_v gives the largest reduction when (L_G^+)_uv < 0.
  • TreeNeighborsMatch: FlatNSD-SAGE is perfect for all depths. On this synthetic task (a binary tree of depth r, with information propagated from leaves to the root), FlatNSD-SAGE achieves perfect accuracy for all r, outperforming GCN, GIN, GAT, GGNN and BuNN, and matching CSNN. As comparison, NSD with orthogonal maps attains 0.91 accuracy at r = 3 and 0.05 at r = 4.
  • Accuracy inversely tracks sheaf ER. With r = 8, FlatNSD-SAGE reaches 100% accuracy at both d = 2 and d = 4, but d = 4 converges much faster (25 steps vs. 143 for d = 2) and maintains a stronger inverse correlation between accuracy and total sheaf ER across layers. The d = 2 run's weaker correlation is attributed to difficulty in approximating an optimal sheaf.
  • ECHO-Synth: strongest on the eccentricity task. Across the three property-prediction tasks (diam, ecc, sssp) on six topological families with diameters 17–40, FlatNSD_SAGE obtains MAE 3.138 ± 0.052 on ecc, beating the next best baseline (CSNN, 4.527 ± 0.022) by over 30%. It is third-best on sssp (0.198 ± 0.082, behind CSNN's 0.044 ± 0.036 and GRIT's 0.121 ± 0.013) and competitive on diam (1.132 ± 0.095). CSNN achieves the lowest MAE on diam (1.001 ± 0.068) and sssp.
  • Graph Transfer: later accuracy drop. On the CrossedRing, Ring, and CliquePath topologies parameterized by source–target distance r, FlatNSD's accuracy decreases only at longer distances than GCN and SAGE. The paper reports it also outperforms GIN and GAT (Section B.3), and that d = 4 outperforms d = 2, indicating the importance of stalk dimension.
  • No over-smoothing trade-off reported. Section B.2 analyzes the well-known tension between over-squashing and over-smoothing, and the authors state that their modifications mitigate over-squashing without inducing over-smoothing.
  • Real-world benchmark results are only partially visible. Table 2 lists Platonov et al. (2023) datasets (roman-empire, amazon-ratings, minesweeper, tolokers, questions) with homophily levels 0.05, 0.38, 0.68, 0.59, and 0.84, and rows for GCN, SAGE, GAT, GAT-sep, GT, GT-sep, BuNN, and CSNN. The provided content is truncated before FlatNSD's row appears, and CSNN's questions value is also cut off, so FlatNSD's real-world numbers are not reported in the available text.

Methodology in Plain English

The authors start from a standard way of measuring over-squashing: how much a change in one node's input feature changes another node's output representation after r layers — the norm of the Jacobian ‖∂h_u^(r)/∂x_v‖. If that norm is bounded above by a small number for distant nodes, information cannot flow.

Their key move is to replace the graph Laplacian in the classical effective resistance formula with the sheaf Laplacian, giving sheaf effective resistance. A cellular sheaf assigns a vector space (a "stalk") to every node and edge and a linear "restriction map" to every incident node–edge pair, and these maps act as tunable communication channels. Because the resistance formula now depends on the restriction maps, the bottleneck can be reduced by learning better maps rather than by editing the graph.

To make this tractable, they restrict attention to flat vector bundles, where each node gets a single orthogonal map F_v shared across its incident edges. This yields clean closed forms: the sheaf Laplacian becomes L_F = O^T (L_G ⊗ I_d) O with O block-diagonal, its pseudo-inverse is O^T (L_G^+ ⊗ I_d) O, and computing sheaf ER for any flat bundle needs only one graph Laplacian pseudo-inverse, since the graph is never rewired. They then plug this into the Jacobian bound machinery of Black et al. (2023) to obtain Theorem 4.1 and its corollary.

For experiments, they implement FlatNSD, a message-passing version of Neural Sheaf Diffusion restricted to flat bundles, which turns out to be a standard MPNN with normalized adjacency weights and a linear message. They test it on synthetic over-squashing probes (TreeNeighborsMatch, ECHO-Synth, Graph Transfer) and on real-world node-classification datasets, comparing against classical GNNs, rewiring methods, graph transformers, BuNN, and the concurrent sheaf model CSNN. Restriction maps are parameterized either by an MLP (as in NSD) or by a SAGE-style structure-aware function (as in BuNN and CSNN).

Why This Matters

The paper shifts the framing of over-squashing from "which edges should we add?" to "which restriction maps should we learn?" That reframing matters because rewiring permanently alters the input graph — which can be undesirable, expensive, or simply invalid when the graph is a faithful representation of the domain (molecules, circuits, meshes). If the communication bottleneck can be relocated into the sheaf instead, then a fixed topology is no longer a hard ceiling on long-range information flow.

Real-world applications where this could matter:

  • Molecular chemistry and drug discovery, where the graph is the molecule and modifying bonds to "rewire" would change the object being studied.
  • Physical simulation, where the interaction graph is dictated by physics and cannot be edited arbitrarily.
  • Recommendation systems, where user–item graphs are enormous and long-range signals (distant but relevant users/items) are precisely what over-squashing suppresses.
  • Network routing and infrastructure analysis, where the topology is fixed and only the way information is encoded and exchanged can be changed.

Industry relevance: the work is an analytical and architectural contribution rather than a deployment-ready system, but it provides a practical recipe — keep the graph, learn orthogonal per-node maps, choose stalk dimension carefully — that can be dropped into existing message-passing pipelines. The paper emphasizes that restriction-map parameterization and stalk dimension are the two knobs that matter, which is directly actionable guidance for practitioners building large-scale GNN systems.

Future Directions

  • Scaling beyond flat bundles. The authors note that their preliminary experiments with general sheaves showed significant numerical instability, so extending the theory and the model to non-flat sheaves remains open.
  • Choosing the stalk dimension d systematically. The results show d = 4 converging in 25 steps versus 143 for d = 2 on TreeNeighborsMatch, and better Graph Transfer performance at d = 4, but no principled rule for selecting d is given.
  • Closing the gap with more engineered sheaf models. CSNN achieves the lowest MAE on diam and sssp, suggesting that more intricate sheaf architectures still have an edge; understanding what they add on top of the FlatNSD mechanism is an open question.
  • Broadening the theory. Theorems 4.1 and 4.2 assume non-bipartite graphs; the paper extends to bipartite graphs in Proposition 4.4 and Theorem 4.3, but further graph classes and the exact tightness of the bounds are not resolved.

Target Audience

This paper is aimed at GNN researchers and graduate students working on over-squashing, over-smoothing, graph rewiring, or spectral methods, as well as anyone already familiar with Neural Sheaf Diffusion or Bundle Neural Networks who wants to understand why sheaf-based models help with long-range dependencies. It is also relevant to practitioners who need better long-range information flow on fixed graphs they cannot or should not modify. Readers without a background in graph Laplacians, pseudo-inverses, and Jacobian-based sensitivity analysis will find the theory sections demanding.

Authors’ abstract

Graph Neural Networks (GNNs) often struggle to capture long-range dependencies due to over-squashing -- a phenomenon in which the repeated compression of node embeddings into finite-size messages causes representations to collapse. Over-squashing is most often diagnosed as a property of the graph topology, with effective resistance serving as a principled measure of the bottleneck. We provide a complementary view on the matter: building on cellular sheaves, we introduce sheaf effective resistance, a generalization of effective resistance that depends on the sheaf attached to the graph, and we prove that for flat vector bundles, the over-squashing sensitivity in the Jacobian sense is upper bounded by a quantity related to the sheaf effective resistance between the nodes. The bottleneck thus need not lie in the graph itself: it can be relocated, and reduced, by adjusting the sheaf. We instantiate this idea in FlatNSD, a simple message-passing variant of Neural Sheaf Diffusion, and show that it implicitly learns to modulate total sheaf effective resistance, performing well on benchmarks designed to stress over-squashing without altering the original graph topology.

Read the original paper