NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion Models and Semi-Supervised Learners Benefit Mutually with Few Labels

Zebin You, Yong Zhong, Fan Bao, Jiacheng Sun, Chongxuan Li, Jun Zhu

TL;DR

Dual Pseudo Training (DPT) is a three-stage framework that allows diffusion models and semi-supervised classifiers to boost each other’s performance using as little as one label per class. By using a classifier to generate pseudo-labels for a diffusion model, and then using that diffusion model to generate synthetic training data for the classifier, DPT achieves state-of-the-art results in both image generation and classification in extreme low-data regimes.

High-fidelity images generated by DPT using less than 0.1% of labels.

What Problem Does This Paper Address?

While diffusion models have revolutionized image generation, they are notoriously data-hungry—specifically for labeled data. Without labels, these models struggle to generate specific categories of images (conditional generation) or achieve high fidelity. Previous attempts to fix this used unsupervised clustering, but these methods often fail to align with human semantics and don't scale well to high-resolution datasets like ImageNet.

On the flip side, semi-supervised classification has recently been dominated by discriminative and self-supervised methods. The older idea of "generative augmentation"—using a generative model to create more training data for a classifier—fell out of favor because earlier models (like GANs) couldn't produce high-quality enough samples to actually help. The authors ask: Can modern diffusion models and semi-supervised learners form a "virtuous cycle" to solve both problems at once?

Methods

The authors propose Dual Pseudo Training (DPT), a simple but powerful three-stage pipeline:

  1. Stage 1: Train the Teacher (Classifier). A semi-supervised classifier (like MSN or Semi-ViT) is trained on a tiny set of labeled data and a large set of unlabeled data. This classifier is then used to predict pseudo-labels for the entire unlabeled dataset.
  2. Stage 2: Train the Student (Diffusion Model). A conditional diffusion model (using the U-ViT backbone) is trained on all real images. Crucially, it uses the pseudo-labels from Stage 1 as its conditioning signal. This allows the model to learn to generate high-quality pseudo-images for any given class.
  3. Stage 3: Refine the Teacher. Finally, the classifier is retrained or fine-tuned using a combination of the original real data and the synthetic pseudo-images generated in Stage 2.

A key advantage of DPT is its "plug-and-play" nature; it treats the classifier and the diffusion model as black boxes, requiring no architectural changes to either.

Datasets

The researchers evaluated DPT on two primary benchmarks:

  • ImageNet: Tested at resolutions of 128×128, 256×256, and 512×512. They focused on extreme "low-shot" settings: 1, 2, and 5 labels per class (where 1 label per class represents less than 0.1% of the total data).
  • CIFAR-10: A smaller dataset used to verify the model's performance on lower-resolution tasks.

Key Insights and Ideas

  • Mutualism is Key: The classifier provides the "semantic map" (what the image is), while the diffusion model provides the "visual engine" (how the image looks). Even if the pseudo-labels are slightly noisy, the diffusion model is robust enough to learn the underlying distribution.
  • Diffusion Models are Label-Efficient: One of the most surprising findings is that diffusion models can generate high-fidelity, semantically accurate images with less than 0.1% of ground-truth labels.
  • The Return of Generative Augmentation: DPT proves that generative augmentation is viable again. Because diffusion models can now produce images that are nearly indistinguishable from real ones, these synthetic samples provide a meaningful "learning signal" that helps classifiers generalize better than they could with real data alone.
  • Scalability: Unlike previous semi-supervised generative methods that were limited to low resolutions (below 128x128), DPT scales effectively to 512x512 ImageNet samples.

Key Results

DPT set new records for semi-supervised tasks:

DPT achieves state-of-the-art FID scores and Top-1 Accuracy compared to baselines.
  • Generation (ImageNet 256×256): With just one label per class, DPT achieved a Fréchet Inception Distance (FID) of 3.08. For context, this outperforms many fully supervised models (which use 100% of labels) like ADM and LDM.
  • Classification (ImageNet): DPT significantly boosted top-1 accuracy across the board.
  • 1 label/class: 59.0% (+2.8% improvement over baselines)
    • 2 labels/class: 69.5% (+3.0% improvement)
    • 5 labels/class: 74.4% (+2.0% improvement)
  • CIFAR-10: Achieved a second-best error rate of 4.68% using only four labels per class.

Limitations and Future Work

  • Pseudo-Label Quality: The performance of the diffusion model is still tethered to the quality of the initial classifier. If the Stage 1 classifier is very poor, the "virtuous cycle" might become a "vicious" one.
  • Filtering Noise: The authors note that they currently use all generated pseudo-images. Future work could involve using models like CLIP to filter out "noisy" synthetic images that don't match their labels, potentially boosting performance further.
  • Computational Cost: Training both a large-scale ViT classifier and a high-resolution diffusion model is computationally expensive, which may limit accessibility for researchers with fewer resources.
  • Social Impact: As with all high-fidelity generative models, the authors acknowledge the risk of "DeepFakes" and emphasize the need for automatic detection methods.

Summary updated

BibTeX
@inproceedings{you2023diffusion,
  author = {Zebin You and Yong Zhong and Fan Bao and Jiacheng Sun and Chongxuan Li and Jun Zhu},
  title = {{Diffusion Models and Semi-Supervised Learners Benefit Mutually with Few Labels}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=LVHEcVgEGm},
}
Figure