Hypocoercive Riemannian momentum optimizer
Implementation & benchmark of arXiv:2608.14904 — On the kinetic Fokker--Planck equation in curved geometry
Source paper: On the kinetic Fokker--Planck equation in curved geometry arXiv:2608.14904 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace Euclidean momentum with a kinetic process on a parameter manifold: parameters are positions, momentum is a tangent vector, and noise is injected only into momentum. Add a cross-covariance correction based on the imbalance between position-gradient and momentum-gradient energies, mirroring the paper's hypocoercive Lyapunov functional. The testable claim is faster escape from badly conditioned valleys and less sensitivity to parameter rescaling than SGD with momentum at matched gradient evaluations.
Formulas
Mathematical statement
The paper's kinetic Kolmogorov model is $$\partial_t f+v\cdot\nabla_x f=\theta\Delta_v f$$, where \(x\) is position, \(v\) is velocity, \(f(t,x,v)\) is a probability density, and \(\theta>0\) is the velocity-diffusion coefficient. Its hypocoercivity definition states that an operator \(L\) is hypocoercive on a subspace \(\widetilde{\mathcal H}\) when \(\|e^{-tL}h_0\|\le C e^{-\lambda t}\|h_0\|\), for \(t\ge0\), with \(C\ge1\) and \(\lambda>0\). The extracted entropy estimates bound mixed horizontal/vertical terms by products of Fisher-information energies: $$\left|\iint h\left\langle\nabla_H\log h,\Sigma(v,v)\nabla_V\log h\right\rangle\frac{d\mu}{\langle v\rangle^{3r}}\right|\leq C\sqrt{\iint h|\nabla_V\log h|^2d\mu}\sqrt{\iint h|\nabla_H\log h|^2\frac{d\mu}{\langle v\rangle^{2r}}},\quad r\geq1,$$ where \(h\) is a density relative to invariant measure \(\mu\), \(\nabla_V\) and \(\nabla_H\) are vertical and horizontal covariant derivatives, \(\Sigma(v,v)\) is the geometric coupling tensor, \(\langle v\rangle=(1+|v|^2)^{1/2}\), and \(C\) is an inequality constant. We adapt this principle with the discrete positive Lyapunov proxy \(\mathcal E_k=\|g_k\|^2+\alpha\|u_k\|^2+2\beta\langle g_k,u_k\rangle\), where \(g_k\) is the stochastic parameter gradient, \(u_k\) is momentum, and \(\alpha>\beta^2\) ensures positive definiteness.
Implementation notes
(1) Integration point: modify the optimizer update, not the network forward pass. Maintain for every parameter tensor a momentum tensor \(u_k\) with the same shape as parameters \(\theta_k\). Begin in Euclidean coordinates; later replace the parameter step by a Riemannian exponential map and parallel-transport momentum. (2) Pseudocode: compute minibatch gradient \(g_k=\nabla_\theta\ell(\theta_k)\); estimate \(G_x=\|g_k\|^2+\varepsilon\) and \(G_v=\|u_k\|^2+\varepsilon\); set \(\beta_k=\operatorname{clip}(\beta_0\sqrt{G_x/G_v},-\beta_{\max},\beta_{\max})\), and \(\alpha_k=\beta_k^2+\delta\) with \(\delta>0\). Update momentum by \(u_{k+1}=\rho u_k-(1-\rho)g_k+\sqrt{2\theta(1-\rho^2)}\,\xi_k\), where \(\xi_k\sim\mathcal N(0,I)\), then update parameters with \(\theta_{k+1}=\theta_k+\eta u_{k+1}\). Every \(M\) steps compute \(\mathcal E_k=\|g_k\|^2+\alpha_k\|u_k\|^2+2\beta_k\langle g_k,u_k\rangle\). If its moving average increases for \(P\) checks, multiply \(\eta\) and \(\theta\) by 0.5; if it decreases rapidly while gradients remain large, multiply \(\eta\) by 1.05. (3) The paper provides the degenerate kinetic structure, exponential-decay target, and mixed-energy rationale. The gradient norms, momentum norms, and \(\mathcal E_k\) are estimated from minibatches; \(\rho,\eta,\theta,\beta_0,\beta_{\max},\delta\) are hyperparameters. A diagonal Fisher or per-layer RMS metric can approximate a parameter-manifold geometry. (4) First experiment: train a 2-layer MLP and a small ResNet on CIFAR-10, comparing SGD with momentum, AdamW, and this optimizer using matched FLOPs and tuned learning-rate budgets. Add a reparameterization test that multiplies one layer's weights by 10 and divides the next layer's weights by 10. Success means lower loss at equal update count, lower seed-to-seed variance, and smaller degradation under reparameterization. Run a zero-noise ablation to establish whether improvements arise from hypocoercive dynamics rather than generic injected noise.
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.