TL;DR
When morphing one generated 3D shape or image into another, taking a straight line through latent space usually cuts through empty regions, creating broken, ghostly artifacts. Existing fixes warp the space’s ruler (the metric) based on data density, accidentally tangling up where valid data lives with how we want to move through it. This paper untangles the two by treating latent navigation like classical mechanics—using a pretrained diffusion model as a "gravity well" to keep paths on the data manifold, while leaving the geometric ruler completely free for you to design.
What Problem Does This Paper Address?
Imagine hiking between two mountain villages at night. The manifold hypothesis tells us that valid, realistic data—like coherent 3D chairs or sharp images—lives along narrow, winding ridges in a vast, mostly empty high-dimensional latent space. If you walk in a straight Euclidean line between two points, you step right off the ridge into low-density air, and your decoder spits out mangled nonsense.
To stay on the ridge, standard "geometry-aware" methods build a Riemannian metric (a local ruler that measures step cost) directly out of data density, making empty regions infinitely expensive to cross. The catch? Bundling where the road is and how you want to drive into a single mathematical object causes two headaches. First, if you enter a data-sparse patch or lower the noise level to capture crisp details, that metric tensor becomes numerically ill-conditioned, causing trajectories to jitter or explode. Second, you lose flexibility: even on the exact same data manifold, different tasks might call for different styles of movement.
Methods
The authors reframe latent interpolation as a physics problem with two separate, additive energies: Kinetic Energy (the "how") and Potential Energy (the "where").
- The Potential (Manifold Support): Instead of enforcing hard constraints, the authors use a pretrained diffusion model. Near the data manifold, a diffusion model's score function ($\nabla \log p_\sigma(z)$) points straight back toward valid data, meaning the negative log-density acts like a smooth valley floor proportional to the squared distance from the manifold.
- The Kinetic Term (Geometric Prior): Because the potential handles staying on the manifold, you can independently choose any base manifold and Riemannian metric—flat Euclidean space, a hypersphere (great for VAEs and diffusion priors), or custom anisotropic costs—to govern velocity and curvature.
- Geodesic Force Matching (GFM): Finding the optimal path means solving Euler–Lagrange equations where geometric acceleration balances the diffusion score's pull. Rather than shooting an ODE from the start and hoping to hit the target, GFM uses direct collocation: it lays down $N$ discrete waypoints between start and end, optimizing them all simultaneously to minimize force-balance residuals. Crucially, GFM detaches the diffusion score from the computational graph at each step, treating it as a fixed target and completely dodging expensive, unstable backpropagation through the score network's Jacobian.
Datasets
- Synthetic 2D/3D Manifolds: A 2-torus embedded in $\mathbb{R}^3$ tested under two setups: one with uniform data coverage (to test custom traversal preferences) and a stress-test featuring two disjoint clusters separated by a "data void" (no training samples in between). No formal new benchmark suite is introduced, though this void setup serves as a targeted diagnostic.
- ShapeNet: High-dimensional 3D shape interpolation (specifically the Bed, Sofa, and Airplane categories) encoded into a $512 \times 8$ latent space via the pretrained
3DShape2VecSetframework, evaluated against 5,000 reference shapes.
Key Insights and Ideas
- Decoupling saves stability at low noise: Score-based metric baselines struggle when diffusion noise $\sigma$ drops because density gradients sharpen dramatically, wrecking matrix conditioning. Separating the metric from the score lets GFM operate cleanly at low noise ($\sigma = 0.1$), where fine geometric details actually live.
- Stop differentiating the score network: Backpropagating through a diffusion model's Jacobian ($J_s$) is a memory and runtime hog. Treating the score as a lagged, detached target at each optimization step still converges to the exact same stationary Euler–Lagrange condition while cutting compute and memory by roughly an order of magnitude.
- Same manifold, different journeys: On a uniformly populated torus with the exact same diffusion potential, tweaking the metric weights alone lets you choose between cruising along the top rim or detouring through the inner hole—without ever falling off the surface.
Key Results
Across both synthetic voids and 4,096-dimensional 3D shape latents, GFM produces smooth, structurally intact transitions where baselines either drift or shatter.
- Bridging Data Voids: On the gapped torus (Figure 2), pairing the finite-noise score with an analytic torus prior keeps GFM hugging the true surface across the empty region (mean manifold distance 0.031), whereas Stein drifts off (0.270) and Jacobian pullback spikes (0.055).
- 3D Shape Interpolation: At moderate noise ($\sigma = 0.3$), GFM trades blows with the strongest baseline (Stein), winning Sofa F-Score (0.973 vs. 0.953) and Bed worst-case Chamfer Distance ($\text{CD}_{99}$ of 0.168 vs. 0.205). At low noise ($\sigma = 0.1$), baselines degrade sharply—Stein's Sofa Minimum Matching Distance (MMD) and $\text{CD}_{99}$ roughly double—while GFM takes the top spot in MMD and F-Score across both Beds (0.110 MMD, 0.424 [email protected]) and Sofas (0.088 MMD, 0.754 [email protected]). Qualitatively, beds interpolated with GFM smoothly expand frames and mattresses rather than dissolving into floating splinters.
- Efficiency: Detaching the score yields roughly a 10x reduction in runtime and memory compared to Jacobian-based score-geometry baselines, reducing force-balance residuals by 99.51–99.71% on ShapeNet.
Limitations and Future Work
- Asymptotic & Uniformity Assumptions: The neat mathematical equivalence between negative log-density and squared manifold distance holds strictly as $\sigma \to 0$ and assumes data density on the manifold doesn't drop to zero. At practical, finite noise levels on unevenly distributed datasets, the potential blends manifold distance with on-manifold data density (meaning paths may still slightly prefer crowded regions).
- Manual Knobs & Scaling: Both the noise scale $\sigma$ and adherence weight $\lambda$ are chosen empirically, and GFM is only as good as the pretrained diffusion score it relies on. Furthermore, while simple Euclidean or spherical projections are cheap, plugging in a general dense Riemannian metric requires matrix inversions costing $\mathcal{O}(l^3)$ in latent dimension $l$.
- Next Steps: The authors point toward adaptive $(\sigma, \lambda)$ schedules during optimization, density-normalized potentials to remove bias toward high-density hubs, and learning task-specific metrics jointly alongside the potential.
Summary updated