Oversmoothing as Representation Degeneracy in Neural Sheaf Diffusion

Arif Dönmez, Ellen Fritsche, Axel Mosig, Katharina KochNeurIPS 2026

TL;DR

Graph Neural Networks notoriously suffer from "oversmoothing," where deep layers blur node features into an indistinguishable mush; Neural Sheaf Diffusion (NSD) tries to fix this by learning custom, multi-dimensional communication channels along edges. However, gradient descent can still quietly bias these rich structures to collapse back into boring, scalar-like channels. This paper borrows tools from algebraic geometry to diagnose this structural collapse and builds differentiable regularizers—plus a simple architectural tweak—to steer the network's learned geometry away from degeneracy.

What Problem Does This Paper Address?

Imagine a Graph Neural Network (GNN) as a heat diffusion process. As information flows across edges over many layers, node features average out—like a drop of ink diffusing in water until everything is a uniform, pale gray. That’s oversmoothing, and it’s terrible for heterophilic graphs (networks where connected nodes tend to be different rather than alike).

Neural Sheaf Diffusion (NSD) upgrades this setup. Instead of passing numbers directly between nodes, it assigns vector spaces (called stalks) to every node and edge, along with learned linear translators (restriction maps) that dictate how node features must agree inside an edge space. In theory, this allows nodes to maintain complex, signed, multi-dimensional disagreements rather than blurring into constants.

The catch? Just because a network can learn rich geometries doesn't mean it will. Gradient-based optimization has a known implicit bias toward overly simple solutions. If NSD's learned translators degenerate into simple identity-like maps, the fancy sheaf diffusion collapses right back into standard scalar smoothing. The authors ask: how can we mathematically characterize this geometric collapse, and how do we steer training away from it?

Methods

To analyze what NSD actually learns, the authors build a bridge between standard NSD architectures and Geometric Invariant Theory (GIT):

  • Sheaves as Quiver Representations: First, they translate a cellular sheaf on an undirected graph into a quiver representation—a directed bipartite graph where every original node points to its incident edges. This lets them break down the learned geometry into fundamental building blocks, isolating the "trivial representation" (a 1D subspace acting like an identity map, which causes scalar-like oversmoothing).
  • King Stability & Moment-Map Regularizers (New): Using GIT’s King stability, you can mathematically forbid the trivial representation from appearing—provided the sheaf satisfies a property called polystability and assigns a negative stability weight to the trivial piece. Since checking sub-spaces directly isn't differentiable, the authors turn polystability into matrix-balance equations (via moment maps) and design two differentiable loss penalties:
  • CentMM: Encourages restriction maps at each node and edge to be balanced (close to scalar multiples of the identity matrix) without prescribing specific weights.
  • ThetaMM: Learns explicit stability weights ($\theta$) for each graph object, actively pushing the weight of the trivial representation into negative territory to destabilize and exclude it.
  • Non-Uniform Stalks (New Architectural Rule): Instead of standard square restriction maps (where node and edge spaces have equal dimensions), they use rectangular stalks (e.g., mapping 2D node spaces to 3D edge spaces) to unlock ThetaMM's ability to penalize trivial components.

Datasets

The authors evaluate their framework on two main fronts:

  • Controlled Synthetic Graphs: 240-node, 4-regular graphs designed with adjustable classification difficulty (3, 6, and 12 classes) to test geometric collapse and recovery under controlled conditions.
  • WebKB Benchmarks (Texas & Wisconsin): Standard real-world, heterophilic webpage datasets (5 classes each) used to test node classification and geometric trajectories in native 16-layer and 128-layer NSD models.

Key Insights and Ideas

  • The Equal-Stalk Trap: Here is a neat algebraic "aha!" moment: if your node stalks and edge stalks have the exact same dimension ($d_v = d_e$)—a very standard architectural default—the math of admissible stability weights forces the weight on the trivial representation to be strictly zero. It sits permanently stuck on a "stability wall," making it impossible for stability-based regularizers to target and exclude it. Simply making the stalks rectangular ($d_v \neq d_e$, like $2 \to 3$ or $3 \to 4$) breaks this symmetry and removes the obstruction.
  • Decomposition of the Diffusion Limit: Because mapping a sheaf to its harmonic limit space preserves direct sums, decomposing a sheaf representation into simpler pieces automatically decomposes what the GNN converges to at infinite depth—no messy manual matrix block-diagonalization required.
  • The Exact Polystability Catch-22: If you use rectangular stalks where vertex dimensions are smaller than edge dimensions ($p < q$) and enforce exact polystability, all global sections vanish—meaning infinite-time linear diffusion decays completely to zero! Thus, these regularizers work best as soft geometric biases during finite, nonlinear training rather than rigid mathematical constraints.

Key Results

  • Breaking Out of Collapsed States: When 16-layer NSD models are deliberately initialized in a collapsed, trivial state on the hardest 12-class synthetic task, standard cross-entropy (CE) models overfit the training data (100% accuracy) but fail on held-out test nodes (29.44% accuracy). Adding ThetaMM regularization boosts final test accuracy to 65.00% ($\lambda_\mu=1$) and 76.67% ($\lambda_\mu=10$), while slashing geometric imbalance from ~0.81 down to ~0.16–0.22.
  • Real-World Heterophilic Gains: Under collapsed initialization on WebKB graphs, ThetaMM ($\lambda_\mu=10$) improves final test accuracy over paired CE baselines across all runs: jumping from 68.47% to 77.48% on Texas (and 74.77% to 83.78% on validation-selected checkpoints), and from 56.21% to 69.28% on Wisconsin.
  • Depth-Dependent Energy Steering: In native NSD training, CentMM reliably improves matrix balance (dropping Texas imbalance from 0.547 to 0.218). Interestingly, regularization lowers final Dirichlet energy compared to baselines at 16 layers (36/36 contrasts), but yields higher energy at 128 layers (30/36 contrasts), showing it dynamically prevents energy collapse in very deep regimes.

Limitations and Future Work

The authors are admirably candid about what their method does not do. First, soft moment-map penalties encourage balance during gradient descent, they do not strictly certify mathematical polystability—so exclusion of trivial components remains conditional rather than guaranteed. Second, ruling out the trivial 1D constant-signal mode only blocks one specific failure mode; a sheaf can still degenerate in other ways (like decaying to zero) or learn non-trivial spaces that simply aren't useful for the task. Finally, empirical gains are setting- and metric-dependent (for instance, Wisconsin accuracy improvements didn't always lift macro-recall), leaving broader datasets, architectures, and intermediate regularization schedules ripe for future exploration.

Summary updated

BibTeX
@inproceedings{donmez2026oversmoothing,
  author = {Arif Dönmez and Ellen Fritsche and Axel Mosig and Katharina Koch},
  title = {{Oversmoothing as Representation Degeneracy in Neural Sheaf Diffusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=UhbffncO5W},
}
Figure