Abstract
Diffusion models without guidance generate very unrealistic samples. Guidance is used ubiquitously, and previous research has attributed its effect to low-temperature sampling that improves quality by trading off diversity. However, this perspective is incomplete. Our research shows that the choice of the loss objective is the underlying reason raw diffusion models fail to generate desirable samples. In this paper, (1) our analysis shows that the loss objective plays an important role in shaping the learned distribution and the MSE loss derived from theories holds assumptions that misalign with data in practice; (2) we explain the effectiveness of guidance methods from a new perspective of perceptual supervision; (3) we validate our hypothesis by training a diffusion model with a novel self-perceptual loss objective and obtaining much more realistic samples without the need for guidance. We hope our work paves the way for future explorations of the diffusion loss objective.
Introduction: The Limitations of MSE
Standard diffusion models, such as Stable Diffusion, typically rely on Classifier-Free Guidance (CFG) to produce high-quality images. Without this guidance, the models often yield blurry, unrealistic results. This phenomenon has traditionally been viewed as a fundamental trade-off between diversity and quality, solvable only through sampling-time interventions.
However, we argue that the root cause lies in the training objective. Standard models utilize Mean Squared Error (MSE) loss, which assumes pixel independence. When a model faces uncertainty—such as the exact placement of a facial feature—MSE encourages it to predict the average of all possible valid configurations. In image space, this "pixel-wise blending" results in non-physical, "averaged" samples that fall outside the true data distribution.
Methodology: Self-Perceptual (SP) Objective
To address the flaws of MSE, we introduce the Self-Perceptual (SP) Objective. This method shifts the focus from pixel-level matching to semantic and structural alignment by using the diffusion model as its own perceptual critic.
The training process involves three key steps:
- Self-Criticism: A pre-trained MSE diffusion model is frozen to serve as a perceptual network.
- Re-Diffusion: During training, the model predicts a clean image ($\hat{x}_0$). Both this prediction and the ground-truth image are re-noised to a random timestep ($t'$).
- Feature Matching: Both images are passed through the frozen critic. The objective minimizes the distance between internal feature maps—specifically from the U-Net's midblock, which our ablation studies identified as the most semantically rich layer.
By integrating this perceptual supervision directly into the training phase, the model learns to avoid blurry averages without requiring external models like VGG or CLIP.
Experimental Results
We evaluated our approach by finetuning Stable Diffusion v2.1 on the LAION aesthetic 6+ dataset. The results demonstrate that the SP objective significantly enhances unguided generation performance.
Quantitative Performance
On the MSCOCO 10k validation set (25-step generation), the SP objective improved the Fréchet Inception Distance (FID) from 32.68 to 25.89 and increased the Inception Score (IS) from 22.20 to 27.76. These metrics confirm a substantial leap in both image quality and distributional accuracy.
Qualitative Realism
Visually, the SP-trained models produce sharp, detailed textures that vanilla MSE models cannot replicate without the "guidance tax." By baking the benefits of guidance into the weights, we achieve high-quality results in fewer sampling steps, as the model no longer needs to perform the dual passes (conditional and unconditional) required by CFG.
Conclusion and Future Work
Our research reinterprets guidance as a form of perceptual supervision and demonstrates that the limitations of unguided diffusion are a consequence of the MSE loss objective rather than the sampling process itself. While the SP objective marks a significant advancement, challenges remain, such as subtle convolutional artifacts and the continued dominance of CFG in extreme text-alignment scenarios. Future work will explore dynamic, learned loss objectives that can further refine the generative capabilities of diffusion models.
Summary updated