Table of Contents
Fetching ...

Piecewise-linear Ricci curvature flows on weighted graphs

Jicheng Ma, Yunyan Yang

TL;DR

The authors address the problem of unifying Ricci-curvature-flow methods on weighted graphs for community detection by introducing continuous piecewise-linear Ricci curvature flows (PLRF) with finite-time surgeries. They prove global existence and uniqueness, and show convergence to constant curvature on each connected component for homogeneous curvatures, applicable to Ollivier, Lin-Lu-Yau, Forman, Menger, and Haantjes curvatures. The discrete PLRF with $A$-surgeries is shown to stabilize after finitely many surgeries, enabling robust community detection, supported by extensive experiments on real and synthetic networks. Empirically, PLRF with Ollivier curvature achieves state-of-the-art or competitive NMI and modularity, while ablation studies demonstrate the benefits of the piecewise-linear design and curvature-type choices for scalability and accuracy.

Abstract

Community detection is an important problem in graph neural networks. Recently, algorithms based on Ricci curvature flows have gained significant attention. It was suggested by Ollivier (2009), and applied to community detection by Ni et al (2019) and Lai et al (2022). Its mathematical theory was due to Bai et al (2024) and Li-Münch (2025). In particular, solutions to some of these flows have existence, uniqueness and convergence. However, a unified theoretical framework has not yet been established in this field. In the current study, we propose several unified piecewise-linear Ricci curvature flows with respect to arbitrarily selected Ricci curvatures. First, we prove that the flows have global existence and uniqueness. Second, we show that if the Ricci curvature being used is homogeneous, then after undergoing multiple surgeries, the evolving graph has a constant Ricci curvature on each connected component. Note that five commonly used Ricci curvatures, which were respectively defined by Ollivier, Lin-Lu-Yau, Forman, Menger and Haantjes, are all homogeneous, and that the proof of all these results is independent of the choice of the specific Ricci curvature. Third, as an application, we apply the discrete piecewise-linear Ricci curvature flow with surgeries to the problem of community detection. On three real-world datasets, the flow consistently outperforms baseline models and existing methods. Complementary experiments on synthetic graphs further confirm its scalability and robustness. Compared with existing algorithms, our algorithm has two advantages: it does not require curvature calculations at each iteration, and the iterative process converges.

Piecewise-linear Ricci curvature flows on weighted graphs

TL;DR

The authors address the problem of unifying Ricci-curvature-flow methods on weighted graphs for community detection by introducing continuous piecewise-linear Ricci curvature flows (PLRF) with finite-time surgeries. They prove global existence and uniqueness, and show convergence to constant curvature on each connected component for homogeneous curvatures, applicable to Ollivier, Lin-Lu-Yau, Forman, Menger, and Haantjes curvatures. The discrete PLRF with -surgeries is shown to stabilize after finitely many surgeries, enabling robust community detection, supported by extensive experiments on real and synthetic networks. Empirically, PLRF with Ollivier curvature achieves state-of-the-art or competitive NMI and modularity, while ablation studies demonstrate the benefits of the piecewise-linear design and curvature-type choices for scalability and accuracy.

Abstract

Community detection is an important problem in graph neural networks. Recently, algorithms based on Ricci curvature flows have gained significant attention. It was suggested by Ollivier (2009), and applied to community detection by Ni et al (2019) and Lai et al (2022). Its mathematical theory was due to Bai et al (2024) and Li-Münch (2025). In particular, solutions to some of these flows have existence, uniqueness and convergence. However, a unified theoretical framework has not yet been established in this field. In the current study, we propose several unified piecewise-linear Ricci curvature flows with respect to arbitrarily selected Ricci curvatures. First, we prove that the flows have global existence and uniqueness. Second, we show that if the Ricci curvature being used is homogeneous, then after undergoing multiple surgeries, the evolving graph has a constant Ricci curvature on each connected component. Note that five commonly used Ricci curvatures, which were respectively defined by Ollivier, Lin-Lu-Yau, Forman, Menger and Haantjes, are all homogeneous, and that the proof of all these results is independent of the choice of the specific Ricci curvature. Third, as an application, we apply the discrete piecewise-linear Ricci curvature flow with surgeries to the problem of community detection. On three real-world datasets, the flow consistently outperforms baseline models and existing methods. Complementary experiments on synthetic graphs further confirm its scalability and robustness. Compared with existing algorithms, our algorithm has two advantages: it does not require curvature calculations at each iteration, and the iterative process converges.

Paper Structure

This paper contains 17 sections, 4 theorems, 42 equations, 4 figures, 8 tables, 1 algorithm.

Key Result

Theorem 2.1

For any finite weighted graph $G = (V, E, \mathbf{w})$ and any partition $\{t_1, t_2, \ldots, t_N\}$ with $0 =t_0< t_1 < t_2 < \cdots < t_N <t_{N+1}= +\infty$ of $[0,+\infty)$, there exists a continuous PLRF associated with $\{t_1, t_2, \ldots, t_N\}$. Furthermore, for each edge $e\in E$, there hold

Figures (4)

  • Figure 1: An example of continuous PLRF
  • Figure 2: Community detection on the Karate club network of PLRF.
  • Figure 3: The NMI on the artificial networks.
  • Figure 4: The Modularity on the artificial networks.

Theorems & Definitions (4)

  • Theorem 2.1
  • Theorem 2.2
  • Theorem 2.3
  • Corollary 4.1