Geometric Autoencoder for Diffusion Models

Hangyu Liu, Jianyong Wang, Yutao Sun

TL;DR

The Geometric Autoencoder (GAE) provides a principled framework for designing the latent spaces used in diffusion models. By replacing standard KL-divergence with geometric normalization and aligning the latent space with Vision Foundation Models (VFMs) at the bottleneck, GAE achieves state-of-the-art ImageNet generation (1.31 gFID) with significantly faster convergence than previous methods.

What Problem Does This Paper Address?

Latent Diffusion Models (LDMs) have revolutionized AI art, but their "engine room"—the Variational Autoencoder (VAE) that compresses images into a latent space—is often designed heuristically.

Researchers face a difficult "trilemma":

  1. Semantic Discriminability: Can the model easily "understand" the objects in the latent space?
  2. Reconstruction Fidelity: Can the decoder turn that latent code back into a perfect image?
  3. Latent Compactness: Is the representation small enough for efficient diffusion training?

Existing approaches often struggle to balance these. Some methods align latents with semantic models like CLIP but lose image detail; others focus on detail but create "messy" latent manifolds that are hard for diffusion models to learn. GAE aims to unify these goals through a more "geometric" and principled approach.

Methods

The authors introduce three key technical innovations:

  • Latent Alignment (The "Where"): Instead of aligning high-dimensional features before compression or projecting them back up after, GAE aligns the encoder's output directly at the bottleneck. They use a learned "Semantic Teacher"—a frozen VFM (like DINOv2) followed by a specialized parametric downsampler—to provide a low-dimensional target for the autoencoder to mimic.
  • Latent Normalization (The "How"): Standard VAEs use a KL-divergence penalty to keep the latent space organized, which can be unstable. GAE ditches the KL term entirely. Instead, it uses RMSNorm to project latents onto a unit hypersphere. This "geometric" constraint ensures the space is bounded and well-distributed without the training instability of KL.
  • Dynamic Noise Sampling: To make the decoder robust, GAE perturbs the latent mean with varying levels of Gaussian noise during training. This ensures the decoder can reconstruct clean images even when the diffusion process provides slightly "noisy" latent inputs.

The architecture itself is built on a modern Transformer-based Autoencoder (ViT backbone) with refinements like SwiGLU activations, which scales better than traditional convolutional networks.

Datasets

The primary benchmark used is ImageNet-1K at $256 \times 256$ resolution. The authors use this dataset to evaluate both the autoencoder's reconstruction ability and the final diffusion model's generative quality. They also use ImageNet for Linear Probing—a test where a simple classifier is trained on fixed latents to measure how much semantic information they contain.

Key Insights and Ideas

  • Alignment Stage is Critical: The paper demonstrates that "Latent Alignment" (at the bottleneck) is vastly superior to "Pre-Alignment" or "Post-Alignment." It allows the model to inherit the rich semantic priors of foundation models without sacrificing the reconstruction of fine textures.
  • Geometry over Probability: Replacing the probabilistic KL-divergence with a hard geometric constraint (normalization) creates a more stable manifold. This makes the "job" of the subsequent diffusion model much easier.
  • The Efficiency Leap: Because the latent space is semantically "cleaner," the diffusion model converges much faster. GAE achieves a gFID of 1.82 in just 80 epochs, outperforming other models that were trained for 800 epochs.
  • Spatial Awareness Matters: In their ablation studies, the authors found that a "Patch Convolution" downsampler for the semantic teacher worked better than simple attention. This suggests that maintaining local spatial correlations is vital for a good latent representation.

Key Results

  • State-of-the-Art Generation: On ImageNet-1K, GAE achieved a gFID of 1.31 (without Classifier-Free Guidance) after 800 epochs. With guidance, it reached 1.13, surpassing virtually all prior latent diffusion and autoregressive models.
  • Superior Semantic Depth: In linear probing tests, GAE's 32-dimensional latents achieved 69.4% accuracy, nearly double the 43.1% achieved by standard VAEs at the same dimension.
  • Robustness: The "Geometric" approach proved much more resilient to noise. Even at high noise levels where other decoders (like VTP) failed, GAE maintained stable image reconstruction.

Limitations and Future Work

While GAE shows impressive results on ImageNet, the paper does not extensively explore:

  • Scaling to Web-Scale Data: While the ViT backbone is scalable, the performance on massive, uncurated datasets (like LAION-5B) remains to be seen.
  • Teacher Dependency: The quality of the latent space is tied to the choice of the Vision Foundation Model teacher. Exploring multi-modal teachers (e.g., combining CLIP's text-alignment with DINOv2's spatial features) could be a fruitful next step.
  • Video Generation: The authors suggest GAE offers a promising paradigm for latent modeling, but extending this geometric approach to the temporal dimension for video diffusion is left for future research.

Summary updated

Abstract

Latent diffusion models have established a new state-of-the-art in high-resolution visual generation. Integrating Vision Foundation Model priors improves generative efficiency, yet existing latent designs remain largely heuristic. These approaches often struggle to unify semantic discriminability, reconstruction fidelity, and latent compactness. In this paper, we propose Geometric Autoencoder (GAE), a principled framework that systematically addresses these challenges. By analyzing various alignment paradigms, GAE constructs an optimized low-dimensional semantic supervision target from VFMs to provide guidance for the autoencoder. Furthermore, we leverage latent normalization that replaces the restrictive KL-divergence of standard VAEs, enabling a more stable latent manifold specifically optimized for diffusion learning. To ensure robust reconstruction under high-intensity noise, GAE incorporates a dynamic noise sampling mechanism. Empirically, GAE achieves compelling performance on the ImageNet-1K $256 \times 256$ benchmark, reaching a gFID of 1.82 at only 80 epochs and 1.31 at 800 epochs without Classifier-Free Guidance, significantly surpassing existing state-of-the-art methods. Beyond generative quality, GAE establishes a superior equilibrium between compression, semantic depth and robust reconstruction stability. These results validate our design considerations, offering a promising paradigm for latent diffusion modeling. Code and models are publicly available at https://github.com/sii-research/GAE.
BibTeX
@misc{liu2026geometric,
  author = {Hangyu Liu and Jianyong Wang and Yutao Sun},
  title = {{Geometric Autoencoder for Diffusion Models}},
  year = {2026},
  eprint = {2603.10365},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.10365},
}
Figure