Latent Riemannian Flow Matching for Geometry-Grounded 3D Foundation Models

1TU Wien, 2Fondazione Bruno Kessler, 3Imperial College London
NeurIPS 2026
Method overview: VGGT encoder, Riemannian flow matching on the product manifold, DPT decoding heads

TL;DR  We turn a frozen, deterministic 3D foundation model into a generative one by performing Riemannian flow matching directly in its latent space. Working in latent space keeps us representation-agnostic and lets us inherit the backbone's 3D priors for free: one model that faithfully reconstructs what's observed and plausibly generates what isn't, from as little as a single unposed image.

From reconstruction to generation

VGGT is deterministic: it cannot go beyond what the input views support. Our model generates plausible geometry and appearance for unseen regions while faithfully preserving the observed ones.

Grounded in the latent geometry

VGGT tokens do not live in Euclidean space but on a product of four zero-mean hyperspheres. Euclidean flow matching collapses there; our Riemannian formulation keeps every sample on the manifold the frozen decoders expect.

Minimal assumptions

Order-invariant in the context views, works from a single unposed image, and needs only the relative target pose; no input poses, no trajectory or adjacency assumptions of video-diffusion and explicit-reconstruction baselines.

Not tied to one backbone

The hyperspherical structure is a consequence of LayerNorm, not of VGGT specifically. The same formulation transfers unchanged to Depth Anything 3, a different, independently pretrained 3D backbone.

Abstract

Geometric foundation models such as the Visual Geometry Grounded Transformer (VGGT) provide strong 3D priors from unposed images, but operate deterministically and cannot generate plausible geometry beyond what the observations directly support. We bridge geometric foundation models and generative 3D modeling by performing flow matching directly in their latent space, leveraging learned 3D priors without committing to explicit representations such as Gaussians, meshes, or video-VAE latents. This requires respecting the latent geometry: LayerNorm places the decoder inputs on a product of zero-mean hyperspheres, and treating this space as unconstrained Euclidean substantially degrades flow matching. We therefore formulate Riemannian flow matching on this product manifold, conditioned on unposed context views and a target camera pose, keeping generated tokens within the geometry expected by the frozen decoder. Our main experiments use VGGT, while additional experiments with Depth Anything 3 show that the same formulation transfers to a different, independently pretrained 3D backbone without modification. On RealEstate10K, ScanNet++, and ETH3D, our method achieves strong results against recent scene-generation baselines in both novel-view appearance and aggregated 3D geometry, establishing latent-space flow matching on geometric foundation models as a viable paradigm for 3D generation.

Method

Given a set of unposed RGB images of a scene and a target camera pose $\pi \in SE(3)$, our goal is to generate latent features that encode the geometry and appearance of the scene from the target viewpoint, remaining multi-view consistent with the observed views. We cast this as conditional generative modeling on the VGGT encoder latent space: given context tokens $c = \{c^{(1)}, \ldots, c^{(N)}\}$ extracted from the context views and the target pose $\pi$, we model the conditional distribution $p(x_1 \mid c, \pi)$ on a Riemannian manifold $\mathcal{M}$, where $x_1$ is the latent code of the target view.

A frozen VGGT encoder extracts the context tokens, and a transformer velocity field conditioned on $c$ and $\pi$ generates $x_1$ via Riemannian flow matching. The backbone is a compact 120M-parameter transformer that alternates self-attention (with RoPE and time injected via AdaLN) and cross-attention to the context tokens, with the target pose injected through Projective Positional Encoding. Since the model operates directly on the encoder's latent space, the frozen DPT heads decode the generated latents into point maps and depth; a newly trained RGB head adds appearance.

Why Riemannian?

LayerNorm maps features onto a zero-mean hypersphere

Each of VGGT's four multi-scale feature blocks passes through a LayerNorm before decoding: subtracting the mean and rescaling the norm places every token on a zero-mean hypersphere $\mathcal{S}^{C-2} = \{x \in \mathbb{R}^{C} : \|x\|_2 = \sqrt{C},\ \langle \mathbf{1}, x\rangle = 0\}$. The latent space is therefore an explicit product manifold $\mathcal{M} = (\mathcal{S}^{C-2})^{4}$ as a consequence of the architecture.

Euclidean flow matching pushes probability paths through the empty interior of these spheres. Riemannian flow matching with geodesic interpolants stays on $\mathcal{M}$, so the generated tokens remain valid inputs for the frozen decoding heads.

Results

Novel view generation

We compare against four recent baselines spanning complementary paradigms: the deterministic reconstructor DepthSplat, the joint multimodal diffusion model Matrix3D, Gen3R (which maps VGGT features into a pretrained video model's latent space), and GLD (which, like us, generates in VGGT feature space but with Euclidean flow matching). On ScanNet++ our method is best across every metric, context count, and overlap regime, in both one- and two-sided settings. Gains are largest in the hard one-sided, low-overlap regime that demands the most extrapolation: RMSE drops by 28 to 45% and ARel by 34 to 54% relative to the strongest baseline, with $\delta_{<1.25}$ up by 0.11 to 0.28. With a single context view we lift RGB PSNR from 13.86 to 17.61 and FID from 76.18 to 63.86, all while using no context poses, unlike every baseline, and with a 120M-parameter flow model versus GLD's 1.3B.

Qualitative novel view generation on ScanNet++ and RE10K: RGB and depth compared against GLD, Gen3R, Matrix3D and DepthSplat
  • DepthSplat, lacking generative capability, can only interpolate within the visible support, so holes and streak artifacts appear wherever the target view extends beyond it.
  • GLD renders blurred or ghosted appearance, while Gen3R and Matrix3D produce plausible images with coarse or inconsistent depth.
  • Convincing RGB does not imply correct geometry: appearance can look plausible while the underlying depth is wrong, texture effectively masking missing structure. Our model recovers both appearance and geometry close to the ground truth.

3D scan generation

Fusing generated target views together with the context views into a single point cloud probes 3D consistency across frames, not just per-view quality. On ScanNet++ we are best on every metric, cutting Chamfer distance from 13.24 cm to 11.43 cm over the strongest baseline (GLD) by improving both accuracy and completeness. On the out-of-distribution ETH3D scenes, roughly 7× physically larger than ScanNet++, our scans stay coherent and well aligned, achieving the best completeness and a scale-normalized relative error on par with GLD (0.74% vs. 0.69%), while Matrix3D and Gen3R exhibit noticeably larger distortions and misaligned frames.

Qualitative 3D scan generation on ScanNet++ and ETH3D: fused point clouds for GT, VGGT upper bound, Ours, GLD, Matrix3D and Gen3R

Does the geometry matter?

Euclidean vs Riemannian flow matching on a ScanNet++ scene: RGB, depth and point map for GT, Riemannian and Euclidean

With matched architecture, data, and training schedule, swapping our Riemannian formulation for Euclidean flow matching degrades every metric on both modalities. On the two-sided, low-overlap ScanNet++ setting with four context views, RGB PSNR increases by 1.41 dB and SSIM by 0.103, while LPIPS and FID drop by 41.8% and 23.9%; for depth, RMSE and ARel drop by 21.9% and 43.8%, $\delta_{<1.25}$ rises from 0.775 to 0.907, and FID improves by 8.9%.

The reason is geometric. Euclidean straight-line transport carries the trajectory off the manifold the frozen decoders expect: its endpoints overshoot the token radius by 33% and spill substantial energy into directions real tokens never occupy (off-subspace energy of 33% versus 1% for real tokens and 2% for ours). Riemannian flow restricts the velocity to the tangent space, keeping samples on the sphere in both radius and direction, and much better aligned with the ground-truth tokens (cosine similarity 0.85 vs. 0.66). As the figure shows, the Euclidean point map buckles and ripples, while ours stays flat and clean.

Latent-space Riemannian flow matching on geometric foundation models is a viable paradigm for generative 3D reconstruction.

BibTeX

@inproceedings{weijler2026latentrfm,
  author    = {Weijler, Lisa and Ballester, Irene and Mei, Guofeng and Birdal, Tolga and Hermosilla, Pedro},
  title     = {Latent Riemannian Flow Matching for Geometry-Grounded 3D Foundation Models},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026},
}