Don't Play Favorites: Minority Guidance for Diffusion Models

Soobin Um, Jong Chul Ye · DOI

Introduction

Large-scale datasets typically follow a "long-tail" distribution, where a few majority classes dominate and numerous unique attributes appear only rarely. Diffusion models, while proficient at capturing the general data manifold, tend to be "majority-oriented," naturally gravitating toward high-probability regions. This bias makes generating rare, low-likelihood samples difficult, often requiring extensive manual curation. This paper introduces Minority Guidance, a framework to steer diffusion models toward these unique instances without requiring explicit labels.

Examples of minority samples from the CelebA dataset, such as individuals wearing hats or goggles.

Methodology: The Minority Score and Guidance

The core of this approach lies in identifying rarity through the model's own biases.

The Minority Score

The authors utilize Tweedie’s denoising formula to estimate clean images from noisy ones. They observed that diffusion models reconstruct common samples accurately but struggle with rare ones, often "hallucinating" majority features onto minority inputs. The Minority Score is defined as the discrepancy between a clean sample and its Tweedie-reconstructed version. A high discrepancy indicates a rare sample.

Minority Guidance

To control generation, these scores are discretized into "minority classes." A noise-conditioned classifier is trained to predict these rarity buckets. During sampling, Classifier Guidance uses the gradient of this classifier to nudge the diffusion process toward high-rarity regions of the data manifold.

Biased denoising and geometric intuition for Minority Guidance.

Experimental Evaluation

The framework was tested across various benchmarks, including CelebA, ImageNet, and a specialized Brain MRI dataset.

Key Results

  • Improved Rarity: On CelebA, the method achieved a Clean FID (cFID) of 26.98, vastly outperforming standard sampling (75.05) and previous state-of-the-art minority samplers (27.97).
  • Outlier Detection: Metrics like Average k-Nearest Neighbor (AvgkNN) and Local Outlier Factor (LOF) confirmed that generated samples successfully reached low-density regions.
  • Medical Application: In Brain MRI scans, Minority Guidance effectively generated realistic instances of severe cerebral atrophy, a task where standard models typically produce "average" healthy-looking brains.

Discussion and Limitations

Minority Guidance offers a label-agnostic way to amplify rare features by treating the model's inherent bias as a feature rather than a bug. However, it introduces additional computational overhead due to the need for a specialized minority classifier. Future research may focus on eliminating the separate classifier or improving training efficiency for data-scarce scenarios.

Summary updated

BibTeX
@inproceedings{um2024don,
  author = {Soobin Um and Jong Chul Ye},
  title = {{Don't Play Favorites: Minority Guidance for Diffusion Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=3NmO9lY4Jn},
}
Figure