DeltaGAN: Towards Diverse Few-shot Image Generation with Sample-Specific Delta

Yan Hong, Li Niu, Jianfu Zhang, Jing Liang, Liqing Zhang

Abstract

DeltaGAN is a novel generative framework designed for diverse, high-quality image generation in few-shot scenarios. By modeling "deltas"—intra-category transformations such as changes in pose, color, or shape—the model learns to apply these variations to unseen images. This approach enables the generation of realistic and varied synthetic datasets from as little as a single example, bypassing the need for extensive fine-tuning.

Introduction

Deep generative models, particularly Generative Adversarial Networks (GANs), typically require massive datasets to synthesize specific categories effectively. In "few-shot" settings—where only a handful of images are available for a new or rare category—standard models often suffer from overfitting or mode collapse. Existing solutions generally utilize fusion-based or transformation-based methods. However, fusion-based methods require multiple images, and transformation-based methods often lack diversity.

Overview of the DeltaGAN framework: Training on seen categories to learn transferable transformations and instant adaptation to unseen categories.

DeltaGAN addresses these limitations by shifting the focus from direct image generation to the generation of sample-specific deltas. These deltas represent the transformations required to transition between different instances within a category.

Methodology

The architecture of DeltaGAN consists of two parallel subnetworks: a Reconstruction Subnetwork and a Generation Subnetwork.

Delta Modeling

  1. Reconstruction Subnetwork: During training on seen categories, this branch processes pairs of images from the same category. It extracts a "real delta" ($\Delta^r$) representing the difference between the pair and learns to reconstruct the second image using the first image and this delta.
  2. Generation Subnetwork: This branch takes a single conditional image and a random noise vector ($z$) to produce a "fake delta" ($\Delta^f$). When combined with the input image, this delta generates a novel synthetic image.
The training phase of DeltaGAN, illustrating the adversarial matching between real deltas ($\Delta^r$) and generated fake deltas ($\Delta^f$).

Loss Functions

To ensure the quality and diversity of the generated images, DeltaGAN employs two key losses:

  • Adversarial Delta Matching Loss: A discriminator ($D_M$) ensures that the generated "fake deltas" are indistinguishable from "real deltas" extracted from actual data, ensuring plausible transformations.
  • Mode Seeking Loss: This encourages the generator to produce distinct images for different noise vectors, preventing mode collapse and ensuring output diversity.

Experiments and Results

DeltaGAN was evaluated across six benchmarks, including EMNIST, VGGFace, Flowers, Animal Faces, NABirds, and Foods.

Performance Metrics

DeltaGAN significantly outperformed baselines such as DAGAN and F2GAN. On the VGGFace dataset, it achieved a Fréchet Inception Distance (FID) of 78.35, a substantial improvement over previous state-of-the-art results (~106). It also maintained high LPIPS scores, confirming superior diversity in the generated samples.

Downstream Utility

The framework's effectiveness was further demonstrated through data augmentation for few-shot classification. For a 10-way 1-shot task on Animal Faces, augmenting the training set with DeltaGAN-generated images improved classification accuracy from 50.14% to 60.31%.

Conclusion

DeltaGAN demonstrates that intra-category variations (deltas) are often transferable across similar categories. By generating sample-specific transformations, the model excels in 1-shot generation tasks. While it faces challenges with extremely coarse-grained datasets or domain gaps (e.g., animals to flowers), it represents a significant step forward in practical, data-efficient image synthesis.

Summary updated

BibTeX
@inproceedings{hong2022deltagan,
  author = {Yan Hong and Li Niu and Jianfu Zhang and Jing Liang and Liqing Zhang},
  title = {{DeltaGAN: Towards Diverse Few-shot Image Generation with Sample-Specific Delta}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=A8nrtjgKwNm},
}
Figure