Don't Play Favorites: Minority Guidance for Diffusion Models

Soobin Um, Suhyeon Lee, Jong Chul Ye

Introduction

Diffusion models have established themselves as state-of-the-art tools for image generation, incredibly adept at mimicking complex data distributions. However, they suffer from a significant limitation known as "majority bias"—they inherently prefer generating common, high-likelihood patterns over rare, unique ones. To address this, researchers have introduced Minority Guidance, a novel, label-agnostic framework designed to identify rare data features and steer the generation process toward these low-density regions, significantly improving the quality and diversity of rare sample generation.

The Challenge of Majority Bias

Most real-world datasets exhibit a "long-tailed" distribution, meaning a few types of data are highly prevalent (the majority) while many others appear infrequently (the minority). Because diffusion models are trained to respect the underlying data distribution, they naturally "play favorites," predominantly producing high-likelihood majority samples.

Generating minority samples is critical across several domains:

  1. Medical Imaging: Rare diseases and unique pathologies are, by definition, minority samples. Generating more of them can help train robust diagnostic tools.
  2. Fairness: Minority samples often represent underrepresented demographic groups; failing to generate them accurately perpetuates systemic bias.
  3. Creativity: Unique, "out-of-the-box" features are typically found in the low-probability regions of the data manifold.

Historically, forcing a diffusion model to generate rare samples required generating thousands of images and manually curating them—a computationally expensive and time-consuming bottleneck.

Methodology: Minority Score and Guidance

The authors propose a two-step framework to overcome this bias without relying on manual labels.

1. The Minority Score

The researchers discovered that Tweedie’s denoising formula—a standard mathematical tool in diffusion models—is inherently biased toward the majority. When reconstructing a "rare" image from noise, the denoiser struggles significantly more than it does for a "common" image. The authors ingeniously turned this "failure" into a metric. The Minority Score is defined as the discrepancy (measured via LPIPS or MSE) between an original sample and its reconstruction via the denoiser. A higher discrepancy indicates higher uniqueness.

2. Minority Guidance

To actively generate these unique samples, the framework employs a technique akin to classifier guidance.

Conceptual diagram of Minority Guidance

The authors train a small, separate "minority classifier" that evaluates noisy images and predicts which "uniqueness bin" (ranging from common to rarest) they belong to. During the generation process, the model uses the gradient of this classifier to nudge the denoising trajectory away from the high-density majority manifold and toward the desired level of rarity. By adjusting the target minority class and the guidance scale, users gain precise control over the uniqueness of the generated output.

Key Results and Applications

The researchers evaluated their method across diverse benchmarks, including unconditional datasets (CelebA, CIFAR-10, LSUN-Bedrooms), conditional datasets (ImageNet), long-tailed datasets (CIFAR-10-LT), and an in-house brain MRI dataset.

Quantitative Superiority: On the CelebA dataset, the proposed method achieved a Clean FID (cFID) of 26.98, vastly outperforming the standard ADM sampler (75.05) and previous minority-focused baselines (27.97).

Examples of minority samples

Qualitative Diversity: The guidance mechanism successfully produced highly unique images that standard models typically ignore. For example, while standard models produced generic rooms in LSUN-Bedrooms, Minority Guidance generated rooms with unique architectural features. In facial generation tasks, it successfully produced rare attributes like extreme expressions, unique headgear, and diverse accessories.

Medical Significance: In the brain MRI experiments, the model successfully generated high-quality images of severe cerebral atrophy. These features are rarely captured by standard generative models but are vital for advancing medical research and diagnostic training.

Limitations and Future Work

While highly effective, the framework has a few limitations:

  • Computational Overhead: The method requires training a separate minority classifier. Although smaller than the main diffusion model, it adds computational cost, especially for massive datasets.
  • Classifier Dependency: The quality of the guidance is inherently tied to the robustness of the minority classifier. If the classifier's training set is insufficient, the guidance becomes less effective.
  • Ethical Considerations: The authors note a dual-use concern. While this tool promotes fairness by surfacing underrepresented data, it could theoretically be used maliciously to suppress minority features by intentionally guiding the model toward the lowest possible minority scores.

Future work will likely explore ways to implement this guidance without needing a separately trained classifier and expanding the technique to other modalities like text and audio.

Summary updated

BibTeX
@inproceedings{um2024don,
  author = {Soobin Um and Suhyeon Lee 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