No Alignment Needed for Generation: Learning Linearly Separable Representations in Diffusion Models

Junno Yun, Yasar Utku Alçalar, Mehmet Akçakaya · DOI

Abstract

Training high-performance diffusion models typically requires massive computational resources and often relies on external, pre-trained encoders for representation alignment. This paper introduces Linear SEParability (LSEP), a novel regularization technique that encourages diffusion models to learn structured internal representations by jointly optimizing a simple linear classifier during the denoising process. LSEP eliminates the need for expensive external "teacher" models like DINOv2 while achieving state-of-the-art image generation quality and significantly faster convergence.

Introduction

Large-scale diffusion models, such as Stable Diffusion and Diffusion Transformers (DiT), have revolutionized generative modeling but remain notoriously resource-intensive to train. Recent research suggests that training efficiency is limited by the quality of the model's internal representations—how well it understands the underlying structure of the data.

To address this, current state-of-the-art methods often employ representation alignment (e.g., REPA), forcing the diffusion model's features to match those of a powerful, pre-trained "teacher" model. However, this approach requires maintaining a computationally expensive external encoder in the training loop. This paper proposes a fundamental alternative: Linear SEParability (LSEP). By incentivizing high-quality representations internally through a simple linear probe, the model achieves superior performance without any external dependencies.

Methodology: The LSEP Framework

The core innovation of LSEP is the integration of a trainable linear classifier directly into the training objective. Rather than using a linear probe solely for post-hoc evaluation, LSEP uses it as an active driver for representation learning.

The proposed LSEP architecture (left) and its impact on training efficiency (right).

Technical Components

  • Joint Optimization: A linear classifier is attached to an intermediate layer of the Diffusion Transformer (specifically the SiT architecture). The model is trained to minimize both the standard denoising (velocity matching) loss ($\mathcal{L}_{velocity}$) and a classification loss ($\mathcal{L}_{class}$) simultaneously.
  • Preventing Shortcut Learning: To ensure the classifier relies on learned image features rather than class labels used for guidance, LSEP uses the unconditional (null) class label for the classifier 90% of the time.
  • Random Feature Cropping: To ensure that individual patches of the image are informative, the framework randomly crops intermediate feature maps before feeding them to the classifier.
  • Time-Dependent Weighting: Because classification difficulty changes as noise is added, the authors use a piecewise constant weighting scheme for the classification loss based on the diffusion timestep $t$.

Experimental Results

The method was primarily tested on SiT (Scalable Interpolant Transformers) using the ImageNet-1k dataset at 256 × 256 resolution.

State-of-the-Art Performance and Efficiency

SiT-XL with LSEP achieved an FID of 1.46, currently the best performance among models that do not rely on external encoder architectures. Furthermore, LSEP-trained models converge much faster; a SiT-XL model with LSEP reaches a better FID at 4 million iterations than the baseline does at 7 million.

Latent Space Analysis

Visualizations of the latent space demonstrate that LSEP creates much tighter, more distinct clusters for different object classes compared to the baseline model. Interestingly, LSEP and teacher-based alignment (REPA) appear to capture complementary aspects of feature quality; when combined, they drive the FID even lower.

t-SNE visualizations comparing the baseline SiT-XL, REPA, and LSEP (with and without random cropping).

Conclusion

LSEP demonstrates that linear separability is not just a byproduct of good training but can be an active signal to drive better generative performance. By removing the need for external teacher models, LSEP offers a more efficient and self-contained path toward high-fidelity image generation. Future work will explore the effectiveness of LSEP in more complex settings, such as text-to-image generation and higher-resolution synthesis.

Summary updated

BibTeX
@misc{yun2025no,
  author = {Junno Yun and Yasar Utku Alçalar and Mehmet Akçakaya},
  title = {{No Alignment Needed for Generation: Learning Linearly Separable Representations in Diffusion Models}},
  year = {2025},
  eprint = {2509.21565},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.21565},
}
Figure