Geometric Autoencoder for Diffusion Models
Organizations: Shanghai Innovation Institute · Tsinghua University
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 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.
Figures & tables
| Metric | Autoencoder | Teacher | |||
| Pre | Post | Latent | SVD | DinoL | |
| rFID | 0.40 | 0.48 | 0.51 | – | – |
| LP | 20.9 | 60.8 | 63.2 | 60.9 | 83.7 |
| Arch | LP |
| Single Attn | 62.8 |
| Attn + Linear | 63.4 |
| Attn + Patch Conv | 75.6 |
| Method | Epochs | #Params | Generation w/o CFG | Generation w/ CFG | ||||||
| gFID | IS | Pre. | Rec. | gFID | IS | Pre. | Rec. | |||
| AutoRegressive | ||||||||||
| MaskGIT ( Chang et al., 2022 ) | 555 | 227M | 6.18 | 182.1 | 0.80 | 0.51 | – | – | – | – |
| LlamaGen ( Sun et al., 2024b ) | 300 | 3.1B | 9.38 | 112.9 | 0.69 | 0.67 | 2.18 | 263.3 | 0.81 | 0.58 |
| VAR ( Tian et al., 2024 ) | 350 | 2.0B | – | – | – | – | 1.80 | 365.4 | 0.83 | 0.57 |
| MagViT-v2 ( Yu et al., 2023 ) | 1080 | 307M | 3.65 | 200.5 | – | – | 1.78 | 319.4 | – | – |
| Dim | rFID | PSNR | LPIPS | SSIM | gFID | |
| 0.05 | 0.37 | 27.78 | 0.101 | 0.784 | 2.58 | |
| 0.1 | 0.45 | 27.37 | 0.107 | 0.774 | 2.36 | |
| 0.2 | 0.57 | 26.99 | 0.116 | 0.759 | 2.32 | |
| 0.1 | 0.31 | 29.60 | 0.076 | 0.845 | 3.15 | |
| 0.2 | 0.43 | 28.92 | 0.086 | 0.827 | 3.12 | |
| 0.3 | 0.49 | 28.30 | 0.094 | 0.811 | 3.11 |
| Method | Dim | LP | Reconstruction | gFID (w/o CFG) | |||||
| rFID | PSNR | LPIPS | SSIM | 80 Ep | 160 Ep | 800 Ep | |||
| VTP-L | 64 | 73.9 | 0.36 | 26.83 | 0.126 | 0.750 | 2.81 | – | – |
| FAE | 64 | – | 0.66 | – | – | – | – | 2.02 | – |
| GAE | 64 | 78.3 | 0.38 | 29.09 | 0.081 | 0.834 | 1.96 | 1.53 | 1.29 |
| rFID | PSNR | LPIPS | SSIM | LP | gFID | |
| 0.0 | 0.76 | 27.16 | 0.157 | 0.77 | 5.74 | 12.55 |
| 0.5 | 0.40 | 28.11 | 0.095 | 0.796 | 63.5 | 2.35 |
| 1.0 | 0.45 | 27.37 | 0.107 | 0.774 | 69.2 | 2.36 |
| 2.0 | 0.59 | 26.50 | 0.122 | 0.749 | 71.4 | 2.45 |
| Method | rFID | gFID |
| KL constraint | 0.977 | 16.72 |
| Latent Norm | 0.764 | 12.55 |
| Type | Dim | Layers | Heads | LP | rFID | PSNR | LPIPS | SSIM | gFID |
| ViT-L | 1024 | 24 | 16 | 69.2 | 0.45 | 27.37 | 0.107 | 0.774 | 2.36 |
| ViT-B | 768 | 12 | 12 | 62.5 | 0.41 | 26.70 | 0.122 | 0.754 | 2.43 |
| ViT-S | 384 | 12 | 6 | – | 1.55 | 23.85 | 0.212 | 0.625 | – |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Epochs | 80 | 160 | 320 | 480 | 640 | 800 |
| 1.82 | 1.51 | 1.37 | 1.33 | 1.31 | 1.31 | |
| 1.96 | 1.53 | 1.39 | 1.36 | 1.31 | 1.29 |
| Method | Dim ( ) | rFID | PSNR | LPIPS | SSIM |
| SD-VAE | 4 | 0.610 | 26.260 | 0.134 | 0.722 |
| MAR-VAE | 16 | 0.530 | 26.184 | 0.135 | 0.716 |
| VAVAE | 32 | 0.280 | 27.710 | 0.097 | 0.779 |
| AlignTok | 32 | 0.260 | 25.830 | 0.117 | – |
| VTP-L | 64 | 0.360 | 26.830 | 0.126 | 0.750 |
| RAE (ViT-XL) | 768 | 0.570 | 18.860 | 0.225 | 0.620 |
| Teacher | Teacher LP | AE Reconstruction | AE Latent LP | Gen. | |||
| Model | LP | rFID | PSNR | LPIPS | SSIM | LP | gFID |
| MAE-L | 33.9 | 0.36 | 28.71 | 0.084 | 0.813 | 29.8 | 4.20 |
| DINOv2-L | 76.0 | 0.45 | 27.37 | 0.107 | 0.774 | 69.2 | 2.36 |
| Epochs | Timeshift | CFG Interval | CFG Weight | gFID |
| 800 | 0.4 | 0.27 | 2.3 | 1.15 |
| 0.4 | 0.27 | 2.5 | 1.14 | |
| 0.4 | 0.27 | 3.1 | 1.14 | |
| 0.4 | 0.27 | 3.5 | 1.15 | |
| 0.4 | 0.3 | 2.7 | 1.15 | |
| 0.4 | 0.3 | 3.3 | 1.13 |
| Category | Field | LDM | |||||
| Architecture | Input dim. | 16 16 3 | 16 16 1024 | 16 16 32 | 16 16 3 | 16 16 32 | 16 16 32 |
| Output dim. | 16 16 1024 | 16 16 32 | 16 16 3 | 16 16 32 | 16 16 3 | 16 16 32 | |
| Hidden dim. | 1024 | – | 1024 | 1024 | 1024 | 1152 | |
| Num. layers | 24 | – | 24 | 24/1/1 | 4 | 28 | |
| Num. heads | 16 | – | 16 | 16/16/– | 16 | 16 | |
| MLP Ratio | 4 | – | 4 | 4/–/– | 4 | 4 |
| Method | Dim | Flatten | GAP |
| Part 1: Linear Probing results for Fig. 1 | |||
| SD-VAE | 16 | 4.99 | 1.16 |
| MAR-VAE | 16 | 13.7 | 4.29 |
| VAVAE | 32 | 43.1 | 29.0 |
| Aligntok | 32 | – | 35.1 |
| VTP-L | 64 | 73.9 | 67.6 |
Latent Diffusion Models
Latent diffusion models denoise compact representations to generate or transform images, video, audio, and other complex data efficiently.
See all 207 papers