Abstract
Generative Adversarial Networks (GANs) typically require vast datasets to learn new domains. This paper introduces GenDA (Generative Domain Adaptation), a novel framework designed to adapt a pre-trained GAN to a target domain using only a single reference image. By freezing the original generator and discriminator and introducing lightweight, learnable "adaptor" modules, GenDA successfully inherits the structural diversity of the source model while capturing the stylistic essence of the target. This approach effectively prevents mode collapse and significantly reduces training time to mere minutes, outperforming existing baselines in both image quality and diversity.
Introduction
Generative Adversarial Networks (GANs) have set the standard for high-fidelity image synthesis. However, their reliance on massive datasets—often requiring tens of thousands of images—remains a significant barrier to entry for niche or artistic domains. Domain adaptation offers a potential solution by fine-tuning a model pre-trained on a large source dataset (e.g., human faces) to a smaller target dataset (e.g., sketches).
When the target dataset is reduced to a single image—a scenario known as one-shot adaptation—standard fine-tuning techniques often fail. The model typically suffers from severe mode collapse, where the generator loses its ability to produce diverse outputs (different poses, expressions, or identities) and instead converges to producing images that nearly identical to the single target reference. The core challenge lies in preserving the rich variety of the source model while successfully "skinning" it with the specific attributes of the target image.
Methodology: The GenDA Framework
GenDA departs from the traditional "fine-tune everything" approach by utilizing a modular, frozen architecture that prioritizes knowledge retention.
1. Attribute Adaptor (Generator Side)
Instead of modifying the weights of the pre-trained generator ($G$), GenDA freezes them entirely. To shift the output toward the target domain, the authors insert a lightweight Attribute Adaptor. This module performs a simple linear transformation ($z' = a \odot z + b$) on the latent codes. By operating in the latent space rather than the weight space, the model is forced to reuse its existing structural knowledge (e.g., how to construct a face) while the adaptor shifts those features toward the target's style or attributes.
2. Attribute Classifier (Discriminator Side)
On the discriminator side, the pre-trained backbone ($D$) is also frozen, serving as a robust feature extractor. A tiny Attribute Classifier head is added on top. This head is the only trainable part of the discriminator and learns to distinguish whether a generated image possesses the specific "vibe" or attributes of the single target image, providing the necessary adversarial signal without overwriting the discriminator's general understanding of image realism.
3. Diversity-Constraint Strategy
To stabilize optimization in the extremely low-data regime, the authors employ a "truncation trick" during training. By initially moving latent codes closer to the average, the model focuses on a narrower distribution, preventing the optimization process from becoming unstable in the high-dimensional latent space. This constraint is gradually relaxed as training progresses.
Experiments and Results
The researchers evaluated GenDA using source models pre-trained on FFHQ (70,000 faces) and LSUN Church. One-shot target domains included diverse categories such as "babies," "sunglasses," and artistic styles like the Mona Lisa or Van Gogh's paintings.
Quantitative Performance
GenDA significantly outperformed state-of-the-art baselines like FreezeD and Cross-Domain adaptation:
- Diversity (Recall): In the "Babies" adaptation task, GenDA maintained a Recall of 0.033, whereas competing methods often dropped to 0.000, indicating total mode collapse.
- Image Quality (FID): For "Sunglasses" adaptation, GenDA achieved a Fréchet Inception Distance (FID) of 44.96, nearly doubling the performance of the next best method (FID 87.32).
Qualitative Analysis
As shown in the results, GenDA successfully transfers both semantic attributes and artistic styles. For example, when adapting to a "Sunglasses" target, the model adds sunglasses to a wide variety of generated faces while maintaining their original identities and poses.
Key Insights and Discussion
- Freezing as a Feature: By freezing the backbones, GenDA ensures that the fundamental "knowledge" of the source domain is never lost. The adaptor acts as a style filter rather than a structural overhaul.
- Efficiency: Because the number of trainable parameters is minimal, the model converges in minutes on a standard GPU, compared to the hours required for full fine-tuning.
- Limitations: The primary limitation is attribute entanglement. Since the model treats the reference image as a single set of attributes, it may struggle to decouple them (e.g., transferring sunglasses without also transferring the hair color of the person in the reference image). Additionally, the method cannot perform extreme structural changes, such as turning a face into a building, as it relies on the source model's structural priors.
Conclusion
GenDA demonstrates that one-shot generative domain adaptation is not only possible but highly efficient when leveraging frozen pre-trained models. By shifting the focus from weight fine-tuning to latent space adaptation, GenDA provides a robust path for creating diverse, high-quality images in domains where data is scarce.
Summary updated