PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
October 2, 20251 citationsOpen Access

Can Contrastive Learning Improve Class-Imbalanced Diffusion Model?

View Full Paper
FCFang ChenAVAmalia VillaGLGongbo Liang

Key Points

  • The novel use of contrastive learning increases diversity in tail classes without compromising head class images.
  • Employing an InfoNCE loss significantly enhances the dissimilarity among synthetic images, particularly for underrepresented classes.
  • The addition of an MSE loss offers greater robustness to class conditions, facilitating knowledge transfer from head to tail classes.
  • Performance evaluations across several datasets showcase significant improvements over standard diffusion model methods.

Abstract

Training data for class-conditional image synthesis often exhibit a long-tailed distribution with limited images for tail classes. Such an imbalance causes mode collapse and reduces the diversity of synthesized images for tail classes. For class-conditional diffusion models trained on imbalanced data, we aim to improve the diversity of tail class images without compromising the fidelity and diversity of head class images. We achieve this by introducing two deceptively simple but highly effective contrastive loss functions. Firstly, we employ an unsupervised InfoNCE loss utilizing negative samples to increase the distance/dissimilarity among synthetic images, particularly for tail classes. To further enhance the diversity of tail classes, our second loss is an MSE loss that contrasts class-conditional generation with unconditional generation at large timesteps. This second loss makes the denoising process insensitive to class conditions for the initial steps, which enriches tail classes through knowledge sharing from head classes. Conditional-unconditional alignment has been shown to enhance the performance of long-tailed GAN. We are the first to adapt such alignment to diffusion models. We successfully leveraged contrastive learning for class-imbalanced diffusion models. Our contrastive learning framework is easy to implement and outperforms standard DDPM and alternative methods for class-imbalanced diffusion models across various datasets, including CIFAR10/100-LT, PlacesLT, TinyImageNetLT, and ImageNetLT.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Chen et al. (2025) studied this question.

synapsesocial.com/papers/68de5d9c83cbc991d0a204b6https://doi.org/10.48550/arxiv.2507.09052
Ask AI
Helpful
Bookmark
Share
View Full Paper