Abstract
Recent advances in generative adversarial networks (GANs) have shown remarkable progress in generating high-quality images. However, this gain in performance depends on the availability of a large amount of training data. In limited data regimes, training typically diverges, and therefore the generated samples are of low quality and lack diversity. Previous works have addressed training in low data setting by leveraging transfer learning and data augmentation techniques. We propose a novel transfer learning method for GANs in the limited data domain by leveraging informative data prior derived from self-supervised/supervised pre-trained networks trained on a diverse source domain. We perform experiments on several standard vision datasets using various GAN architectures (BigGAN, SNGAN, StyleGAN2) to demonstrate that the proposed method effectively transfers knowledge to domains with few target images, outperforming existing state-of-the-art techniques in terms of image quality and diversity. We also show the utility of data instance prior in large-scale unconditional image generation.
Introduction
Generative Adversarial Networks (GANs) are the gold standard for high-fidelity image synthesis, but they suffer from a significant "data hunger" problem. When trained on small datasets (e.g., fewer than 1,000 images), GANs typically encounter two fatal issues: discriminator overfitting and mode collapse. Discriminator overfitting occurs when the discriminator quickly memorizes the sparse training set, providing useless gradients to the generator. Mode collapse happens when the generator learns to produce only a few "safe" variations, failing to capture the full diversity of the target distribution.
While transfer learning—fine-tuning a model pre-trained on a large dataset like ImageNet—helps, it often leads to "knowledge leakage" or overfitting on the target domain. Data InStance Prior (DISP) is introduced to leverage pre-trained knowledge more effectively to stabilize training and ensure better coverage of the target data.
Methodology: Data InStance Prior
The core innovation of DISP is treating image features from a pre-trained network as a conditional prior. The framework consists of three main components: feature extraction, conditional training, and a specialized inference strategy.
Feature Extraction and Conditional Training
For every real image $x$ in the training set, a feature vector $C(x)$ is extracted using a pre-trained feature extractor $C$ (e.g., VGG-16 or a self-supervised SimCLR model). Instead of training an unconditional GAN, DISP trains a conditional GAN where the generator $G$ is conditioned on these features: $G(z|C(x))$.
Feature Matching and Projection Loss
To prevent the discriminator from simply memorizing pixels, a projection loss is introduced. This loss encourages the discriminator’s internal features for a generated image to match the prior $C(x)$ of the real image it is attempting to mimic. This acts as a powerful regularizer, performing "knowledge distillation" at the instance level.
Inference Strategy
At test time, new images are generated by sampling from the distribution of training priors. In few-shot settings, a "vicinal mix" (interpolating between training priors) is used. For large-scale settings, a Gaussian Mixture Model (GMM) is fitted to the distribution of training priors.
Results and Discussion
DISP was evaluated across various scenarios, from few-shot (100 images) to large-scale unconditional generation.
Training Stability and Overfitting
A key advantage of DISP is its ability to stabilize training. As shown in the comparison with baseline models, DISP prevents the validation FID from exploding, which is a common sign of overfitting in limited data regimes.
Performance Metrics
On the 100-image Anime dataset, DISP achieved an FID of 48.67, nearly halving the FID of the standard DiffAugment baseline (85.16). In the FFHQ2k experiment, DISP-Vgg16 reached an FID of 43.90, significantly outperforming standard FreezeD (161.87) and MineGAN (75.91). Even on large datasets like CIFAR-100, adding DISP to a BigGAN architecture improved the FID from 20.37 to 12.89.
Conclusion
Data InStance Prior (DISP) effectively addresses the challenges of training GANs with limited data. By leveraging informative priors from pre-trained networks at the instance level, DISP stabilizes training, prevents discriminator overfitting, and significantly improves both image quality and diversity. Its compatibility with various GAN architectures and its ability to utilize self-supervised features make it a versatile tool for high-fidelity image synthesis in data-constrained environments.
Summary updated