Taming the Tail in Class-Conditional GANs: Knowledge Sharing via Unconditional Training at Lower Resolutions

Saeed Khorram, Mingqi Jiang, Mohamad Shahbazi, Mohamad H. Danesh, Fuxin Li · DOI

Introduction

Generative Adversarial Networks (GANs) have achieved remarkable success in synthesizing high-fidelity images. However, their performance often degrades significantly when trained on imbalanced, long-tailed datasets. In such scenarios, a few "head" classes possess abundant samples, while many "tail" classes have very few. Standard class-conditional GANs (cGANs) typically overfit these tail classes, leading to mode collapse where the model produces only a limited set of low-quality variations. This paper introduces UTLO (Unconditional Training at LOwer resolution), a simple architectural modification designed to mitigate these issues by facilitating structural knowledge sharing across classes.

Methodology: Unconditional Training at Lower Resolution (UTLO)

The core insight of UTLO is that at low spatial resolutions, images across different classes often share common structural features, such as global layout, lighting, and background styles. By exploiting this commonality, the model can learn a robust "structural vocabulary" from the entire dataset, which is dominated by head classes, and transfer this knowledge to the data-poor tail classes.

Figure 5: Comparison of generated samples across different flower species, demonstrating the model's ability to handle diverse classes within a long-tailed distribution.

The UTLO framework modifies the standard cGAN architecture in three key ways:

  1. Generator Decomposition: The generator is split into a low-resolution "stem" and a high-resolution "head." The stem layers are trained unconditionally, receiving only a latent code without class information. This forces the early layers to learn class-agnostic structural features from all available data.
  2. Delayed Conditioning: Class labels are injected only at higher-resolution layers, which are then responsible for synthesizing fine-grained, class-specific details.
  3. Dual-Path Discriminator: The discriminator is adapted to evaluate both the final high-resolution conditional output and the intermediate low-resolution unconditional representation.

Experimental Setup

The authors evaluated UTLO across six diverse long-tailed benchmarks to demonstrate its broad applicability:

  • CIFAR10-LT & CIFAR100-LT: Standard benchmarks with artificial exponential decay.
  • LSUN5-LT: A scene dataset subset with an extreme 1000:1 imbalance ratio.
  • Flowers-LT: Based on the Oxford Flowers dataset, featuring classes with as few as two training images.
  • iNaturalist2019: A large-scale, naturally imbalanced dataset of biological species.
  • AnimalFaces-LT: A 20-category animal dataset used to test few-shot generation capabilities.

Results and Discussion

UTLO achieved state-of-the-art performance across all tested architectures, including StyleGAN2-ADA and Projected GAN. Quantitatively, on the AnimalFaces-LT dataset, UTLO improved the FID from 51.4 to 26.2 and the Few-Shot FID (FID-FS) from 87.1 to 48.4. The use of FID-FS and KID-FS is crucial here, as standard metrics can be dominated by head-class performance, masking failures on the tail.

Qualitatively, the improvements are even more evident. While baseline models often produce blurry or repetitive outputs for rare classes, UTLO generates images with significant diversity in poses, backgrounds, and lighting.

Figure 1: High-quality, diverse samples of a tail flower class generated by UTLO, showing varied lighting and petal textures despite limited training data.

Beyond image quality, UTLO enhances training stability. It proves more resistant to "spectral norm explosion," a common cause of GAN training failure when data is scarce. This suggests that the unconditional structural sharing acts as a form of regularization.

Conclusion and Future Work

UTLO demonstrates that "less is more" regarding conditioning in the early stages of a generative network. By blocking class information at low resolutions, the model effectively shares structural knowledge from common to rare classes, significantly improving diversity and fidelity in the tail of the distribution.

While highly effective, UTLO introduces a new hyperparameter: the transition resolution for conditioning. Future work could explore adaptive methods for determining this transition. Additionally, the principle of unconditional coarse training might be applicable to other generative paradigms, such as Diffusion Models, to address similar challenges in long-tailed data synthesis.

Summary updated

BibTeX
@inproceedings{khorram2024taming,
  author = {Saeed Khorram and Mingqi Jiang and Mohamad Shahbazi and Mohamad H. Danesh and Fuxin Li},
  title = {{Taming the Tail in Class-Conditional GANs: Knowledge Sharing via Unconditional Training at Lower Resolutions}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.00724},
}
Figure