Class-frequency Guided Noise Schedule for Diffusion Models

Jiequan Cui, Beier Zhu, Qingshan Xu, Xiaojuan Qi, Bei Yu, Hanwang ZhangarXiv 2026

TL;DR

Diffusion models trained on long-tailed datasets generate poor-quality images for rare classes because standard uniform noise schedules leave large, under-sampled low-density regions. This paper introduces the Class-frequency Guided (CFRG) noise schedule, which dynamically applies larger noise scales to low-frequency classes, significantly boosting generation quality and diversity for rare categories without adding computational overhead.

What Problem Does This Paper Address?

Real-world data is rarely perfectly balanced; it usually follows a long-tailed distribution where a few common classes have abundant samples and many rare classes have very few. When standard score-based generative models (like diffusion models) are trained on such imbalanced data, they struggle significantly with rare categories.

Because rare classes have limited samples, they exhibit smaller intra-class variance, leaving massive "low-density regions" in the data distribution where the probability density is near zero. In these empty spaces, the model cannot accurately estimate the score function (the gradient of the log probability density function). To make matters worse, high-frequency classes dominate the score space, effectively pulling the generation process of rare classes toward more common ones. Standard multi-scale noise schedules treat all classes equally, failing to resolve this fundamental imbalance.

Fig. 1.1: Sample density visualization. (a) Clean sample density. (b) Density of noisy samples perturbed by the equal scale noise for all classes. (c) Density of noisy samples perturbed by our class- frequency guided (CFRG) noise schedule. Low-frequency classes are more likely to suffer from inaccurate score estimation because of their large low-density regions. (d) The quality of generated samples decreases as the class frequency decreases.

Methods

The authors propose the Class-frequency Guided (CFRG) noise schedule. The core intuition is simple: the noise scale should be inversely correlated with class frequency.

Instead of using a fixed maximum noise scale ($\sigma_T$) for all categories, CFRG assigns a larger $\sigma_T$ to low-frequency classes. This extra noise artificially expands the high-density footprint of rare classes, filling in the problematic low-density gaps during the forward diffusion process and allowing for more accurate score estimation during reverse sampling.

The authors design a class-wise noise schedule that linearly interpolates between a minimum and maximum noise boundary based on:

  1. Raw class frequency statistics.
  2. The "effective number of samples," which uses a hyperparameter $\gamma$ to account for sample redundancies and similarities.

CFRG is entirely plug-and-play. It can be directly integrated into standard Denoising Diffusion Probabilistic Models (DDPM), Class-Balancing Diffusion Models (CBDM), Flow Matching, or Stable Diffusion frameworks.

Datasets

The method was evaluated on two widely used long-tailed image benchmarks:

  • CIFAR-100-LT: A long-tailed variant of the CIFAR-100 dataset, evaluated with imbalance factors (the ratio of the most frequent to the least frequent class) of 100 and 200.
  • ImageNet-LT: A long-tailed version of ImageNet sampled via a Pareto distribution. It contains 115.8K images across 1,000 categories, with class sizes ranging from a maximum of 1,280 images down to just 5 images (an imbalance factor of 256).

Key Insights and Ideas

  • Noise as a Smoother: Counterintuitively, adding more noise to rare classes helps them. It acts as a regularizer that bridges the gaps between isolated data points, turning a sparse distribution into a continuous space that the neural network can actually learn to navigate.
  • Mitigating Score Space Dominance: By inflating the noise variance of rare classes, the model prevents frequent classes from completely overwhelming the gradient space, leading to a much more balanced score distribution.
  • Enabling Knowledge Transfer: Rather than training rare classes in isolation, a frequency-aware noise schedule allows them to effectively share representation space and "borrow" structural knowledge (like edges, textures, and common shapes) from data-rich classes.

Key Results

  • Image Generation Quality: On CIFAR-100-LT (imbalance factor 100), CFRG improved the baseline DDPM Fréchet Inception Distance (FID) from 7.38 to 6.62. When combined with advanced techniques like CBDM and Adaptive Data Augmentation (ADA), it achieved a state-of-the-art FID of 5.14. On ImageNet-LT (32×32), it reduced the overall FID from 3.09 to 2.62.
  • Downstream Classification Boost: To test if the generated images were truly high quality, the authors used them to augment a ResNet-32 classifier trained on CIFAR-100-LT. Images generated with CFRG boosted the classifier's top-1 accuracy by 9.22% over the baseline.
  • Broad Generalizability: The authors successfully extended CFRG to Flow Matching (improving FID from 11.05 to 10.60) and Stable Diffusion text-to-image generation (improving FID by 2.29), proving that frequency statistics are universally vital for noise schedule design.

Limitations and Future Work

  • Hyperparameter Sensitivity: The choice of the maximum noise scale ($\sigma_T^{max}$) and the effective sample factor ($\gamma$) requires careful tuning. If $\sigma_T^{max}$ is set too high, it can over-corrupt the data, making the reverse diffusion process too difficult to optimize and degrading overall performance.
  • Focus on Discrete Classes: The current formulation relies on discrete class frequencies. Extending this approach to continuous long-tailed distributions (such as regression tasks) or open-vocabulary text-to-image models with complex prompts remains an open challenge.

Summary updated

BibTeX
@misc{cui2026class,
  author = {Jiequan Cui and Beier Zhu and Qingshan Xu and Xiaojuan Qi and Bei Yu and Hanwang Zhang},
  title = {{Class-frequency Guided Noise Schedule for Diffusion Models}},
  year = {2026},
  eprint = {2606.27696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.27696},
}
Figure