TL;DR
Diffusion models often fail to generate high-quality images for rare "minority" classes because majority classes monopolize the model's representational capacity. This paper introduces Capacity Manipulation (CM), a technique that uses low-rank decomposition to explicitly reserve "brain space" for minority expertise, significantly improving generation quality for rare data with zero additional cost during inference.
What Problem Does This Paper Address?
While diffusion models are the current gold standard for image synthesis, they have a "rich get richer" problem. In real-world datasets, some classes (majorities) are far more common than others (minorities). When trained on this imbalanced data, diffusion models produce stunning images for common classes but struggle with rare ones, often resulting in blurry, distorted, or uncreative outputs.
Existing fixes usually focus on loss weighting—essentially telling the model to "pay more attention" to rare samples. However, the authors of this paper argue that the problem is structural: the majority classes physically dominate the model's parameters. They demonstrate that minority class knowledge is stored in "fragile," low-magnitude weights that are easily lost during pruning, while majority knowledge is robustly embedded throughout the network.
Methods: Capacity Manipulation (CM)
The authors propose Capacity Manipulation (CM), which shifts the focus from how much the model learns from a sample to where it stores that knowledge.
- Capacity Reservation: They decompose the model's weight matrices ($W$) into two parts: $W = W^g + BA$.
- $W^g$ is the "general" branch intended for majority and shared knowledge.
- $BA$ is a low-rank component (similar to LoRA) reserved specifically for "minority expertise."
- Capacity Manipulation Loss ($L_{CM}$): To ensure the branches actually learn what they are supposed to, they introduce a specialized loss function:
- Consistency Loss: Forces the general branch ($W^g$) to produce outputs similar to the full model for majority classes.
- Diversity Loss: Encourages the full model to diverge from the general branch when handling minority classes. This "pushes" the unique features of rare classes into the reserved $BA$ parameters.
- Zero-Overhead Inference: Because the branches are additive, they can be mathematically merged back into a single weight matrix after training. This means the final model has the exact same architecture and speed as a standard diffusion model.
Key Insights and Ideas
- The "Fragility" Diagnostic: One of the most interesting "aha" moments was the pruning experiment. The authors found that zeroing out the smallest 10% of weights barely touched the performance of majority classes but caused the loss for minority classes to skyrocket. This proved that standard training shoves minority knowledge into the "marginal" capacity of the network.
- Gradient Dominance: The paper provides a theoretical proof showing that in imbalanced settings, the update direction of the model is almost entirely dictated by majority class gradients. Without intervention, the model literally cannot "see" the unique directions needed for minority classes.
- Orthogonality: CM is not a competitor to existing loss-based methods (like CBDM or OC); it is "orthogonal." In testing, combining CM with these existing methods yielded the best overall results, suggesting that structural capacity and loss design are two different levers for the same problem.
Key Results
The researchers evaluated CM across a wide range of imbalanced scenarios, including standard benchmarks (CIFAR-10/100, CelebA-HQ), large-scale datasets (ImageNet-LT, iNaturalist), and fine-tuning tasks (ArtBench-10).
- Significant FID Gains: On Imbalanced CIFAR-100 (IR=100), CM achieved an FID of 7.519, a massive jump over the baseline DDPM (10.163) and the previous state-of-the-art (8.309).
- Better Faces: In the CelebA-HQ (Female-to-Male 100:1) test, the minority class (Male) generation quality improved significantly, dropping the per-class FID from 16.425 to 12.788.
- Scalability: Unlike many imbalanced learning tricks that fail when the number of classes reaches the thousands, CM remained robust on iNaturalist and ImageNet-LT.
- Human Preference: A user study on ArtBench-10 showed that humans preferred CM-generated images over baseline images in 70.56% of trials, citing higher realism and stylistic fidelity.
Limitations and Future Work
- Absolute Scarcity: The authors admit that CM has limits. If a class has "absolute sample scarcity" (e.g., only 1 or 2 images), even reserved capacity isn't enough to learn a meaningful representation. It is not a substitute for few-shot learning techniques.
- Hyperparameter Sensitivity: The method introduces new hyperparameters, such as the rank ($r$) of the reserved component and the weight ($\lambda$) of the CM loss, which may require tuning for different architectures.
- Beyond Images: While tested extensively on 2D images, the authors suggest that exploring capacity manipulation for video, 3D data, and other generative modalities is a promising next step.
Summary updated