Skip to main content
QUICK REVIEW

[Paper Review] Mind the Gap: Domain Gap Control for Single Shot Domain Adaptation for Generative Adversarial Networks

Peihao Zhu, Rameen Abdal|arXiv (Cornell University)|Oct 15, 2021
Generative Adversarial Networks and Image SynthesisComputer Science38 references16 citations
TL;DR

This paper proposes a novel single-shot domain adaptation method for GANs that improves visual quality and reduces overfitting by modeling the domain gap as a CLIP-embedded vector from a reference image in domain B to its semantic analog in domain A, using II2S inversion and new regularizers to preserve identity and content while enabling fine-grained attribute control.

ABSTRACT

We present a new method for one shot domain adaptation. The input to our method is trained GAN that can produce images in domain A and a single reference image I_B from domain B. The proposed algorithm can translate any output of the trained GAN from domain A to domain B. There are two main advantages of our method compared to the current state of the art: First, our solution achieves higher visual quality, e.g. by noticeably reducing overfitting. Second, our solution allows for more degrees of freedom to control the domain gap, i.e. what aspects of image I_B are used to define the domain B. Technically, we realize the new method by building on a pre-trained StyleGAN generator as GAN and a pre-trained CLIP model for representing the domain gap. We propose several new regularizers for controlling the domain gap to optimize the weights of the pre-trained StyleGAN generator to output images in domain B instead of domain A. The regularizers prevent the optimization from taking on too many attributes of the single reference image. Our results show significant visual improvements over the state of the art as well as multiple applications that highlight improved control.

Motivation & Objective

  • Address overfitting and mode collapse in single-shot domain adaptation, where existing methods overly mimic the reference image.
  • Improve visual fidelity and identity preservation in translated images from domain A to domain B using a single reference image.
  • Enable fine-grained control over which attributes are transferred between domains by modeling the domain gap more precisely.
  • Maintain compatibility with existing image editing frameworks (e.g., StyleFlow) in the target domain by preserving the latent space structure.
  • Develop a computationally efficient method that runs in minutes on a single GPU, enabling practical deployment.

Proposed method

  • Use a pre-trained StyleGAN2 generator as the base generator for domain A and fine-tune it to generate images in domain B.
  • Leverage CLIP to embed the reference image from domain B and the corresponding image in domain A into a shared semantic space.
  • Model the domain gap as a vector from the reference image in domain B to its semantic analog in domain A (not from domain A mean), reducing overfitting.
  • Apply II2S inversion to transfer the reference image from domain B back to domain A, generating a high-quality analog image to better estimate the domain gap.
  • Introduce multiple novel regularizers—$L_{\text{ref\_clip}}$, $L_{\text{clip\_within}}$—to control how much of the reference image's attributes are adopted during optimization.
  • Use a refined layer selection strategy and style mixing to improve diversity and realism in the generated images.

Experimental results

Research questions

  • RQ1Can we reduce overfitting in single-shot domain adaptation by redefining the domain gap as a vector from the reference image to its domain-A analog rather than from the domain-A mean?
  • RQ2To what extent can we preserve identity and content of source-domain images while transferring style to a new domain using only one reference image?
  • RQ3How does the use of II2S inversion improve the quality and semantic consistency of the domain gap estimation compared to simple mean-based vectors?
  • RQ4Can we achieve fine-grained control over attribute transfer (e.g., pose, lighting, expression) in the target domain without retraining editing models?
  • RQ5What is the impact of new regularizers on visual quality and mode collapse in one-shot GAN adaptation?

Key findings

  • Our method achieves 73% user preference over StyleGAN-NADA and 77% over the few-shot baseline in visual quality, indicating significant improvement.
  • 80% of users preferred our method for preserving similarity to the source image in domain A, confirming reduced overfitting and better identity retention.
  • 91% of users selected our method as superior in maintaining source image similarity, highlighting reduced mode collapse compared to competing approaches.
  • Ablation studies show that using II2S for analog image generation and applying $L_{\text{ref\_clip}}$ and $L_{\text{clip\_within}}$ regularizers significantly improves reconstruction and style transfer quality.
  • Image editing in domain B using StyleFlow is fully compatible, demonstrating that semantic attributes and latent-space structure are preserved post-adaptation.
  • The method runs in minutes on a single GPU, making it practical for real-world applications despite the complexity of one-shot domain adaptation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.