Purify Before You Align: Improving Representation Alignment for Diffusion Models
Yingheng Wang, Yaoqiang Li, Yaqin Wu, Junwen Bai, Jiatao Gu, Christopher De Sa, Volodymyr Kuleshov
Abstract
Representation alignment improves and accelerates diffusion training by encouraging intermediate features to match a pretrained visual encoder. However, standard alignment matches pretrained representations without distinguishing what information may be more useful for generation. We introduce local appearance purification (LAP), which improves generation quality and makes encoders such as MAE more effective alignment targets by removing locally predictable content and aligning to the residual. LAP modifies only the alignment target, and requires no changes to diffusion training or inference. Through controlled interventions within a fixed encoder, we show that effective alignment depends on what information the target emphasizes, not simply how much image information it contains. Our theory gives a variational interpretation of standard alignment and, for fixed local predictors, a sum of token-wise information bounds conditioned on local appearance. To understand why purification benefits some encoders more than others, we derive an exact constant-readout test that measures how well the target can be matched without using the diffusion model's hidden state. LAP improves generation quality across five pretrained representations (MAE, AIMv2, CLIP, DINOv2, DINOv3), with the largest gain for MAE: on ImageNet-256 with SiT-B/2, it reduces FID from to . Its gains persist with stronger alignment recipes and tokenizers. Computed before diffusion training, the constant-readout score predicts the benefit of purification (Spearman across 13 encoders).
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- Code and checkpoints are on the project page: https://yingheng-wang.com/LAP
Related papers
Semantic State Reading for Joint Image-Semantic Diffusion Transformers
Shared title terminologycs.CVGuanxi Lai, Zixuan Li, Zhiwei Li et al.
TORE: Token-Wise Taylor Order Selection via Decomposed Residual Error Estimation for Diffusion Acceleration
Shared title terminologycs.CVLei Tang, Baoquan Zhang, Yakun Zhang et al.
Variation-aware Temporal Correspondence for Self-Supervised Video Representation Learning
Shared title terminologycs.CVYang Liu, Qianqian Xu, Peisong Wen et al.
GeoCAM: Self-Supervised Sonar-Optical Representation Learning via Geographic Overlap Supervision
Shared title terminologycs.CVFadi Abdeladhim Zidi, Andrea De Salve, Giuseppe Celeste et al.
Loop4D: Embodied World Modeling with 4D VAEs and Looped Diffusion Transformers
Shared title terminologycs.CVGen Li, Fan Luo, Mengjun Lin et al.
OceanFix: Reference-Guided Diffusion for Sparse-View Underwater 3D Reconstruction
Shared title terminologycs.CVGen Li, Maoxin Chen, Yao Xiao et al.