Self-Guided Diffusion Models

Vincent Tao Hu, David W. Zhang, Yuki M. Asano, Gertjan J. Burghouts, Cees G. M. Snoek

Diffusion models have revolutionized generative AI, powering tools like DALL-E 3 and Midjourney. However, achieving high-fidelity, controllable results typically requires a significant "label tax": massive datasets meticulously annotated by humans with class names, bounding boxes, or segmentation masks. Researchers from the University of Amsterdam and TNO propose a way to eliminate this bottleneck through Self-Guided Diffusion Models, a framework where models guide themselves using labels discovered via self-supervised learning.

The Problem: The Human Annotation Bottleneck

While unconditional diffusion models can generate images, they often lack the fidelity and controllability of guided models. Standard Classifier-Free Guidance (CFG) relies on human-defined taxonomies, which are expensive to produce at scale and may not perfectly align with the visual features a generative model needs to learn. This is particularly problematic in specialized domains like medical imaging, where expert annotation is scarce.

Methods: A Framework for Self-Annotation

The proposed framework replaces human labels with self-annotations derived from self-supervised learning (SSL) representations. The process involves two main steps: using a pretrained SSL backbone (like DINO) to extract semantic vectors, and applying a function to convert these vectors into guidance signals.

The self-guided diffusion framework showing the transition from unannotated images to self-labeled, self-boxed, and self-segmented guidance signals.

The researchers demonstrate this at three levels of granularity:

  • Self-Labeled Guidance: Using $k$-means clustering on SSL features to assign synthetic "cluster ID" class labels.
  • Self-Boxed Guidance: Utilizing unsupervised object discovery (e.g., LOST) to automatically draw bounding boxes around primary objects.
  • Self-Segmented Guidance: Employing unsupervised semantic segmentation (e.g., STEGO) to generate dense, multi-class masks without human input.

Key Insights and Results

One of the most surprising findings is that self-labeled guidance can outperform ground-truth human labels. On ImageNet32, the self-guided model achieved an FID of 7.3, significantly better than the ground-truth baseline of 9.2. This suggests that SSL clusters may align more naturally with visual similarity than human-defined categories.

FID vs. IS for different cluster counts (K) and qualitative comparisons showing the improvement of self-guidance over unguided baselines.

Key findings include:

  • Optimal Clustering: Performance improves with more clusters, reaching a "sweet spot" (e.g., 5,000 clusters for ImageNet) before diminishing returns set in.
  • Robustness: The models are remarkably resilient to noise in self-generated masks and boxes, learning to produce clean, consistent images even from imperfect guidance.
  • Unlocking Unlabeled Data: The method enables guided generation on datasets that previously lacked any annotations, such as LSUN-Churches, where FID dropped from 19.2 (unconditional) to 15.2 with self-guidance.

Conclusion

By proving that models can effectively "teach themselves" to be guided, this research opens the door to high-quality generative AI that is no longer gated by the availability of human-labeled data. Future work may involve scaling this to larger "in-the-wild" datasets and integrating self-guidance with text-to-image models to reduce reliance on image-caption pairs.

Summary updated

BibTeX
@inproceedings{hu2022self,
  author = {Vincent Tao Hu and David W. Zhang and Yuki M. Asano and Gertjan J. Burghouts and Cees G. M. Snoek},
  title = {{Self-Guided Diffusion Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure