Representation by Design in Generation: Cross-View Class-Token Alignment in Diffusion Transformers
Abstract
Generative and representation learning remain asymmetrically connected: semantic representations are used to improve diffusion generation, whereas the models' own representations are often treated as a by-product of synthesis. We ask whether diffusion models can instead be trained to learn substantially stronger semantic representations without sacrificing generation quality. SelfFlow takes a step in this direction by introducing self-supervised patch alignment into flow matching, but its main gains remain in faster convergence and improved generation. Inspired by DINO and iBOT, we extend this framework with cross-view class-token alignment to further strengthen semantic representations. Specifically, we form two independently noised, dual-timestep observations of each image and align each student class-token representation with the stop-gradient EMA-teacher target from the other observation. This objective is optimized jointly with the inherited flow-matching and local patch objectives. Notably, although the additional objective acts only on the class token, it strengthens both class-token and patch representations. Compared with a matched two-view baseline, ImageNet linear-probing accuracy improves by 9.4\% using the class token and 10.1\% using mean-pooled patch tokens, while frozen-backbone VOC2012 segmentation improves by 3.6 mIoU. These representation gains are achieved while maintaining comparable ImageNet generation FID. In text-to-image training, the same objective also improves generation FID, reducing it from 2.52 to 2.37 at matched checkpoints. Our results show that representation need not remain a by-product of generation or merely a tool for improving it: it can be directly optimized as a first-class capability of diffusion pretraining alongside generation.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.LG
Related papers
CrossTimeEdit: A Decade-Spanning Cross-View Dataset and Reward-Guided Editing for Historical Street-View Generation
Shared title terminologycs.CVHanwen Lu, Jun He, Mingjia Yang et al.
GeoForward: Geometry-Guided Cross-View Alignment for Feedforward 3D Gaussian Splatting
Shared title terminologycs.CVYiming Shu, Peng Sun, Lang Zhang et al.
Who Is Ego? Scaling Cross-View Camera Wearer Identification and Segmentation beyond Humans
Shared title terminologycs.CVYifan Jin, Zheng Zhang, Tianwen Qian et al.
Scaffold Then Internalize: Representation Injection for Diffusion Transformers
Shared title terminologycs.CVHan Fu, Jiacheng Chen, Baoquan Zhao et al.
High-Fidelity Image Matting with Pixel-Space Diffusion Transformers
Shared title terminologycs.CVBaihan Yang, Xin Lin, Yufan Wei et al.
Physics-Guided Generative Modelling of Oxy-Combustion Flame Images: From Conditional LSGANs to Denoising Diffusion Models
Shared title terminologycs.CVImane Er-rabhi, Gorkem Oztarlik, Jean Caudal et al.