Ricci Matrix Comparison for Graph Alignment: A DMC Variation

Ashley Wang, Peter ChinarXiv 2025 · DOI

Abstract

Graph alignment is a fundamental challenge in network science, traditionally addressed through local topological features. This paper introduces Ricci Matrix Comparison (RMC), a novel geometric approach that leverages discrete curvature to match nodes across different networks. By treating graphs as discretized smooth surfaces, RMC achieves high alignment accuracy on complex biological networks, outperforming traditional degree-based methods.

Introduction

Graph alignment—the task of finding a one-to-one correspondence between nodes in two different networks—is critical for cross-platform user identification and biological data integration. Mathematically related to the NP-complete subgraph isomorphism problem, current solutions often struggle with "noisy" or non-unique local features. The researchers propose RMC as a robust alternative, using Forman-Ricci curvature to create unique geometric "signatures" for nodes, effectively treating the graph as a manifold.

Methodology

RMC builds upon the Degree Matrix Comparison (DMC) framework but replaces simple node degrees with a more sophisticated curvature metric.

1. Forman-Ricci Curvature

In an unweighted graph, the curvature of an edge $e$ between nodes $v_1$ and $v_2$ is defined as $Ric(e) = 2 - deg(v_1) - deg(v_2)$. This metric captures the local connectivity context more deeply than degree alone.

2. The Ricci Matrix

For each node, the algorithm generates a sorted vector of the curvatures of its incident edges. These vectors are aggregated into a "Ricci Matrix." This matrix serves as a fingerprint for the graph's global and local geometry.

3. Alignment via Hungarian Algorithm

To align two graphs, RMC compares the rows of their respective Ricci Matrices. The Hungarian algorithm is then employed to find a node mapping that minimizes the total cost—the difference in curvature signatures—between the two sets.

Figure 1: Triangular tiling used to model graphs as discretized smooth surfaces, providing a geometric basis for curvature calculations.

Experimental Evaluation

The authors evaluated RMC using both synthetic and real-world datasets:

  • Synthetic Tori: Graphs constructed using triangular and square tilings were used to verify that RMC can distinguish nodes based on their geometric position (e.g., identifying nodes near a "hole" versus those on a flat surface).
  • Protein-Protein Interaction (PPI) Networks: Using biological data from SNAP, the researchers sampled 1000-node subgraphs. To enhance the geometric structure, these were transformed into line graphs, where original edges become nodes, creating a "locally complete" structure that better approximates a continuous volume.
Figure 4: A complex network structure representative of the heterogeneous topology found in Protein-Protein Interaction (PPI) datasets.

Results and Discussion

RMC demonstrated significant efficacy in identifying geometric features. On synthetic tori, the method perfectly identified topological anomalies like holes. In real-world PPI network alignment with 1% edge deletion noise, RMC achieved an average accuracy of 89.8%, with peak performance reaching 95.2%. This performance is competitive with state-of-the-art tools like REGAL while offering a more intuitive geometric interpretation.

One theoretical highlight is the derivation of a Curvature-Laplacian equation: $Ric(v_i) - (Ls^T)_i = 2deg(v_i)(1 - deg(v_i))$ This provides a formal bridge between the graph's topology (Laplacian) and its geometric curvature.

Conclusion

Ricci Matrix Comparison offers a powerful new lens for graph alignment by borrowing from differential geometry. While the computational cost of generating line graphs remains a challenge for massive networks, the robustness of curvature as a node signature suggests a promising path forward for aligning graphs that can be modeled as discretized manifolds. Future work will explore the relationship between this method and fundamental topological invariants like the Euler characteristic.

Summary updated

BibTeX
@misc{wang2025ricci,
  author = {Ashley Wang and Peter Chin},
  title = {{Ricci Matrix Comparison for Graph Alignment: A DMC Variation}},
  year = {2025},
  eprint = {2505.15831},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.15831},
}
Figure