NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generalized One-shot Domain Adaptation of Generative Adversarial Networks

Zicheng Zhang, Yinglu Liu, Congying Han, Tiande Guo, Ting Yao, Tao Mei

Introduction

Generative Adversarial Network (GAN) adaptation involves taking a model pre-trained on a massive dataset—such as human faces—and fine-tuning it to a new target domain using minimal data. The most extreme and challenging version of this task is "one-shot" adaptation, where only a single target reference image is provided.

Historically, one-shot GAN adaptation methods have excelled at style transfer, effectively altering colors and textures to match a target aesthetic (e.g., turning a photo into a sketch or a painting). However, real-world target domains frequently feature specific entities that do not exist in the source domain. For instance, a natural human face dataset does not contain examples of superhero masks, specific hats, or distinctive eyewear.

Example of an adapted image featuring a new entity (a medical mask) alongside a new artistic style.

Previous models typically fail when confronted with these novel entities. They either ignore the new objects entirely or produce messy artifacts by forcing the "face-generating" components of the network to suddenly synthesize unfamiliar items like hats. Furthermore, maintaining cross-domain correspondence—ensuring the original person's identity and expression remain recognizable after adaptation—remains a persistent hurdle. This paper introduces a novel framework for generalized one-shot GAN adaptation that successfully decouples artistic style from entity generation, allowing a pre-trained model to adopt both from a single reference image.

Methodology

To overcome the limitations of traditional style-focused adaptation, the authors propose a three-pronged architectural and training approach:

1. Decoupled Architecture

Instead of modifying the entire generator network to learn both style and new objects simultaneously, the researchers split the task. They utilize a modified version of the original generator to handle the overall artistic style, while introducing a dedicated auxiliary network specifically designed to generate the new entities. This decoupling prevents the specific texture of an entity (e.g., the plastic sheen of a mask) from "leaking" into and corrupting the texture of the generated face.

2. Internal Distribution Learning via SWD

Standard GAN discriminators are notoriously unstable when trained on only one image, often leading to mode collapse. To address this, the framework abandons traditional adversarial training in favor of Sliced Wasserstein Distance (SWD). SWD allows the model to efficiently minimize the statistical gap between the internal patch distributions of the single reference image and the synthesized images, resulting in much more robust and stable training.

3. Variational Laplacian Regularization

To ensure the model does not "forget" the underlying structure of the source domain, the authors introduce a novel regularization technique based on manifold learning: Variational Laplacian Regularization. This forces the network to preserve the geometric relationships of the original source space. If two latent codes produced similar faces in the pre-trained model, they are constrained to produce similar, structurally consistent images in the newly adapted model.

Key Insights and Performance

The researchers evaluated their method across several high-quality datasets, including FFHQ (human faces), AFHQ (animals), and LSUN Church (buildings), using target images sourced from previous works like JoJoGAN and AAHQ.

A core insight of the paper is that specialization over generalization yields superior results in one-shot scenarios. By dedicating an auxiliary branch to entity generation, the primary generator retains its expertise in synthesizing faces, while the auxiliary branch focuses solely on the novel object. Additionally, the authors found that "fixing" the style-related latent codes to match the reference image's code (obtained via GAN inversion) provides an instant "rough draft" of the target style, significantly accelerating the refinement process.

The model successfully handles large, complex entities like "Zelda" headgear without distorting the underlying facial structure.

Compared to state-of-the-art (SOTA) models like FSGA, MTG, and JoJoGAN, the proposed framework demonstrated significant improvements:

  • Quantitative Superiority: The model achieved the lowest Normalized Mean Error (NME), indicating superior preservation of facial shapes and expressions. It also scored the highest in Identity Similarity (IS).
  • Qualitative Fidelity: The framework produces sharper details and successfully integrates large, complex entities (such as "Zelda" headgear) without distorting the underlying face.
  • User Preference: In a study involving 53 volunteers, the proposed method secured approximately 60% of the votes against four competing SOTA methods.
  • Computational Efficiency: Training is remarkably fast, requiring only about 12 minutes on a single NVIDIA RTX 3090 GPU.

Limitations and Future Directions

While highly effective, the framework does have acknowledged limitations. Because it relies heavily on patch distributions, the model can struggle with pose sensitivity—specifically, placing entities correctly if the synthesized image's pose deviates drastically from the reference image's pose. Additionally, extremely complex or massive entities may still pose a challenge for the auxiliary network to learn perfectly from just one example. Future research will likely focus on achieving more precise control over entity positioning and handling more complex geometric transformations.

Summary updated

BibTeX
@inproceedings{zhang2022generalized,
  author = {Zicheng Zhang and Yinglu Liu and Congying Han and Tiande Guo and Ting Yao and Tao Mei},
  title = {{Generalized One-shot Domain Adaptation of Generative Adversarial Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure