Abstract
Thanks to the recent development of deep generative models, it is becoming possible to generate high-quality images with both fidelity and diversity. However, the training of such generative models requires a large dataset. To reduce the amount of data required, we propose a new method for transferring prior knowledge of the pre-trained generator, which is trained with a large dataset, to a small dataset in a different domain. Using such prior knowledge, the model can generate images leveraging some common sense that cannot be acquired from a small dataset. In this work, we propose a novel method focusing on the parameters for batch statistics, scale and shift, of the hidden layers in the generator. By training only these parameters in a supervised manner, we achieved stable training of the generator, and our method can generate higher quality images compared to previous methods without collapsing, even when the dataset is small (~100). Our results show that the diversity of the filters acquired in the pre-trained generator is important for the performance on the target domain. Our method makes it possible to add a new class or domain to a pre-trained generator without disturbing the performance on the original domain.
Introduction
State-of-the-art Generative Adversarial Networks (GANs), such as BigGAN or SNGAN, are notoriously data-hungry, often requiring tens of thousands of images to achieve high fidelity. When trained on small datasets (e.g., ~100 images), these models typically suffer from overfitting, where the model memorizes training samples, or mode collapse, where it fails to learn the underlying distribution entirely. While transfer learning is standard in classification, standard fine-tuning in generation often "destroys" the diverse feature filters learned during pre-training. This paper introduces a method to adapt a pre-trained generator to a tiny dataset—as few as 25 images—by leveraging the rich visual "common sense" of a large-scale model.
Methodology: Batch Statistics Adaptation
The core innovation of this work is Batch Statistics Adaptation. Instead of updating the millions of weights in the convolutional kernels, the kernels are frozen entirely. Training is restricted to the scale ($\gamma$) and shift ($\beta$) parameters found in the generator's normalization layers.
This approach operates on a Filter Selection Hypothesis: a generator pre-trained on a massive dataset like ImageNet already contains a vast "vocabulary" of filters (edges, textures, shapes). By adjusting only $\gamma$ and $\beta$, the model essentially "selects" which pre-existing filters are useful for the new domain. To ensure stability, the authors replace unstable adversarial training with a supervised approach, optimizing a corresponding latent vector ($z$) and the global $\gamma/\beta$ parameters for every image in the small training set using a combination of L1 and Perceptual loss.
Key Insights: The Role of Statistics
A critical discovery in this research involves the semantic meaning of batch statistics. The authors performed a t-SNE analysis on the $\gamma$ and $\beta$ parameters of a standard SNGAN, revealing that semantically similar ImageNet classes (such as different dog breeds) naturally cluster together in this parameter space.
This confirms that these statistics are the primary "knobs" the model uses to switch between visual domains. By freezing the convolutional kernels, the model is prevented from "forgetting" how to draw coherent structures, forcing it to use existing high-quality filters to reconstruct new target images. This prevents the structural "melting" often seen in small-data GANs.
Key Results
- Stability and Quality: Unlike standard transfer learning which often collapses on tiny datasets, this method remained stable across all tests. On a dataset of just 25 images, the proposed method achieved significantly lower Frechet Inception Distance (FID) scores (84.0) compared to standard Transfer GAN (102.1) for anime faces.
- Latent Space Structure: Despite the sparse data, the model inherits a well-structured latent space from pre-training, allowing for smooth interpolation between generated images (e.g., changing hair color or orientation).
- Domain Morphing: The method enables "Consecutive Domain Morphing," where a generated image can be smoothly transitioned from one domain (e.g., a cheeseburger from ImageNet) to another (e.g., a human face from FFHQ) by interpolating the learned statistics.
Limitations and Future Work
While highly effective for extremely small datasets, the performance of this method plateaus as the dataset size increases (e.g., >500 images). In larger data regimes, adversarial methods that update all parameters eventually outperform this approach because they can learn domain-specific textures not present in the original pre-trained weights. Additionally, the reliance on supervised losses can sometimes result in slightly blurrier images compared to pure adversarial training. Future work may involve combining statistical adaptation with adversarial training to achieve both the stability of filter selection and the sharpness of GANs.
Summary updated