Return of Unconditional Generation: A Self-supervised Representation Generation Method

Tianhong Li, Dina Katabi, Kaiming He

TL;DR

The Representation-Conditioned Generation (RCG) framework bridges the long-standing performance gap between unconditional and conditional image generation. By generating self-supervised semantic representations to guide the synthesis process, RCG achieves a new state-of-the-art FID of 2.15 on ImageNet 256×256, matching the quality of top-tier class-conditional models without requiring a single human label.

What Problem Does This Paper Address?

In the world of generative AI, there has historically been a massive "quality gap" between models that use human-provided labels (conditional generation) and those that don't (unconditional generation). While models like Stable Diffusion or DALL-E produce stunning results by conditioning on text or class labels, their unconditional counterparts—which must learn the entire distribution of data from scratch—often produce blurry or semantically incoherent images.

This gap exists because labels provide a "semantic anchor." They simplify the complex task of modeling the entire world into smaller, manageable sub-tasks (e.g., "generate a cat"). The challenge is that human labels are expensive and limited. To truly unleash the power of the vast amounts of unlabeled data on the internet, we need unconditional methods that can match the performance of conditional ones.

Methods

The authors propose a simple but powerful framework called Representation-Conditioned Generation (RCG). Instead of relying on human labels, RCG uses representations derived from self-supervised learning (SSL).

Figure 1: The Representation-Conditioned Generation (RCG) framework for unconditional generation. RCG consists of three parts: (a) it uses a pre-trained self-supervised encoder to map the image distribution to a representation distribution; (b) it learns a representation generator that samples from a noise distribution and generates a representation subject to the representation distri- bution; (c) it learns an image generator (e.g., which can be ADM [18], DiT [50], or MAGE [41]) that maps a noise distribution to the image distribution conditioned on the representation distribution.

The framework consists of three main components:

  1. Distribution Mapping: A pre-trained, frozen SSL encoder (like MoCo v3) maps the image distribution into a compact, semantically rich representation space.
  2. Representation Generation: A lightweight "Representation Diffusion Model" (RDM) is trained to model this representation space. It learns to sample from a noise distribution and generate a valid SSL representation.
  3. Image Generation: A standard image generator (the authors tested ADM, LDM, DiT, and MAGE) is trained to generate images conditioned on these SSL representations rather than class labels.

Crucially, the authors also adapted Classifier-Free Guidance (CFG)—a staple of modern conditional models—to work with these continuous SSL representations, further boosting image quality.

Datasets

The primary benchmark for this work is ImageNet 256×256, a notoriously difficult dataset for unconditional generation due to its high diversity (1,000 classes). To prove the method's universality, the authors also evaluated it on:

  • CIFAR-10: A smaller, standard benchmark.
  • iNaturalist 2021: A massive, complex dataset containing 10,000 different species.

Key Insights and Ideas

  • SSL as a Pseudo-Label: The core "aha moment" is realizing that self-supervised representations already capture the semantic information usually provided by labels. Because these representations are continuous and high-dimensional, they actually provide richer guidance than a simple one-hot class category.
  • Divide and Conquer: Modeling a high-dimensional image distribution is hard. Modeling a low-dimensional, compact representation space is much easier. By splitting the task into "generate the idea" (RDM) and "render the idea" (Image Generator), the overall complexity is significantly reduced.
  • Generator Agnostic: RCG isn't a new generative model; it's a new paradigm. It works across different architectures, including Diffusion models and Masked Autoencoders.
  • Efficiency: Because the RDM is a simple MLP-based diffusion model operating on small vectors, it adds negligible computational overhead to the training process.
Figure 2: Unconditional Image Generation can be largely improved by our RCG framework. Regardless of the specific form of the image generator (LDM [54], ADM [18], DiT [50], or MAGE [41]), RCG massively improves the unconditional generation quality. Generation quality is mea- sured by FID on ImageNet with a 256×256 resolution. All comparisons between models without and with RCG are conducted under controlled conditions to ensure fairness. The technical details and more metrics are in Section 4.1.

Key Results

The quantitative results are striking. On ImageNet 256×256, RCG achieved an FID of 2.15, a 64% relative improvement over the previous unconditional state-of-the-art (5.91).

More impressively, this unconditional performance is now in the same tier as the best class-conditional models. In "apple-to-apple" comparisons, the authors found that models like DiT-XL/2 actually performed better when conditioned on RCG's self-supervised representations than when conditioned on actual human class labels (FID 4.89 vs 9.62).

Qualitatively, RCG demonstrates a semantically smooth latent space. By interpolating between two generated representations, the model can smoothly transition between concepts—for example, blending a "Tibetan mastiff" with "wool" to create a dog wearing a sweater.

RCG allows for smooth semantic interpolation between different image concepts.

Limitations and Future Work

While RCG represents a major leap forward, it still inherits some common limitations of current generative models. As shown in the paper's failure cases, the model can still struggle with rendering accurate text, complex regular shapes (like the spokes of a wheel), or highly realistic human anatomy in certain contexts.

The authors suggest that the next logical step is scaling: pre-training the image generator on massive, web-scale unlabeled datasets and then using the lightweight RDM to adapt the model to specific downstream tasks with minimal labeled data. This could fundamentally change how we approach specialized image generation.

Summary updated

BibTeX
@inproceedings{li2024return,
  author = {Tianhong Li and Dina Katabi and Kaiming He},
  title = {{Return of Unconditional Generation: A Self-supervised Representation Generation Method}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=clTa4JFBML},
}
Figure