On the necessity of learnable sheaf laplacians

Ferran Hernandez Caralt, Mar Gonzàlez I Català, Adrián Bazaga, Pietro Lio

TL;DR

This paper questions the necessity of learnable "sheaf Laplacians" in Sheaf Neural Networks (SNNs) for mitigating oversmoothing on heterophilous graphs. By introducing an "Identity Sheaf Network" (ISN) where sheaf restriction maps are fixed to the identity, the authors demonstrate comparable performance to existing SNNs on standard benchmarks, suggesting that the complexity of learning these maps might be unnecessary. Furthermore, they propose a new metric for oversmoothing and find that empirical results contradict the theoretical diffusion-based analysis often used to motivate SNNs.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) often struggle with two related issues: oversmoothing and heterophily. Oversmoothing occurs when node representations become too similar after multiple layers of message passing, making it hard to distinguish between different classes. Heterophily describes graphs where edges tend to connect nodes of different classes, which is the opposite of homophily (edges connecting similar nodes) that many GNNs are implicitly designed for.

Sheaf Neural Networks (SNNs) were proposed as a solution, extending GNNs by introducing a "sheaf" structure and replacing the standard graph Laplacian with a "sheaf Laplacian." This sheaf Laplacian uses "restriction maps" that can be learned. The theoretical motivation is that these learnable restriction maps can prevent node representations from collapsing to constants, thus mitigating oversmoothing, especially in heterophilous settings. However, other techniques like residual connections and normalization also help with oversmoothing. This paper asks: is the added complexity of learning these sheaf restriction maps truly necessary for SNNs to achieve their performance gains, or could a simpler, fixed construction suffice?

Methods

The core methodological contribution is the introduction of an Identity Sheaf Network (ISN). This ISN is essentially an SNN where the "restriction maps" within the sheaf Laplacian are fixed to be the identity function. This means that instead of learning how to transform information between nodes and edges (or other structures in the sheaf), the information is passed through unchanged. This ISN serves as a baseline to evaluate the necessity of learnable restriction maps.

To quantitatively compare oversmoothing across different models, the authors introduce the Rayleigh Quotient as a normalized measure. This metric, applied to the graph Laplacian (∆G) and the sheaf Laplacian (∆F), helps to analyze how "smooth" the representations are in the respective spaces.

Datasets

The paper evaluates its proposed ISN on five popular heterophilic benchmark datasets:

  • Texas
  • Wisconsin
  • Squirrel
  • Chameleon
  • Cornell

These datasets are standard for evaluating GNNs on heterophilous graphs and were previously used to demonstrate the effectiveness of SNNs.

Key Insights and Ideas

  • Learnable restriction maps might be overkill: The most significant insight is that a simple ISN, which uses fixed identity restriction maps, performs comparably to more complex SNN variants on standard heterophilic benchmarks. This challenges the assumption that learning these maps is crucial for achieving good performance.
  • Heterophily explains ISN's success: The paper connects the good performance of ISNs (which are essentially GCNs with a specific formulation) to the inherent heterophily of the benchmark datasets. They argue that these datasets exhibit "good heterophily," meaning that the structure naturally lends itself to models that can handle diverse neighborhood connections, a characteristic that GCNs (and thus ISNs) possess.
  • Theoretical diffusion analysis doesn't match empirical reality: The authors found that the theoretical understanding of SNNs, which often relies on the idea that sheaf diffusion prevents representations from collapsing to constants, is not consistently supported by empirical results in trained networks. Their analysis using the Rayleigh Quotient suggests that the behavior predicted by this diffusion model doesn't hold up in practice.
  • Oversmoothing is not necessarily worse in ISNs: Contrary to what one might expect if learnable maps were essential for preventing oversmoothing, ISNs do not appear to suffer from significantly more oversmoothing than their SNN counterparts.

Key Results

  • ISN achieves comparable performance: On the five heterophilic benchmarks, the ISN baseline achieved performance comparable to various SNN variants, with differences often within the standard deviation. For instance, on the Texas dataset, ISN achieved 88.01±4.05, while other SNNs like Best-RiSNN achieved 87.89±4.28.
  • All datasets show good heterophily: The analysis using Wang et al.'s (2024) heterophily measure indicated that all the benchmark datasets exhibited "good heterophily," which helps explain why a simpler model like ISN could perform well.
  • Rayleigh Quotient contradicts theory: Figure 1 shows that in trained networks, the sheaf Laplacian's Rayleigh Quotient (R∆F) is not consistently higher than the graph Laplacian's (R∆G), contradicting the hypothesis that sheaf diffusion inherently leads to less oversmoothing.

Limitations and Future Work

  • Reproducibility issues: The authors encountered reproducibility issues with the "film" dataset, leading to slightly different baseline results than reported in prior work.
  • Focus on specific benchmarks: While the paper uses popular heterophilic benchmarks, future work could explore a wider range of datasets and graph structures.
  • Revisiting theoretical frameworks: The paper strongly suggests that the current theoretical framework for SNNs, particularly the diffusion-based analysis, needs reconsideration. Future work should focus on developing theoretical explanations that better align with the observed empirical behavior of trained models.
  • Exploring other recent approaches: The authors suggest that a similar analysis could be applied to more recent SNN variants, such as the one proposed by Bamberger et al. (2025).
  • Code availability: The authors provide a GitHub link for their code, which is crucial for future research and verification.

Summary updated

BibTeX
@inproceedings{caralt2026necessity,
  author = {Ferran Hernandez Caralt and Mar Gonzàlez I Català and Adrián Bazaga and Pietro Lio},
  title = {{On the necessity of learnable sheaf laplacians}},
  booktitle = {GRaM @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=IuXTYO5ggp},
}
Figure