Skip to main content
QUICK REVIEW

[Paper Review] Don't Play Favorites: Minority Guidance for Diffusion Models

Soobin Um, Lee, Suhyeon|arXiv (Cornell University)|Jan 29, 2023
Bayesian Methods and Mixture ModelsComputer Science3 citations
TL;DR

This paper introduces minority guidance, a novel sampling technique for diffusion models that redirects generation toward low-density, minority samples by leveraging a new metric called minority score, which quantifies feature uniqueness via perceptual reconstruction error. Experiments show it significantly improves generation of rare, novel features—especially in long-tailed datasets—over standard diffusion samplers, while maintaining controllability through classifier guidance.

ABSTRACT

We explore the problem of generating minority samples using diffusion models. The minority samples are instances that lie on low-density regions of a data manifold. Generating a sufficient number of such minority instances is important, since they often contain some unique attributes of the data. However, the conventional generation process of the diffusion models mostly yields majority samples (that lie on high-density regions of the manifold) due to their high likelihoods, making themselves ineffective and time-consuming for the minority generating task. In this work, we present a novel framework that can make the generation process of the diffusion models focus on the minority samples. We first highlight that Tweedie's denoising formula yields favorable results for majority samples. The observation motivates us to introduce a metric that describes the uniqueness of a given sample. To address the inherent preference of the diffusion models w.r.t. the majority samples, we further develop minority guidance, a sampling technique that can guide the generation process toward regions with desired likelihood levels. Experiments on benchmark real datasets demonstrate that our minority guidance can greatly improve the capability of generating high-quality minority samples over existing generative samplers. We showcase that the performance benefit of our framework persists even in demanding real-world scenarios such as medical imaging, further underscoring the practical significance of our work. Code is available at https://github.com/soobin-um/minority-guidance.

Motivation & Objective

  • To address the inherent bias in diffusion models that favors generating high-likelihood, majority samples over rare, low-density minority samples.
  • To develop a metric that quantifies the uniqueness of features in a sample, particularly those in low-density regions of the data manifold.
  • To design a sampling framework that enables controllable generation of minority samples by conditioning on desired levels of feature uniqueness.
  • To improve fairness and representational diversity in generative models by reducing underrepresentation of rare, novel attributes.

Proposed method

  • Propose a new metric, minority score, defined as the perceptual distance (e.g., LPIPS) between a clean sample and its reconstruction via Tweedie’s formula, to quantify feature uniqueness.
  • Use a pre-trained classifier to predict discretized minority scores for noisy inputs, enabling integration with existing diffusion samplers.
  • Integrate the minority score classifier into ancestral sampling via classifier guidance, allowing control over the likelihood level of generated samples.
  • Condition the sampling process on a target minority score level (e.g., high for rare features), enabling targeted generation of unique samples.
  • Leverage Tweedie’s formula for efficient one-shot reconstruction, making the minority score computation scalable and practical.
  • Apply the method to both class-conditional and unconditional settings across benchmark datasets like CIFAR-10, CelebA, and LSUN-Bedrooms.
Figure 1: Diffusion models play favorites with majority features. (Left column) Clean images from CelebA (Liu et al., 2015 ) ; (Middle column) Noise-corrupted samples made by the DDPM perturbation ( 1 ) on the clean samples in the left column; (Right column) Denoised samples using Tweedie’s formula
Figure 1: Diffusion models play favorites with majority features. (Left column) Clean images from CelebA (Liu et al., 2015 ) ; (Middle column) Noise-corrupted samples made by the DDPM perturbation ( 1 ) on the clean samples in the left column; (Right column) Denoised samples using Tweedie’s formula

Experimental results

Research questions

  • RQ1Why do diffusion models fail to generate minority samples despite their strong distributional coverage?
  • RQ2Can we quantify the uniqueness of features in a sample using a perceptual metric that reflects their rarity in the data manifold?
  • RQ3How can we modify the diffusion sampling process to favor low-likelihood, high-uniqueness samples without retraining the model?
  • RQ4To what extent can minority guidance improve the generation of rare, novel features compared to standard diffusion samplers?
  • RQ5What is the trade-off between sample uniqueness and fidelity when generating minority samples?

Key findings

  • Minority guidance significantly improves the generation of low-density, minority samples, as evidenced by higher values of outlier detection metrics like Local Outlier Factor (LOF) and Average k-Nearest Neighbor (k-NN) density.
  • On LSUN-Bedrooms, minority guidance conditioned on high minority scores achieved a LOF density score of 0.5935, outperforming the standard DDPM baseline of 0.7686.
  • On CIFAR-10, minority guidance focused on rare features achieved a precision of 0.7581, compared to 0.8795 for the standard DDPM, indicating a trade-off between uniqueness and fidelity.
  • The method successfully generates novel attributes—such as additional lamps or unique objects—often missed by standard samplers, especially in monotonous or common scenes.
  • Classifier guidance scale $w$ and target minority score $\tilde{l}$ act as effective knobs: increasing $\tilde{l}$ shifts generation toward low-density regions, while increasing $w$ favors high-likelihood, majority features.
  • Minority score correlates strongly with other outlier measures, validating its effectiveness as a proxy for identifying rare, novel features in real datasets.
Figure 2: Geometric interpretation of the optimal score model ${\boldsymbol{s}}_{\boldsymbol{\theta}}^{*}({\boldsymbol{x}}_{t},t)=\mathbb{E}_{q({\boldsymbol{x}}_{0}|{\boldsymbol{x}}_{t})}\left[\nabla_{{\boldsymbol{x}}_{t}}\log{q_{\alpha_{t}}({\boldsymbol{x}}_{t}|{\boldsymbol{x}}_{0})}\right]$ derive
Figure 2: Geometric interpretation of the optimal score model ${\boldsymbol{s}}_{\boldsymbol{\theta}}^{*}({\boldsymbol{x}}_{t},t)=\mathbb{E}_{q({\boldsymbol{x}}_{0}|{\boldsymbol{x}}_{t})}\left[\nabla_{{\boldsymbol{x}}_{t}}\log{q_{\alpha_{t}}({\boldsymbol{x}}_{t}|{\boldsymbol{x}}_{0})}\right]$ derive

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.