Apple's LLDM: Lossless Latent Diffusion With Pixel-Exact Reconstruction, gFID 3.75 on ImageNet

Lossless Latent Diffusion Models

Tongda Xu, Yu Zhang, Jun Hu, Huijuan Huang

cs.CV

2026-11-19

Apple's LLDM appends a down-scaled VAE reconstruction residual to latents, leaving diffusion training untouched: pixel-exact reconstruction, gFID 3.75, beating several lossy VAEs.

What problem this solves

Latent diffusion models (LDMs) such as Stable Diffusion compress images with a lossy VAE and run diffusion in that latent space. Training is fast and generation is good, but the encoder throws information away: PSNR tops out around 25-34 dB, so editing and restoration workflows that must preserve the source image are off limits. The alternative, diffusion directly in pixel space, is hard because the pixel manifold has high intrinsic dimensionality; a vanilla SiT-XL trained on pixels lands at gFID 104.29 on ImageNet 256. Recent work attacks this by rewriting training objectives (x-prediction, DINO feature losses) or redesigning architectures (hierarchical DiTs), all of it bending the diffusion model to fit pixels. Apple's paper inverts the question: keep the diffusion model untouched and change the representation.

Method

LLDM wraps a frozen pretrained lossy VAE in two invertible operations.

The optimal γ tracks the base VAE's reconstruction fidelity: FLUX2-VAE (PSNR 34.33) works best at γ = 0.01, VTP-L (26.85) at 0.1, and for the weak RAE (18.82) any down-scaling hurts. The authors also tried learning an invertible transform with normalizing flows; NICE and RealNVP reached gFID 104.29 and 181.92, no better than raw pixels, so the hand-designed transform is not a trivial choice.

To explain why this works, the paper proposes semantic rank priority (SRP): compute the latent's covariance, project onto the subspace spanned by the top-k eigenvectors, and run a linear probe there. Ordinary linear-probe accuracy is invariant to invertible linear maps and therefore blind to scaling; SRP with k = 100 tracks gFID closely.

Results

ImageNet 256×256 class-to-image, every representation trained with the same SiT-XL for 40 epochs:

MethodPSNRgFID (no CFG)gFID (CFG)
Pixel diffusion∞104.2926.29
Pixel + REPA∞64.5214.82
PixelGen∞63.7418.95
SD-VAE25.9126.026.31
FLUX2-VAE34.3310.184.16
LLDM∞11.663.75

Without CFG, LLDM beats every pixel-space method by an order of magnitude and sits just behind its own base FLUX2-VAE. With CFG it reaches 3.75, ahead of FLUX2 (4.16), SD-VAE (6.31), SD3-VAE (7.32) and FLUX1 (8.45); only VTP-L (3.48) stays ahead. The diversity gap is even larger: pixel methods score recall of 0.02-0.06 versus 0.54 for LLDM. The ablation chain is clean: residual decomposition 104 → 52.31, a normalizing flow on the residual 48.37, residual dropout 23.33, uneven scaling 11.66. On Diffusion-Bench text-to-image at 256, LLDM scores GenEval 0.67, DPG-Bench 0.82 and GenAIBench 0.72, best among lossless methods and on par with FLUX2 (0.67/0.83/0.71), well ahead of PixelGen (GenEval 0.55). As a standalone metric, SRP@5 correlates with gFID at PCC 0.86 across 22 open-source VAEs, versus 0.49 for plain linear-probe accuracy and 0.54 for LPIPS.

Why it matters

The paper reframes the reconstruction-generation trade-off as a question of how information is organized, not how much is kept. A channel concatenation plus one scale factor delivers both exact reconstruction and near-SOTA generation, and it slots into a standard LDM pipeline by swapping the VAE. For editing, restoration and super-resolution workflows that must preserve the source image, this is a more direct route than training ever-stronger lossy VAEs. SRP is also usable on its own as a VAE selection tool, predicting downstream generation quality better than existing metrics.

Limitations

Terms

Source

What people are saying

Related papers

All paper explainers