---
title: Graph Ricci Curvature Overview
url: https://www.emergentmind.com/topics/graph-ricci-curvature-rc
type: topic
---

# Graph Ricci Curvature Overview

Graph Ricci curvature is a family of discrete curvature notions for graphs that imports the geometric role of Ricci curvature into combinatorial and network settings. In the transport-based formulation of Ollivier, curvature compares the graph distance between two vertices with the 1-Wasserstein distance between probability measures concentrated on their neighborhoods; in the Lin–Lu–Yau formulation, this is refined by a lazy-walk scaling limit as the idleness parameter tends to \(1\) [1306.6741], [2102.00698]. Other major formulations include Bakry–Émery curvature derived from \(\Gamma/\Gamma_2\) calculus, effective-resistance-based Ricci–Foster curvature, and large-scale or Sobolev-type transport curvatures [2102.10134], [2403.01151], [1906.06222], [2603.12652]. Across these variants, graph Ricci curvature serves as a quantitative proxy for neighborhood overlap, transport contraction, bottlenecks, spectral gap, diameter control, and diffusion regularity, while remaining sensitive to the chosen metric, Markov kernel, and normalization.

## 1. Transport-based graph Ricci curvature

In the classical transport-based framework, a graph \(G=(V,E)\) is equipped with the shortest-path metric \(d\) and a family of vertex measures \(m_x\). Ollivier’s coarse Ricci curvature is
\[
\kappa(x,y)=1-\frac{W_1(m_x,m_y)}{d(x,y)},
\]
where \(W_1\) is the 1-Wasserstein distance. For unweighted simple graphs with the non-lazy simple random walk,
\[
m_x(y)=
\begin{cases}
\frac{1}{d_x}, & y\in N(x),\\
0, & \text{otherwise},
\end{cases}
\]
and curvature is evaluated primarily on edges, since an edgewise lower bound propagates to all pairs by Ollivier’s triangle inequality [1306.6741]. Kantorovich duality gives
\[
W_1(m_x,m_y)=\sup_{f\text{ 1-Lip}} \{E_x(f)-E_y(f)\},
\]
with \(E_x(f):=\sum_{z\in N(x)} f(z)m_x(z)\), so curvature can be viewed equivalently as an optimization over 1-Lipschitz potentials [1306.6741].

Lin–Lu–Yau curvature modifies Ollivier’s definition by introducing an idleness parameter \(\alpha\in[0,1]\) and taking a scaling limit as \(\alpha\uparrow 1\). For a weighted graph,
\[
m_x^\alpha=\alpha\,\delta_x+(1-\alpha)\sum_{z\sim x}\frac{w(x,z)}{d_x}\,\delta_z,
\]
and
\[
\kappa^\alpha(x,y)=1-\frac{W_1(m_x^\alpha,m_y^\alpha)}{d(x,y)}.
\]
The Lin–Lu–Yau curvature is then
\[
\kappa^{\mathrm{LLY}}(x,y)=\lim_{\alpha\uparrow 1}\frac{\kappa^\alpha(x,y)}{1-\alpha},
\]
and the limit exists [2102.00698]. On regular graphs, the idleness function is piecewise linear with at most two linear parts, and for \(\alpha\in[1/(d+1),1]\),
\[
\kappa_\alpha(x,y)=(1-\alpha)\kappa(x,y),
\]
which makes the Lin–Lu–Yau quantity especially tractable in the regular setting [2407.08854].

A central interpretation in this transport framework is that curvature measures neighborhood overlap. In the non-lazy setting, common neighbors reduce transport cost and therefore increase curvature. This yields direct links to triangles and local clustering coefficients. For a vertex \(x\), the local clustering coefficient
\[
C(x)=\frac{2T(x)}{d_x(d_x-1)}
\]
can be written as
\[
C(x)=\frac{1}{d_x(d_x-1)}\sum_{y\sim x}\#(x,y),
\]
where \(\#(x,y)\) is the number of common neighbors of \(x\) and \(y\). This relation underlies lower curvature bounds in terms of triangle counts and shows why complete graphs are highly positively curved while trees are extremal on the negative side [1103.4037].

## 2. Exact formulas, local structure, and graph classes

A defining feature of transport-based graph Ricci curvature is its local computability. For Ollivier curvature in the non-lazy convention, the curvature of an edge \((x,y)\) depends only on a tightly defined core neighborhood consisting of neighbors of \(x\) and \(y\) and vertices at distance \(2\) from both. The Reduction Lemma states that \(\kappa_G(x,y)=\kappa_H(x,y)\) when \(H\) is the induced graph on that core neighborhood, and edges between \(\Delta_G(x,y)\) and \(P_G(x,y)\) may be removed without changing curvature [1306.6741]. The associated linear program has a totally unimodular constraint matrix, so optimal potentials may be taken integer-valued and \(\kappa(x,y)\) is rational [1306.6741].

For trees,
\[
\kappa(x,y)=-2\Bigl(1-\frac{1}{d_x}-\frac{1}{d_y}\Bigr)_+,
\]
and the same formula holds on edges free of \(3\)-, \(4\)-, and \(5\)-cycles [1306.6741]. Triangle-free graphs satisfy
\[
-2\Bigl(1-\frac{1}{d_x}-\frac{1}{d_y}\Bigr)_+\le \kappa(x,y)\le 0,
\]
while a general upper bound due to Jost–Liu is
\[
\kappa(x,y)\le \frac{|\Delta_G(x,y)|}{d_x\vee d_y}
\]
[1306.6741]. A matching-based lower bound sharpens this by introducing a maximum matching \(M_G(x,y)\) between non-common neighbors:
\[
\kappa(x,y)\ge \frac{|\Delta_G(x,y)|}{d_x\vee d_y}
-2\left(1-\frac{|M_G(x,y)|+|\Delta_G(x,y)|}{d_x\vee d_y}\right),
\]
which formalizes the idea that matched neighbor mass can be transported at distance \(1\) rather than farther away [1306.6741].

Several graph classes admit exact or near-exact formulas. For strongly regular graphs with parameters \((n,d,\alpha,\beta)\), if \(m\) is the size of a maximum matching between the two non-common neighborhood parts \(N_x\) and \(N_y\), then
\[
\Bbbk(x,y)=\frac{\alpha+2}{d}-\frac{|N_x|-m}{d},
\]
where \(\Bbbk\) denotes the condensed Lin–Lu–Yau curvature [1907.06733]. In girth-\(5\) strongly regular graphs this becomes
\[
\Bbbk(x,y)=\frac{3}{d}-1,
\]
so the only such graphs with nonnegative condensed curvature are \(C_5\) and the Petersen graph [1907.06733]. In girth-\(4\) strongly regular graphs one gets
\[
\Bbbk(x,y)=\frac{2}{d},
\]
because Hall’s theorem produces a perfect matching between the neighborhood shores [1907.06733].

Regular graphs admit especially explicit Lin–Lu–Yau formulas. For an edge \(x\sim y\) in a \(d\)-regular graph,
\[
\kappa(x,y)=\frac{1}{d}\left(d+1-\inf_{\phi\in\mathcal{A}_{xy}}\sum_{z\in R_x(x,y)} d(z,\phi(z))\right),
\]
where \(\mathcal{A}_{xy}\) ranges over bijections from \(R_x(x,y)\) to \(R_y(x,y)\) [2407.08854]. This yields a cycle-count form,
\[
\kappa(x,y)=\frac{1}{d}\left(-2d+4+3|\triangle(x,y)|+\sup_{\phi\in\mathcal{A}_{xy}}\bigl(2|\square(\phi)|+|\pentago(\phi)|\bigr)\right),
\]
which separates contributions from triangles, \(4\)-cycles, and \(5\)-cycles [2407.08854]. The same paper proves that a regular graph has \(\mathrm{Ric}(G)=1\) if and only if it is a cocktail party graph, and that
\[
d>\frac{2|V|}{3}-2 \;\Rightarrow\; \mathrm{Ric}(G)>0
\]
[2407.08854].

The gluing construction of two complete graphs illustrates how positive curvature can be engineered combinatorially. If \(K_n\) and \(K_n'\) are joined by a connector edge and \(m\) additional star edges on each side, then the resulting \(m\)-gluing graph has positive Ollivier curvature on every edge if and only if
\[
\frac{n^2-2n}{n+2}<m\le n-1,
\]
and the minimum such \(m\) is
\[
m_{\min}=\Bigl\lfloor \frac{n^2-2n}{n+2}\Bigr\rfloor+1
=
\begin{cases}
n-2, & n\in\{5,6\},\\
n-3, & n\ge 7.
\end{cases}
\]
The minimum edge curvature is controlled by the cross-star edges and increases with \(m\) [1809.00136].

## 3. Alternative graph Ricci curvatures

Bakry–Émery Ricci curvature is vertex-based rather than edge-based and arises from the graph Laplacian through \(\Gamma\)-calculus. For the combinatorial Laplacian
\[
\Delta f(x)=\sum_{y\sim x}(f(y)-f(x)),
\]
one defines
\[
2\,\Gamma(f,g)=\Delta(fg)-f\,\Delta g-g\,\Delta f,
\qquad
2\,\Gamma_2(f,g)=\Delta\Gamma(f,g)-\Gamma(f,\Delta g)-\Gamma(g,\Delta f).
\]
The Bakry–Émery curvature at \(x\) is the supremum \(K\) such that
\[
\Gamma_2(f)(x)\ge K\,\Gamma(f)(x)
\]
for all \(f\), equivalently
\[
K(x)=\inf_{f:\Gamma(f)(x)>0}\frac{\Gamma_2(f)(x)}{\Gamma(f)(x)}
\]
[2402.06616]. A related but distinct formulation expresses discrete Ricci curvature as the minimal eigenvalue of a local symmetric matrix \(A(x)\) built from the radius-\(2\) neighborhood; the paper proves
\[
\mathrm{Ric}(G)_x=\min\{\lambda:\lambda\text{ is an eigenvalue of }A(x)\}
\]
and uses this to compute or bound curvatures of Cayley graphs of finite Coxeter groups and affine Weyl groups [2102.10134].

Empirically, Bakry–Émery curvature is typically negative on most vertices in both model and real networks, exhibits a high positive correlation with Ollivier–Ricci and augmented Forman–Ricci curvature, and a high negative correlation with degree and several centrality measures, but does not correlate with the clustering coefficient [2402.06616]. This suggests that Bakry–Émery curvature captures a broader two-hop cohesion pattern than a purely local triangle ratio.

The paper “Large scale Ricci curvature on graphs” introduces a hybrid between Ollivier and Bakry–Émery curvature by replacing the usual local gradient with an \(R\)-gradient,
\[
|\nabla_R f|(x)=\max_{d(x,y)\le R}|f(y)-f(x)|,
\]
and defining curvature notions \(K_R\), \(K_R^q\), and \(K_R^e\) through semigroup gradient decay [1906.06222]. The principal equivalences are:
\[
K_R(x,y)\ge K \;\Longleftrightarrow\; |\nabla_R P_t f|\le e^{-Kt}P_t|\nabla_R f|,
\]
\[
K_R^q(x,y)\ge K \;\Longleftrightarrow\; \bigl|\nabla_R \sqrt{P_t f}\bigr|^2\le e^{-2Kt}P_t\bigl|\nabla_R \sqrt{f}\bigr|^2,
\]
and, on finite graphs,
\[
K_R^e(x,y)\ge K \;\Longleftrightarrow\; \|\nabla_R \log P_t f\|_\infty\le e^{-Kt}\|\nabla_R \log f\|_\infty
\]
[1906.06222]. At scale \(R=2\), the hexagonal lattice has nonnegative curvature in this sense [1906.06222].

Effective resistance yields yet another notion: Ricci–Foster curvature. For an edge \(e=uv\) with resistance \(\ell_e\) and effective resistance \(\omega_{uv}\),
\[
K_e=\frac{1}{\deg_u}+\frac{1}{\deg_v}-\frac{\omega_{uv}}{\ell_e}.
\]
This curvature is scale-invariant, satisfies \(\sum_{e\in E}K_e=1\) by Foster’s theorem, and drives the Ricci–Foster flow
\[
\frac{d}{dt}\ell_e(t)=-K_e(\ell(t))
\]
[2403.01151]. The paper proves short-time existence and uniqueness, constant-rate volume decay
\[
\frac{d}{dt}\sum_e \ell_e(t)=-1,
\]
and preservation of nonnegative and positive curvature [2403.01151].

Recent work also defines integral Ricci curvature for graphs by measuring the total deficit below a threshold \(\kappa_0\). For Lin–Lu–Yau curvature,
\[
\rho_{\kappa_0}(x,y)=\max\{0,\kappa_0-\kappa_{\mathrm{LLY}}(x,y)\},
\qquad
I_{\kappa_0}=\sum_{xy\in E}\rho_{\kappa_0}(x,y),
\]
and this leads to Bonnet–Myers-, Moore-, and Lichnerowicz-type estimates depending on \(\kappa_0\) and \(I_{\kappa_0}\), without requiring the graph to be positively curved everywhere [2502.16465].

## 4. Higher-order, directed, and hypergraph generalizations

Graph Ricci curvature has been extended to several higher-order discrete structures. On simplicial complexes, the paper “The Ricci curvature on simplicial complexes” defines probability measures on \(i\)-faces through shared \((i+1)\)-cofaces and sets
\[
\kappa(F,F')=1-\frac{W(m_F,m_{F'})}{d(F,F')}.
\]
For adjacent \(i\)-faces \(F\sim F'\), the paper proves explicit upper and lower bounds depending on \(\deg F\), \(\deg F'\), and \(\#\Gamma(F,F')\), and derives eigenvalue estimates for the normalized up-Laplacian:
\[
(i+1)k-i\le \lambda \le (i+2)-(i+1)k
\]
under the curvature lower bound \(\kappa(F,F')\ge k\) [1906.07404].

Directed graphs require a nonsymmetric metric and out-neighborhood measures. For a strongly connected directed graph and \(\alpha\in[0,1]\),
\[
m_x^\alpha(v)=
\begin{cases}
\alpha, & v=x,\\
(1-\alpha)/d_x^{\mathrm{out}}, & (x,v)\in E,\\
0, & \text{otherwise},
\end{cases}
\]
\[
\kappa_\alpha(x,y)=1-\frac{W(m_x^\alpha,m_y^\alpha)}{d(x,y)},
\qquad
\kappa(x,y)=\lim_{\alpha\to 1}\frac{\kappa_\alpha(x,y)}{1-\alpha}.
\]
The paper proves upper and lower bounds, criteria for Ricci-flat directed regular graphs, and curvature identities for Cartesian products of directed graphs [1602.07779].

Hypergraphs admit multiple non-equivalent generalizations. One approach uses a nonlinear submodular Laplacian. For a weighted finite connected hypergraph \(H=(V,E,w)\), the normalized Laplacian is
\[
\mathcal{L}(f)=L(D^{-1}f),
\]
where \(L\) is the multivalued submodular hypergraph Laplacian and the resolvent
\[
J_\lambda=(I+\lambda \mathcal{L})^{-1}
\]
is single-valued, continuous, and non-expansive [2102.00698]. Using a weighted Lipschitz class,
\[
KD_\lambda(x,y)=\sup_{f\in Lip_w^1(V)}\bigl\langle J_\lambda f,\delta_x-\delta_y\bigr\rangle,
\qquad
\kappa_\lambda(x,y)=1-\frac{KD_\lambda(x,y)}{d(x,y)},
\]
and the infinitesimal limit
\[
\kappa(x,y)=\lim_{\lambda\downarrow 0}\frac{\kappa_\lambda(x,y)}{\lambda}
\]
exists on hypergraphs and reduces exactly to Lin–Lu–Yau curvature on graphs [2102.00698]. This curvature yields a spectral gap bound
\[
\lambda_1\ge \kappa_0,
\]
a gradient estimate for heat flow,
\[
\frac{h_t f(x)}{d_x}-\frac{h_t f(y)}{d_y}\le e^{-\kappa_0 t}d(x,y),
\]
and a Bonnet–Myers-type diameter bound
\[
\mathrm{diam}(H)\le \frac{2}{\kappa_0}
\]
under positive upper curvature [2102.00698].

A distinct hypergraph notion is Hypergraph Lower Ricci Curvature (HLRC), a closed-form curvature defined on hyperedges:
\[
\kappa_{\mathrm{HLRC}}(e)
=
\sum_{v\in e}\frac{1}{n_v}
+
\frac{n_e+d_e/2-1}{\max_{v\in e} n_v}
+
\frac{n_e+d_e/2-1}{\min_{v\in e} n_v}
-1.
\]
It satisfies
\[
-1<\kappa_{\mathrm{HLRC}}(e)\le 1
\]
for \(d_e>1\), reduces in the 2-uniform case to the graph lower Ricci curvature formula of Park–Li, and is computationally much cheaper than hypergraph Ollivier–Ricci curvature [2506.03943].

## 5. Products, asymptotics, and continuum limits

Product constructions reveal how discrete curvature behaves under graph composition. For the Cartesian product \(G\Box H\) of regular graphs,
\[
\kappa_{\mathrm{LLY}}^{G\Box H}\bigl((x,y_1),(x,y_2)\bigr)
=
\frac{d_H}{d_{G\Box H}}\,
\kappa_{\mathrm{LLY}}^H(y_1,y_2),
\]
\[
\kappa_0^{G\Box H}\bigl((x,y_1),(x,y_2)\bigr)
=
\frac{d_H}{d_{G\Box H}}\,
\kappa_0^H(y_1,y_2),
\]
with symmetric formulas for vertical edges, where \(d_{G\Box H}=d_G+d_H\) [2506.13269]. The same paper gives explicit formulas for horizontal and vertical edges of the strong product \(G\boxtimes H\):
\[
\kappa_{\mathrm{LLY}}^{G\boxtimes H}\bigl((x,y_1),(x,y_2)\bigr)
=
\frac{d_H(d_G+1)}{d_{G\boxtimes H}}\,
\kappa_{\mathrm{LLY}}^H(y_1,y_2),
\]
\[
\kappa_0^{G\boxtimes H}\bigl((x,y_1),(x,y_2)\bigr)
=
\frac{d_H}{d_{G\boxtimes H}}
\Bigl(d_G\,\kappa_{\mathrm{LLY}}^H(y_1,y_2)+\kappa_0^H(y_1,y_2)\Bigr),
\]
with symmetric formulas for vertical edges, but proves by counterexample that no comparably simple general formula exists for diagonal edges [2506.13269].

Random graph asymptotics exhibit phase transitions in curvature. For \(G(n,p)\), conditioned on a fixed edge \((a,b)\), the non-lazy Ollivier curvature satisfies:
- if \(np\to 0\), then \(\kappa(a,b)=0\);
- if \(np\to \lambda\in(0,\infty)\), then
\[
\kappa(a,b)\xrightarrow{D}
-2\left(1-\frac{1}{1+X_1}-\frac{1}{1+X_2}\right)_+,
\]
with \(X_1,X_2\) i.i.d. Poisson(\(\lambda\));
- if \(np\to\infty\) and \(n^2p^3\to 0\), then \(\kappa(a,b)\xrightarrow{P}-2\);
- if \(n^2p^3\to\infty\) and \(np^2\to 0\), then \(\kappa(a,b)\xrightarrow{P}-1\);
- if \(np^2\to\infty\) and \(p\to 0\), then \(\kappa(a,b)\xrightarrow{P}0\);
- if \(p\to p_0\in(0,1)\), then \(\kappa(a,b)\xrightarrow{P}p_0\)
[1306.6741]. Analogous regimes hold for random bipartite graphs \(G(n,n,p)\) [1306.6741].

A different asymptotic direction connects discrete and smooth geometry. For random geometric graphs on a compact Riemannian manifold, equipped with either a manifold-weighted shortest-path metric or a rescaled hop metric, the paper proves that Ollivier–Ricci curvature converges to the manifold Ricci curvature:
\[
\kappa_G(x^\ast,y_n^\ast)
=
\frac{\delta_n^2}{2(N+2)}\,\mathrm{Ric}_x(v,v)+o_p(\delta_n^2),
\]
under explicit scaling regimes for the connection radius \(\varepsilon_n\) and measure radius \(\delta_n\) [2009.04306]. This is described there as the first rigorous result linking curvature of random graphs to the Ricci curvature of the underlying manifold [2009.04306].

## 6. Flows, network applications, and current directions

Ricci curvature has become a practical network observable because negative curvature detects bottlenecks and positive curvature detects cohesive substructures. In “Core detection via Ricci curvature flows on weighted graphs,” several discrete curvature flows are studied on weighted graphs. One representative update is
\[
w_e^{(j+1)}=w_e^{(j)}-s\,\kappa_e^{(j)}\,\rho_e^{(j)},
\]
where \(\rho_e^{(j)}\) is the shortest-path distance between the endpoints of edge \(e\) under the current weights [2508.01400]. The paper derives explicit upper and lower bounds on edge weights along such flows and uses them to prove that, for suitable step sizes and a bounded number of iterations, weights neither overflow nor become numerically zero [2508.01400]. It then applies Ricci flow to core-subgraph detection and reports better performance than PageRank, degree, betweenness, and closeness centrality on Cora, Citeseer, and Bio-CE-HT [2508.01400].

Resistance-based curvature also supports a flow theory. The Ricci–Foster flow
\[
\frac{d}{dt}\ell_e(t)=-K_e(\ell(t))
\]
decreases the total length at unit rate, preserves nonnegative curvature, and admits surgery when an edge length reaches zero [2403.01151]. In this framework, cycles shrink homothetically and play the role of discrete Einstein metrics, while trees exhibit mixed shrinking and expansion behavior depending on vertex degrees [2403.01151].

Curvature has also become relevant to graph machine learning. In the context of GNN-based SAT solving, the paper “On the Hardness of Learning GNN-based SAT Solvers: The Role of Graph Ricci Curvature” uses Balanced Forman Curvature as its principal curvature notion and Ollivier–Ricci lower bounds as a comparison tool [2508.21513]. For literal–clause bipartite graphs of random \(k\)-SAT formulas, it proves that the average curvature becomes increasingly negative as clause density \(\alpha\) grows and, asymptotically,
\[
\mathbb{E}_{(i\sim j)}[\mathrm{Ric}(i,j)]\to \frac{2}{k}-2
\qquad (\alpha\to\infty),
\]
which is strictly negative for \(k\ge 2\) [2508.21513]. The paper connects this to oversquashing in GNNs and reports that curvature-guided rewiring significantly improves solver accuracy [2508.21513]. A plausible implication is that Ricci curvature can serve not only as a structural diagnostic but also as a proxy for message-passing hardness when long-range dependencies are forced through negatively curved edges.

Another recent transport-based proposal is Sobolev–Ricci Curvature (SRC), defined from a tree-metric Sobolev transport distance
\[
S_p(\mu_x,\mu_y)^p
=
\sum_{e\in E(T)} \lambda(e)\,|\mu_x(\gamma_e)-\mu_y(\gamma_e)|^p,
\]
with
\[
\kappa_{S_p}(x,y)=1-\frac{S_p(\mu_x,\mu_y)}{S_p(\delta_x,\delta_y)}.
\]
SRC recovers Ollivier–Ricci curvature on trees with the length measure when \(p=1\), vanishes in the Dirac limit, and is used in Sobolev–Ricci flow and curvature-guided edge pruning [2603.12652]. This suggests a current trend toward transport-based curvatures that preserve geometric meaning while reducing the computational burden of optimal transport.

A recurrent misconception is that “graph Ricci curvature” denotes a single invariant. The literature surveyed here shows instead that it is a family of inequivalent constructions—transport-based, Laplacian-based, resistance-based, combinatorial, and higher-order—each emphasizing different local or mesoscopic features. Another common misconception is that exact formulas are broadly available. In fact, exact formulas are confined to special classes such as trees, regular graphs, strongly regular graphs, or selected graph products, and even there caveats remain: an earlier claim of exact formulas for some bipartite and girth-\(\ge 5\) classes was later invalidated in part by a bug, leaving upper bounds intact but exactness open [1306.6741]. The current state of the subject is therefore both structurally rich and technically heterogeneous: discrete Ricci curvature is now tied to spectral theory, diameter bounds, clustering, random graphs, manifold limits, curvature flows, higher-order networks, and machine-learning pathologies, but its precise meaning always depends on the chosen definition and the graph model under study.

Source: https://www.emergentmind.com/topics/graph-ricci-curvature-rc