Few-shot Image Generation via Adaptation-Aware Kernel Modulation

Yunqing Zhao, Keshigeyan Chandrasegaran, Milad Abdollahzadeh, Ngai-Man Cheung · DOI

Abstract

Few-shot image generation (FSIG) aims to produce high-quality, diverse images from a limited target dataset by leveraging knowledge from a pre-trained source model. However, existing methods often struggle when the source and target domains are significantly different, as they rely on source-only criteria to determine which features to preserve. We present Adaptation-Aware Kernel Modulation (AdAM), a novel framework that introduces a lightweight "importance probing" phase to identify kernels relevant to the specific target adaptation. By modulating important kernels and fine-tuning others, AdAM achieves state-of-the-art results in both proximal and distant domain transfers while maintaining high parameter efficiency.

1. Introduction

Generative Adversarial Networks (GANs) have set benchmarks in image synthesis but typically require massive datasets to avoid overfitting. In many practical applications, such as medical imaging or specialized artistic styles, only a handful of examples are available. Few-shot image generation (FSIG) addresses this by using transfer learning from a data-rich source domain (e.g., human faces) to a data-poor target domain (e.g., rare animals).

A common strategy in FSIG is to preserve "important" knowledge from the source model to prevent mode collapse. However, current state-of-the-art (SOTA) methods define importance based solely on the source domain. This paper identifies a critical "proximity pitfall": when the source and target domains are distant, source-only criteria can force irrelevant features (like human eyeglasses) onto target objects (like cats), leading to poor generation quality.

2. Methodology: Adaptation-Aware Kernel Modulation

AdAM addresses the limitations of source-centric adaptation through a two-stage process designed to be both target-aware and parameter-efficient.

2.1 Importance Probing

Before the primary adaptation phase, AdAM conducts a lightweight "probing" step (approximately 500 iterations). During this phase, the model calculates the Fisher Information (FI) for each convolutional kernel. This mathematical approach identifies which specific kernels are most informative for the target task. Unlike previous methods, this selection process is explicitly informed by the target data, ensuring that the model preserves features useful for the new domain rather than blindly clinging to source-specific traits.

2.2 Main Adaptation and Kernel Modulation

Once kernel importance is established, the model proceeds to the main training phase using two distinct strategies:

  • Important Kernels: These are updated using Kernel Modulation (KML), a parameter-efficient, low-rank technique. This allows the model to adapt existing knowledge without destroying the underlying structural integrity of the pre-trained features.
  • Unimportant Kernels: These are updated via standard fine-tuning. This provides the model with the flexibility to learn entirely new, target-specific features that were not present in the source domain.

AdAM is remarkably efficient; the probing phase requires only 0.1M trainable parameters, a fraction of the 30M parameters found in a full StyleGAN2 architecture.

3. Experiments and Results

3.1 Experimental Setup

The authors evaluated AdAM across various source-to-target configurations to test its robustness across different domain distances. The primary source was FFHQ (human faces), with targets ranging from proximal (Babies, MetFaces) to distant (AFHQ-Cat, AFHQ-Dog, AFHQ-Wild). Additional tests were conducted using LSUN Church as a source for architectural targets like Haunted Houses and Yurts.

3.2 Quantitative Performance

AdAM consistently outperformed existing methods, particularly in distant domain scenarios where previous SOTA methods failed to maintain quality:

  • Distant Transfer (FFHQ → Cat): AdAM achieved an FID score of 58.07, significantly outperforming the previous SOTA, DCL, which scored 156.82.
  • Proximal Transfer (FFHQ → Babies): AdAM reached an FID of 48.83, compared to DCL's 56.48.
  • Diversity: Using the Intra-LPIPS metric, the researchers confirmed that AdAM generates more diverse images, effectively mitigating the mode collapse common in few-shot settings.

3.3 Efficiency and Qualitative Insights

AdAM is not only more accurate but also faster. For the FFHQ → Babies task, AdAM completed training in 73 minutes, whereas standard fine-tuning methods required 110–120 minutes. Qualitatively, AdAM avoids "knowledge leakage"—a phenomenon where features like red hair or human textures are erroneously transferred to animal faces, a common failure mode for methods like CDC or DCL.

4. Discussion and Limitations

While AdAM represents a significant leap in FSIG, the authors note certain limitations. The visualization of kernel importance relies on "GAN Dissection," which is limited by the availability of semantic segmentation datasets. Furthermore, while AdAM handles significant domain gaps well, there remains a theoretical limit to how distant two domains can be before transfer learning becomes ineffective.

Finally, the authors highlight the ethical implications of FSIG. The ability to generate high-quality synthetic imagery from as little as one photo (e.g., the "Obama" experiment) necessitates careful consideration of privacy and the potential for misuse in creating deepfakes.

5. Conclusion

AdAM demonstrates that target-aware importance selection is crucial for effective few-shot transfer learning. By using Fisher Information to guide kernel modulation, the method achieves superior image quality and diversity across both proximal and distant domains, setting a new standard for parameter-efficient generative adaptation.

Summary updated

BibTeX
@inproceedings{zhao2022few,
  author = {Yunqing Zhao and Keshigeyan Chandrasegaran and Milad Abdollahzadeh and Ngai-Man Cheung},
  title = {{Few-shot Image Generation via Adaptation-Aware Kernel Modulation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=Z5SE9PiAO4t},
}
Figure