Matrice d'adjacence courbée : intégration de la courbure des arêtes dans la transmission des messages

Hugo Attali, Davide Buscaldi, Nathalie Pernelle

Abstract

Graph Neural Networks (GNNs) have become a standard for modeling structured data, yet they are frequently limited by "over-squashing" and "over-smoothing" phenomena. These issues arise when long-range information is compressed through graph bottlenecks or when noisy signals from heterophilic neighbors dominate the aggregation. This paper proposes Curvature-Constrained Message Passing (CCMP), a novel framework that leverages the geometric curvature of edges—specifically Ollivier-Ricci and Forman curvatures—to regulate message passing. By utilizing curvature-specific adjacency matrices, CCMP effectively filters information flow, widening bottlenecks and significantly enhancing performance on heterophilic datasets.

Introduction

Standard GNN architectures rely on iterative message passing, where nodes aggregate features from their immediate neighborhood. While effective for homophilic graphs, this mechanism faces significant challenges in complex topologies. "Over-squashing" occurs when information from distant nodes must pass through narrow "bridge" edges, leading to data loss. Conversely, in heterophilic graphs, where neighbors often belong to different classes, indiscriminate aggregation leads to "over-smoothing," where node representations become indistinguishable.

Recent geometric analysis has linked these structural bottlenecks to edge curvature. Negative curvature typically identifies bridge edges connecting distinct communities (potential bottlenecks), while positive curvature characterizes edges within dense, well-connected clusters.

Methodology: Curvature-Constrained Message Passing (CCMP)

The authors introduce CCMP as a dynamic alternative to static graph rewiring. Instead of permanently adding or removing edges, CCMP modifies the message-passing process by applying curvature-based filters to the adjacency matrix at each layer.

Curvature Metrics

Two primary measures of curvature are employed:

  1. Ollivier-Ricci Curvature: Derived from the optimal transport distance between node neighborhoods.
  2. Augmented Forman Curvature: A computationally efficient metric based on the local cycle structure (triangles) surrounding an edge.

The CCMP Framework

CCMP allows for layer-wise specialization. For instance, one layer may be restricted to edges with negative curvature to capture inter-community signals, while another focuses on positive curvature for local refinement. Furthermore, the authors propose 2-hop curved neighborhoods, enabling nodes to communicate with distant neighbors through paths that satisfy specific curvature constraints. This approach facilitates long-range communication without the computational explosion of a fully dense graph.

Illustration of Curvature-Constrained Message Passing (CCMP) mechanisms across different graph configurations.

Experimental Results

The CCMP framework was evaluated across seven heterophilic datasets, including Squirrel, Chameleon, Texas, and Actor. The results demonstrate that CCMP consistently outperforms traditional GNNs and state-of-the-art rewiring techniques like FOSR.

Performance Gains

CCMP achieved superior accuracy on 6 out of 7 heterophilic datasets, with an average improvement of 14.24% over GCN and 16.55% over GAT. A key finding is that in heterophilic contexts, edges with negative curvature often act as reliable conduits for homophilic information, contrary to global trends. The "Max Homophilic Gain" metric highlights this, showing gains as high as 131% in the Actor dataset.

Comparative analysis of homophilic gain and performance metrics across heterophilic datasets.

Structural Impact

Empirical analysis shows that CCMP increases the "spectral gap" of the graph, mathematically confirming a reduction in over-squashing. Additionally, by restricting message passing to relevant edges, the model reduces active edge counts by 10% to 40%, enhancing both computational efficiency and signal-to-noise ratios.

Conclusion

Curvature-Constrained Message Passing represents a significant shift from physical graph modification to geometric signal filtering. By treating the graph as a curved manifold, CCMP provides a robust mechanism for navigating bottlenecks and heterophily. Future research will focus on automating the selection of curvature constraints and scaling the method to deeper GNN architectures.

Summary updated

BibTeX
@inproceedings{attali2024matrice,
  author = {Hugo Attali and Davide Buscaldi and Nathalie Pernelle},
  title = {{Matrice d'adjacence courbée : intégration de la courbure des arêtes dans la transmission des messages}},
  booktitle = {EGC},
  year = {2024},
}
Figure