Few-Shot Adaptation of Generative Adversarial Networks

Esther Robb, Wen-Sheng Chu, Abhishek Kumar, Jia-Bin Huang

Abstract

Generative Adversarial Networks (GANs) typically require massive datasets to produce high-quality, diverse imagery. In the low-data regime, these models often suffer from memorization and training instability. This paper presents FSGAN, a novel few-shot adaptation method that leverages Singular Value Decomposition (SVD) to adapt pre-trained GANs using as few as 5 to 100 images. By freezing the structural singular vectors and only optimizing the singular values, FSGAN achieves superior visual fidelity and diversity while drastically reducing the number of trainable parameters.

Introduction

Generative Adversarial Networks (GANs) are the state-of-the-art for realistic image synthesis but are notoriously data-hungry. When training on small datasets, GANs frequently encounter two failure modes: memorization, where the model replicates training samples rather than learning a distribution, and instability, leading to visual artifacts or mode collapse.

Existing adaptation techniques, such as freezing layers or updating specific batch normalization statistics, often struggle when the target domain differs significantly from the source (e.g., transitioning from human faces to artistic portraits). FSGAN addresses these challenges by identifying and updating only the most semantically relevant components of the network's weights.

Methodology: Singular Value Adaptation

The core innovation of FSGAN lies in its use of Singular Value Decomposition (SVD) to perform selective weight adaptation. Any weight matrix $W$ in the neural network can be decomposed into $U \Sigma V^T$, where $U$ and $V$ represent the structural basis (the "directions" of features) and $\Sigma$ represents the singular values (the "strength" or importance of those features).

The FSGAN weight adaptation scheme using Singular Value Decomposition (SVD).

FSGAN freezes the singular vectors $U$ and $V$ from a pre-trained model and only trains the singular values $\Sigma$. This approach is highly parameter-efficient; for a StyleGAN2 model, it reduces trainable parameters from 59 million to just 16 thousand. By only adjusting these "knobs," the model retains the robust structural knowledge of the source domain while adapting to the style and traits of the target domain.

Key Insights and Results

The FID Trap

A significant contribution of this research is the critique of the Fréchet Inception Distance (FID) metric in few-shot settings. The authors demonstrate that FID can actually improve (decrease) as a model overfits and memorizes the training set. Consequently, a lower FID score does not necessarily indicate a better generative model in low-data regimes, necessitating the use of alternative metrics like the Face Quality Index (FQI) and Sharpness.

Semantic Control and Diversity

The researchers found that singular values in a pre-trained GAN correspond to interpretable traits such as pose, lighting, and skin tone. By adapting only these values, the model maintains a smooth latent space, allowing for high-quality interpolation between generated samples.

Visualizing the semantic impact of perturbing individual singular values (σ₀, σ₁, σ₂) in the adapted model.

Performance Across Domains

FSGAN was tested on diverse datasets, including historical portraits, anime characters (e.g., "Rem"), and Kannada characters. In side-by-side comparisons with baselines like TransferGAN and FreezeD, FSGAN consistently produced sharper images with fewer artifacts. For instance, on the CelebA 3719 dataset, FSGAN achieved a Sharpness score of 0.68, significantly outperforming competitors who scored between 0.56 and 0.61.

Discussion and Limitations

While FSGAN is remarkably stable even with as few as $N=5$ images, it remains dependent on the "breadth" of the source model. If the pre-trained generator has not learned a specific structural prior, adjusting singular values alone may not be sufficient to recover it in the target domain. Additionally, finding the optimal number of training iterations remains an empirical challenge, as over-training can still lead to quality degradation. Future work will focus on developing automated metrics that better penalize memorization and reward diversity in few-shot synthesis.

Summary updated

BibTeX
@misc{robb2020few,
  author = {Esther Robb and Wen-Sheng Chu and Abhishek Kumar and Jia-Bin Huang},
  title = {{Few-Shot Adaptation of Generative Adversarial Networks}},
  year = {2020},
  eprint = {2010.11943},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.11943},
}
Figure