The Geometry of Generative Latents: Navigability and Invertibility

Zexi Jia, Jingwei Li, Pengcheng Luo, Shipeng Cen, Longhui Yuan, Jinchao Zhang, Jie ZhouNeurIPS 2026

TL;DR

In latent diffusion models, making a compressed image representation richer so a decoder can reconstruct crisp details often ruins the diffusion model's ability to generate good images from scratch. This paper reveals the geometric reason why—a tug-of-war between invertibility and navigability—and proves that where you point added detail in latent space matters just as much as how much you add. By projecting fine-grained visual details strictly perpendicular to the base data manifold, the authors get the best of both worlds: sharp reconstructions and smooth, high-quality text-to-image generation.

What Problem Does This Paper Address?

Modern image generators (like Stable Diffusion or FLUX) don't denoise raw pixels; they work inside a compressed "latent space." Recently, researchers started replacing standard Variational Autoencoder (VAE) latents with Representation Autoencoders (RAEs), which use features from frozen vision foundation models like DINOv3.

Across all these systems, a frustrating paradox keeps showing up: when you pack more local, fine-grained detail into the latent space to improve image reconstruction, the generated samples actually get worse or harder to train.

Figure 1: A geometric view of generative latent quality. (a) The Reconstruction–Generation Dilemma. Latents must balance invertibility (recovering detail) and navigability (smooth diffusion transport). Maximizing invertibility (left) often forms highly curved manifolds that tangle diffusion trajectories, while highly navigable latents (right) align smoothly with the prior but discard detail. (b) Geometry-Guided Enrichment. When adding detail to a base latent, normal residuals (r⊥) move along normal fibers and preserve the base coordinate under tubular projection. Tangential residuals (rT ), in contrast, shift the projected base point along the manifold at first order, mixing added detail with the transport directions of the base latent.

The authors frame this "reconstruction–generation dilemma" through two competing geometric properties:

  • Invertibility: How faithfully a decoder can recover an image from a latent code. This favors high-dimensional, detail-rich, and often intricately curved manifolds.
  • Navigability: How smoothly a diffusion process can transport probability mass from noise to data. This favors low-dimensional, flat, well-connected manifolds.

If you use the final layer of DINOv3, you get a smooth, semantic, highly navigable manifold, but blurry reconstructions. If you carelessly mix in shallower DINOv3 layers to recover lost visual details, you warp the manifold, tangling the diffusion trajectories. The central question is: how do we inject fine detail into a smooth base latent without wrecking its navigability?

Methods

First, the authors introduce a theoretical diagnostic called tangent-projected transport complexity, which measures how rough the diffusion score field is along the data manifold itself (filtering out harmless ambient noise effects). Analyzing this leads to their core theoretical contribution: the Normal Projection Principle.

Think of the smooth base latent space as a highway. If you add detail along the tangent directions (parallel to the highway), you shift the car's coordinates along the road, confusing the diffusion model's GPS. If you add detail strictly in the normal space (perpendicular to the road, like elevation), the underlying road coordinate stays completely intact under nearest-point projection.

To turn this math into a working text-to-image architecture, they build NormFuse:

  • Standard backbone: Uses a frozen DINOv3 encoder, a lightweight convolutional decoder, and a Diffusion Transformer (DiT) trained via flow matching.
  • What's new: NormFuse treats DINOv3's final layer (layer 12) as the navigable base token manifold and extracts detail residuals from shallower layers (layers 4 and 8). Using a FAISS index of base tokens, it grabs the $k=64$ nearest neighbors around each token and runs local PCA to estimate the tangent space. It then strips out the tangential components, adding only the normal-projected residuals to the base latent.
  • Zero inference penalty: All k-NN lookups and PCA projections are cached during preprocessing (adding 1.58$\times$ preprocessing time once). At generation time, the DiT outputs fused latents directly with zero extra latency.

Datasets

No new benchmarks are introduced; the authors rely on established datasets:

  • COCO 2017: ~118K training images and 5K validation images (at $512^2$ resolution) for controlled ablations, reconstruction metrics (PSNR, rFID), and generation quality (gFID).
  • BLIP-3o & DanQing: ~50M image–text pairs featuring six captions per image (short, medium, and long in both English and Chinese) used to train the scaled 4B-parameter text-to-image models.
  • GenEval & DPG-Bench: Standard evaluation benchmarks used to test compositional text-to-image alignment (counting, colors, spatial positioning, multi-object binding).

Key Insights and Ideas

  • Direction beats magnitude: When enriching a latent representation, how you orient the added information is critical. Tangential residuals shift base manifold coordinates at first order, mixing fine textures into the main transport pathways. Normal residuals sit cleanly on orthogonal fibers, preserving the underlying coordinate system.
  • Unconstrained fusion inflates complexity: Naively concatenating multi-layer features or summing them via MLPs ("Predictor-Add") causes the latent space's estimated intrinsic dimension to balloon (from 39 up to 78 or 61) and drops local linearity. NormFuse keeps intrinsic dimension tight (35) and local linearity high (0.93)—even cleaner than the base layer alone.
  • Smoother velocity fields in practice: The geometric theory translates directly to flow-matching dynamics: on controlled runs, NormFuse reduces the roughness of the learned velocity field by 22% and drops held-out flow-matching loss by 8.5% compared to unconstrained residual addition.

Key Results

  • Controlled COCO Ablations (33M DiT): Base-only latents yield good generation (5.54 gFID) but poor reconstruction (20.3 PSNR, 3.82 rFID). Unconstrained MLP fusion fixes reconstruction (27.6 PSNR, 1.53 rFID) but degrades generation to 5.94 gFID. NormFuse keeps nearly identical reconstruction (27.4 PSNR, 1.58 rFID) while achieving the best generation quality at 5.33 gFID.
  • Scaled Text-to-Image (4B DiT on 50M pairs): Against matched 4B baselines trained with the exact same data and recipe, NormFuse shines on compositional prompts:
  • GenEval: Scores 0.77 overall, beating single-layer RAE-Base (0.64) and unconstrained Predictor-Add (0.70), with massive jumps in color attribution and two-object composition.
  • DPG-Bench: Reaches 86.89 overall, outperforming RAE-Base (79.57), Predictor-Add (82.87), and published RAE systems like SVG-T2I (85.78).

Limitations and Future Work

  • Token-wise independence: NormFuse estimates manifolds and projects residuals on individual patch tokens independently. Because a full image latent is a grid of tokens with spatial correlations, this token-wise approach is a local product-space approximation rather than a true global image-manifold projection.
  • Local tubular limits: If the fusion weight ($\alpha$) is pushed too high (e.g., $\alpha=1.5$), generation quality degrades (gFID rises from 5.33 to 5.62). Overly large residuals likely push points outside the local "tubular neighborhood" where PCA-estimated normal fibers remain accurate and non-intersecting.
  • Qualitative theoretical bounds: The authors candidly note that their score-curvature math serves as a qualitative geometric proxy to motivate design, rather than a strict mathematical bound on flow-matching optimization or final FID scores. Future directions are not explicitly outlined in the main text.

Summary updated

Abstract

Latent diffusion models depend critically on the geometry of the space in which generation is performed. A persistent challenge in VAE- and RAE-based systems is that detail-rich latents improve inversion but can make diffusion dynamics harder to model. We study this reconstruction--generation tension through two geometric properties: invertibility, which measures how faithfully images can be decoded, and navigability, which measures how smoothly diffusion can transport mass in latent space. We introduce a tangent-projected transport complexity that isolates score-field variation along data-manifold directions and highlights intrinsic dimension, curvature, reach, and enrichment direction as geometry-side factors in diffusion difficulty. This analysis yields the Normal Projection Principle: when enriching a navigable base latent, added detail should lie in the normal space so that the base coordinate is preserved under tubular projection, whereas tangential residuals shift that coordinate at first order. Motivated by this principle, we introduce NormFuse, an RAE-based text-to-image model that fuses frozen multi-layer DINOv3 features through normal-space projection. Controlled and large-scale matched comparisons show that NormFuse preserves reconstruction benefits while avoiding the generation degradation of unconstrained fusion, supporting latent geometry as both an explanatory lens and a practical design rule.
BibTeX
@inproceedings{jia2026geometry,
  author = {Zexi Jia and Jingwei Li and Pengcheng Luo and Shipeng Cen and Longhui Yuan and Jinchao Zhang and Jie Zhou},
  title = {{The Geometry of Generative Latents: Navigability and Invertibility}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ryTKhFAIv3},
}
Figure