Skip to main content
QUICK REVIEW

[Paper Review] StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators

Rinon Gal, Or Patashnik|arXiv (Cornell University)|Aug 2, 2021
Generative Adversarial Networks and Image SynthesisComputer Science65 citations
TL;DR

StyleGAN-NADA trains a pre-trained image generator to produce out-of-domain images guided only by text prompts, using a CLIP-based directional loss and adaptive layer freezing to avoid data collection.

ABSTRACT

Can a generative model be trained to produce images from a specific domain, guided by a text prompt only, without seeing any image? In other words: can an image generator be trained "blindly"? Leveraging the semantic power of large scale Contrastive-Language-Image-Pre-training (CLIP) models, we present a text-driven method that allows shifting a generative model to new domains, without having to collect even a single image. We show that through natural language prompts and a few minutes of training, our method can adapt a generator across a multitude of domains characterized by diverse styles and shapes. Notably, many of these modifications would be difficult or outright impossible to reach with existing methods. We conduct an extensive set of experiments and comparisons across a wide range of domains. These demonstrate the effectiveness of our approach and show that our shifted models maintain the latent-space properties that make generative models appealing for downstream tasks.

Motivation & Objective

  • Motivate enabling out-of-domain image generation without data collection.
  • Leverage CLIP's text–image alignment to guide generator adaptation.
  • Develop a training scheme that preserves latent-space structure during domain shift.
  • Introduce adaptive layer freezing to stabilize drastic domain changes.
  • Demonstrate broad applicability across styles, shapes, and cross-domain edits.

Proposed method

  • Use two synchronized generators: a frozen G_frozen and a trainable G_train sharing a mapping network.
  • Define a directional CLIP loss that aligns the change in CLIP embeddings between G_train and G_frozen with the embedding difference between source and target texts.
  • Introduce an adaptive layer-freezing mechanism that selects the most relevant layers to update based on latent-code edits.
  • Adopt a directional CLIP objective rather than a global CLIP loss to avoid mode collapse and adversarial solutions.
  • Optionally apply a latent mapper (StyleCLIP mapper) to better handle extensive shape changes.
  • Maintain latent-space alignment so that existing editing directions remain usable on the adapted generator.

Experimental results

Research questions

  • RQ1Can a pre-trained generator be shifted to a new domain specified only by text, with no target images?
  • RQ2How can CLIP be used to guide generator adaptation without producing adversarial or collapsed outputs?
  • RQ3Which parts of the network should be updated to achieve robust, large-domain changes while preserving realism?
  • RQ4Can adaptive layer selection and a directional CLIP loss sustain latent-space structure during drastic domain shifts?
  • RQ5How well do adapted generators support existing latent-space editing and image-to-image translation tasks?

Key findings

  • The method enables out-of-domain generation across diverse targets (styles, textures, shapes) using only textual prompts.
  • A two-generator setup with directional CLIP loss prevents mode collapse and adversarial solutions.
  • Adaptive layer freezing identifies and updates the most relevant network layers per iteration, improving training stability.
  • Adapted generators preserve latent-space structure and accommodate existing editing directions and models from the source domain.
  • The approach compares favorably to StyleCLIP-based edits and few-shot methods, achieving high quality and diversity without using training images.
  • Latent inversion and editing workflows remain compatible, enabling cross-domain image manipulation with off-the-shelf tools.

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.