Heat-Wasserstein curvature preconditioner
Implementation & benchmark of arXiv:2608.14039 — Second-Order Departure of the Gigli--Mantegazza Flow from Ricci Flow
Source paper: Second-Order Departure of the Gigli--Mantegazza Flow from Ricci Flow arXiv:2608.14039 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace a Euclidean feature-space metric by a short-time heat-kernel/Wasserstein metric and use it to precondition updates or penalize distortions of local neighborhoods. The first-order correction is a Ricci-curvature term, while the second-order residual captures curvature variation and quadratic curvature effects that ordinary diffusion smoothing misses.
Formulas
Mathematical statement
The construction starts with a Riemannian manifold $(M,g)$, heat semigroup $P_t=e^{t\Delta_g}$, and heat kernel $p_t(x,y)$ relative to the volume measure $d\operatorname{vol}_g$. Each point is embedded as the probability measure $\mu_{t,x}=p_t(x,\cdot)\,d\operatorname{vol}_g$ in $(\mathcal P_2(M),W_2)$, and the pullback of the Wasserstein metric defines $\widetilde g_t$. The paper proves the short-time expansion $\widetilde{g}_{t}=g-2t\operatorname{Ric}_{g}+t^{2}\left(-\Delta\operatorname{Ric}_{g}+2\operatorname{Ric}_{g}^{2}-\frac{2}{3}\mathcal{Q}_{g}\right)+O_{C^{0}}(t^{3})$. Here $g$ is the base metric, $\operatorname{Ric}_g$ is the Ricci curvature tensor, $\Delta\operatorname{Ric}_g$ is its Laplacian, $\operatorname{Ric}_g^2$ is tensor composition, and $\mathcal Q_g$ is a tensor quadratic in the full Riemann curvature tensor. For a neural feature manifold, estimate $g$, $\operatorname{Ric}_g$, and the combined second-order tensor from a local graph; use $\widetilde g_t$ as a positive-definite preconditioner or as a local-isometry regularizer.
Implementation notes
Integrate this into the optimizer for a graph neural network or an embedding model, not into the raw high-dimensional parameter metric. At each training refresh, take a minibatch of feature vectors $z_i=f_\theta(x_i)\in\mathbb R^d$ with $d\leq64$, construct a $k$-nearest-neighbor graph, and define edge weights $w_{ij}=\exp(-\|z_i-z_j\|^2/\sigma^2)$. Let $L=D-W$ be its symmetric normalized graph Laplacian and approximate heat diffusion by $H_t=\exp(-tL)$, computed with 5--10 Lanczos steps or a truncated eigendecomposition. Treat row $H_t[i,:]$ as the discrete analogue of $\mu_{t,x_i}$. For nearby points $i,j$, estimate the induced metric tensor $\widetilde G_t$ by finite differences of feature coordinates and a Sinkhorn Wasserstein-2 distance between the corresponding heat rows; alternatively use the local covariance of transported displacements as a cheaper proxy. Use $G$ from the $t=0$ local feature metric and estimate the second-order coefficient with the central finite difference $C=(\widetilde G_{2t}-2\widetilde G_t+G)/(2t^2)$. The first-order curvature proxy is $R=(G-\widetilde G_t)/(2t)$; do not attempt to separately identify $\mathcal Q_g$ unless curvature tensors are available. During optimization, average local matrices over the minibatch, symmetrize, clip eigenvalues below $10^{-4}$, and apply $(\widetilde G_t+\lambda I)^{-1}$ to the gradient in feature coordinates or to the final projection-layer gradient. Pseudocode: build graph; compute $H_t,H_{2t}$; estimate $G,\widetilde G_t,\widetilde G_{2t}$; set $C$ by the displayed formula; set $\widetilde G_t^{(2)}=G-2tR+t^2C$; precondition the gradient and update parameters. The mathematics supplies the expansion and required scaling; graph bandwidth $\sigma$, diffusion time $t$, Sinkhorn iterations, and damping $\lambda$ are empirical. First test on MNIST or CIFAR-10 with a 2-layer GNN or MLP whose penultimate embedding has dimension 16, comparing AdamW, ordinary local-metric preconditioning, and this second-order metric at equal wall-clock budget. Success means fewer steps to the same accuracy, reduced sensitivity to learning rate, or better kNN neighborhood preservation under noisy labels; reject it if Sinkhorn and graph construction erase any optimization gain.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.