Sample-Aligned Decoders for Latent Generative Models
Yu Lei, Yi Li, Hongcheng Gao, Yipeng Wei, Liang Li, Li Su, Qingming Huang
Abstract
Latent generative models synthesize images by decoding generated latents, yet their decoder is trained only to reconstruct encoder latents and never sees the latents it decodes at test time, so the residual errors of the generator are rendered directly into the final image. Existing remedies retrain the generator, add cost at every sampling step, or make the decoder robust to perturbed real latents, assuming that generator errors resemble such perturbations. We find that they do not. Generated latents lie on the encoder latent manifold as closely as real ones, yet follow a different distribution. The decoder should therefore be adapted to the distribution of generated latents, which raises two challenges: (1) unpaired supervision, since a generated latent has no ground-truth image, and (2) latent-space drift, since a decoder freed from paired targets forgets the latent space it must decode. We propose Sample-Aligned Decoders (SAD), a post-training framework that fine-tunes only the decoder of a frozen generator at no inference cost. Generated-Sample Distribution Alignment matches decoded generated latents to unpaired real images in a frozen foundation-model feature space, and Encoder Anchor Preservation keeps the decoder close to the original one on encoder latents. Our analysis shows that the alignment is effective only on generated latents, where it corrects each sample in proportion to how much more often the generator produces such latents than the encoder; on encoder latents it can only work against the anchor. SAD improves four state-of-the-art ImageNet generators across three tokenizers, e.g., FID-50K from 1.15 to 0.98 for REPA-E, complements discriminator guidance, and extends to text-to-image generation. Our code and models are available at https://torpedo2003.github.io/SAD/.
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- Project page: https://torpedo2003.github.io/SAD/
Related papers
Align the Pair, Not the Sample: Representation Alignment for Faster and Better One-Step Generato
Shared title terminologycs.CVMingxiao Li, Xuantuo Huang, Encheng Su et al.
T2ISpec: Benchmarking Speculative Decoding for Text-to-Image Generation
Shared title terminologycs.CVYifan Zhang, Shatong Zhu, Hui Shen et al.
ViLFlow: Parallel Vision-Language Generation with Continuous Latent Flows
Shared title terminologycs.CVKevin Zhai, Bian Sun, Zhenyi Wang et al.
SIGNTOK: A Text-Aligned Continuous Pose Tokenizer for Sign Language Generation
Shared title terminologycs.CVNabeela Khan, Gaurav Rai, Bowen Wu et al.
Sightline: Long-Window Speculative Decoding for Fast SVG Generation
Shared title terminologycs.CVYanchao Li, Ben Gao, Jiaqing Xie et al.
TextSphere: Efficient Text-to-Image Generation via Shared Hyperspherical Alignment and Uniformity
Shared title terminologycs.CVYixia Zhang, Girish A. Koushik, Xilu Wang et al.