Horizontal Diffusion Models: Score-based Generative Modeling on Frame-Connection Geometry

Sungwoo ParkNeurIPS 2026

TL;DR

Generative models usually struggle on weirdly curved spaces unless those spaces come with neat, closed-form mathematical shortcuts like exact shortest-path formulas. Horizontal Diffusion Models (HDMs) bypass these global roadblocks by "lifting" the diffusion process onto a higher-dimensional structure—a bundle of local coordinate frames—requiring only local curvature rules. Best of all, this geometric sleight-of-hand lets you train standard, off-the-shelf Euclidean neural networks to generate complex scientific data on arbitrary manifolds.

What Problem Does This Paper Address?

In AI for Science, data rarely lives on a flat sheet of paper. Protein backbones, quantum states, and planetary surfaces all inhabit curved spaces—Riemannian manifolds. While diffusion models are phenomenal at generating images in flat (Euclidean) space, adapting them to curved manifolds has hit a mathematical wall.

Existing Riemannian diffusion and flow-matching models rely heavily on global geometric primitives: things like geodesic distances (shortest paths on a curve), exponential/logarithmic maps, or spectral decompositions. On highly symmetric textbook shapes like spheres or flat tori, we have neat, closed-form equations for these operations. On gnarly, real-world scientific manifolds? Those closed-form solutions simply don't exist, and approximating them numerically is computationally brutal.

Comparison of geometric operators required by existing Riemannian generative models versus HDM.

Methods

Instead of fighting global geometry directly on the manifold $\mathcal{M}$, the author moves upstairs to the orthonormal frame bundle $\mathcal{O}(\mathcal{M})$. Imagine walking on an uneven alien planet while carrying a rigid, 3D Cartesian coordinate axis (a "frame"). Every point in the frame bundle represents both where you are on the surface and how your local axes are oriented.

Using a classical differential geometry tool called the Levi-Civita connection (computed locally via metric tensors and Christoffel symbols), you can slide your frame across the curved surface without twisting it unnecessarily. Directions that slide without twisting are called horizontal.

Figure 1: Structural correspondence between Rie- mannian and Horizontal Diffusion. Our horizontal diffusion evolves as a lifted trajectory on the orthonor- mal frame bundle (black) along horizontal directions induced by the Levi–Civita connection, with vertical directions describing frame rotations. Riemannian dif- fusion is the projected process on M, shown for the forward process (red) and the reverse process (blue).

Here is how HDM turns this classical math into a generative powerhouse:

  • Horizontal Lifting: Standard Euclidean Ornstein-Uhlenbeck (OU) bridge diffusion processes are "horizontally lifted" into the frame bundle. You inject flat Euclidean noise into your local frame, and the local connection translates that into an intrinsic random walk on the curved space.
  • Quotient Space Score-Matching: Comparing vector fields on a curved bundle normally requires expensive parallel transport along paths. By mapping trajectories into a gauge-equivariant quotient space (essentially factoring out arbitrary frame rotations), the complex manifold KL-divergence magically collapses into a standard Euclidean score-matching loss.
  • Plug-and-Play Networks: Because the loss reduces to flat Euclidean space, HDM uses standard Euclidean neural networks without bespoke geometric layers, plus an auxiliary drift network aligned with an analytic bridge vector to guide the reverse diffusion back to the data.

Datasets

The paper evaluates HDM across both synthetic math surfaces and real-world scientific benchmarks:

  • Synthetic Parametric Surfaces: Newly constructed Riemannian Gaussian Mixture Model (GMM) benchmarks on canonical spaces (Sphere, Torus, Projective space) and complex curved surfaces lacking closed-form geodesics (Catenoid, Enneper, and Dupin cyclides).
  • Quantum Density (QDataSet): Two-qubit control simulations reconstructed into pure quantum states on complex projective space ($\mathbb{CP}^3$).
  • Celestial Bodies: NASA planetary topography represented on spherical harmonic manifolds ($\mathcal{M}^{\text{SH}}$), specifically craters on the Moon (LRO/LOLA) and the asteroid Eros (NEAR).
  • 3D Human Anatomy: Clinical knee surface meshes with tumor densities from the SPHARM-PDM suite ($\mathcal{M}^{\text{SH}}$).
  • Peptide Conformations: Molecular dynamics trajectories of Methionine-Enkephalin backbone torsion angles modeled on spatio-temporal toroidal manifolds ($\mathbb{R}_+ \times \mathbb{T}^d$).

Key Insights and Ideas

  • Local Rules Beat Global Maps: You don't need to know how to compute a global shortest path across a manifold to diffuse on it; knowing the local metric and connection (how space bends right beneath your feet) is completely sufficient.
  • Built-in Gauge Equivariance: A physical generative model shouldn't care how an observer arbitrarily aligns their coordinate axes. Because HDM operates on the frame bundle and integrates out frame orientations (via Haar measure), it is gauge-equivariant by construction, eliminating coordinate chart bias.
  • The "Price of the Lift": There is no free lunch in curved space. Through a theoretical generalization bound, the author proves that worst-case KL divergence scales linearly with the manifold's maximum sectional curvature ($\kappa_{\max}$). In plain English: the curvier the space, the more training samples ($n$) you need for your flat neural network to generalize accurately.

Key Results

Measured via Sliced 2-Wasserstein ($SW_2$) and Maximal Sliced 2-Wasserstein ($MSW_2$) distances (lower is better), HDM consistently outperforms Riemannian Score-Based Generative Models (Riem SGM), Riemannian Flow Matching (Riem CFM), and various manifold Normalizing Flows:

  • Complex Surfaces: On surfaces without closed-form geodesics, prior methods degrade due to projection/approximation errors, whereas HDM shines—cutting $SW_2$ from 0.497 (Riem CFM) down to 0.211 on Enneper, and from 0.746 (Bundle NF) down to 0.327 on Dupin.
  • Scientific Benchmarks: HDM takes first place across every single scientific dataset tested. For instance, it achieves an $SW_2$ of 0.118 on Quantum state generation (vs. 0.276 for Riem CFM), 0.312 on Asteroid Eros (vs. 0.672 for Scaling NF), and 0.237 on Peptide trajectories (vs. 0.517 for Riem CFM), generating smooth, physically valid molecular transitions.
Figure 2: Visualization of Density Estimation on Model Manifolds. Top: Density estimation on 2-dimensional surfaces. For each surface, the distribution of the ground truth (left) and generated by ours (right) are shown. Both surfaces are equipped with a Gaussian mixture, and generated samples closely match the true multi-modal density. Bottom: The reverse process on the Enneper sampled from proposed method, evolves from right to left showing the density transformation as the system proceeds backward in time.

Limitations and Future Work

  • Known Local Geometry Required: While HDM frees us from global closed-form primitives, it still assumes explicit access to local differential geometric quantities—specifically, you must be able to evaluate the Riemannian metric $g$ and Christoffel symbols $\Gamma_{ij}^k$ (i.e., you know the manifold's defining equations or local metric, rather than learning an unknown manifold purely from raw point clouds).
  • Curvature Sample Complexity: As established by their theoretical bound, highly curved manifolds inherently introduce geometric distortions that demand larger datasets to maintain statistical performance.
  • Future Work: The author positions frame-connection geometry as a foundational, scalable pathway for future generative AI research on increasingly complex, curved scientific manifolds.

Summary updated

Abstract

Geometric modeling has become an essential paradigm in AI for Science, where data often inhabit intrinsically curved or structured spaces. However, existing manifold generative models often rely on closed-form or tractable access to global geometric primitives, such as geodesic distances, parallel transport, or spectral decompositions, which are rarely available beyond canonical geometries. To overcome this limitation, we propose Horizontal Diffusion Models (HDMs), a score-based generative framework defined on the orthonormal frame bundle of a Riemannian manifold. Instead of requiring global geometric operations, HDM lifts Euclidean diffusion processes through the Levi-Civita horizontal distribution, using only local metric and connection information while preserving intrinsic manifold geometry. This construction allows standard Euclidean score networks to be lifted into geometry-consistent and gauge-equivariant horizontal vector fields, bypassing the need for manifold-specific neural architectures. We further derive a horizontal KL objective that reduces to a Euclidean score-matching loss and analyze the curvature-dependent cost of the lift through a generalization bound. Experiments on parametric surfaces and scientific datasets demonstrate high-fidelity generation across diverse manifolds with nontrivial geometry and topology.
BibTeX
@inproceedings{park2026horizontal,
  author = {Sungwoo Park},
  title = {{Horizontal Diffusion Models: Score-based Generative Modeling on Frame-Connection Geometry}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Fr0DlZvA04},
}
Figure