Abstract
Graph Machine Learning often involves the clustering of nodes based on similarity structure encoded in the graph’s topology and the nodes’ attributes. On homophilous graphs, the integration of pooling layers has been shown to enhance the performance of Graph Neural Networks by accounting for inherent multi-scale structure. Here, similar nodes are grouped together to coarsen the graph and reduce the input size in subsequent layers in deeper architectures. In both settings, the underlying clustering approach can be implemented via graph pooling operators, which often rely on classical tools from Graph Theory. In this work, we introduce a graph pooling operator (ORC-Pool), which utilizes a characterization of the graph’s geometry via Ollivier’s discrete Ricci curvature and an associated geometric flow. Previous Ricci flow based clustering approaches have shown great promise across several domains, but are by construction unable to account for similarity structure encoded in the node attributes. However, in many ML applications, such information is vital for downstream tasks. ORC-Pool extends such clustering approaches to attributed graphs, allowing for the integration of geometric coarsening into Graph Neural Networks as a pooling layer.
Introduction
Graph Neural Networks (GNNs) have revolutionized the processing of non-Euclidean data, yet they often struggle to capture multi-scale information—the hierarchical structure where local interactions aggregate into larger functional units. To address this, researchers employ pooling layers to coarsen graphs by grouping similar nodes into "supernodes."
A persistent challenge in graph pooling is the trade-off between topological connectivity and node attribute similarity. While geometric tools like Ricci flow excel at identifying topological "bridges" between communities, they have traditionally ignored node features. This work introduces ORC-Pool (Ollivier’s Ricci Curvature Pooling), a method that harmonizes geometric curvature with node attributes to create a more expressive and effective pooling operator.
Methodology: The ORC-Pool Framework
ORC-Pool operates within the "Select-Reduce-Connect" framework, leveraging discrete Ricci flow to reshape the graph's geometry before performing cluster assignment.
1. Ricci Flow Pre-processing
The algorithm begins by calculating the Ollivier Ricci Curvature (ORC) for every edge. In this geometric view, edges with negative curvature represent bottlenecks or bridges between dense communities. The "Ricci flow" then iteratively evolves edge weights: edges within dense clusters (positive curvature) contract, while bridge edges (negative curvature) expand.
2. Geometric Selection and Differentiable Cuts
This flow results in a "curvature-adjusted adjacency matrix" where community boundaries are mathematically more prominent. A trainable Multi-Layer Perceptron (MLP) then learns a cluster assignment matrix $S$ based on both the adjusted topology and node embeddings. To optimize this process, the authors employ a loss function based on a relaxed "min-cut" objective. Because the Ricci flow has already "stretched" the bridges, the optimal cuts are more easily identifiable by the network.
Theoretical Insights
A core contribution of this work is the formal link between Ricci flow and graph modularity. The authors provide a theoretical proof that Ricci flow explicitly increases the modularity of a graph over time. By evolving edge weights to penalize bridges, the flow makes community detection inherently easier for the subsequent pooling step.
Furthermore, the authors demonstrate that ORC-Pool preserves the expressivity of the base GNN. It is proven that if a GNN can distinguish two graphs via the 1-WL test, the addition of an ORC-Pool layer will not degrade this discriminative power. Unlike previous Ricci-based methods, ORC-Pool is "attribute-aware," using node embeddings to ensure that nodes are grouped based on both topological proximity and feature similarity.
Experimental Results
The efficacy of ORC-Pool was validated across a diverse set of benchmarks, including citation networks (Cora, CiteSeer, PubMed), graph classification tasks (MUTAG, PROTEINS), and large-scale datasets (OGB).
- Node Clustering: On citation networks, ORC-Pool achieved state-of-the-art performance. For instance, on Cora, it reached a Normalized Mutual Information (NMI) of 0.47, outperforming the next best baseline (0.43).
- Graph Classification: On the MUTAG dataset, ORC-Pool achieved 90% accuracy, a significant improvement over "No Pool" baselines (81%) and other pooling methods like DiffPool or MinCutPool (83-84%).
- Scalability: While exact Ricci curvature computation is expensive, the authors utilized a combinatorial approximation that significantly reduces runtime, making the method viable for larger graphs like OGBN-ARXIV.
Discussion and Future Work
While ORC-Pool represents a significant step forward in geometric deep learning, it is not without limitations. The pre-processing step for curvature calculation, even when approximated, introduces computational overhead compared to purely feature-based pooling. Additionally, while Ricci flow aids clustering, it can exacerbate "oversquashing" by strengthening the very bridge edges that act as information bottlenecks. Future research may explore "graph rewiring" techniques to mitigate this effect or extend the framework to directed graphs.
In conclusion, ORC-Pool provides a robust, theoretically grounded approach to graph pooling that leverages the inherent geometry of data, offering a powerful tool for multi-scale learning in Graph Neural Networks.
Summary updated