TL;DR
This paper introduces a novel method for Zero-Shot Domain Adaptive Image Synthesis (ZDAIS), enabling pre-trained image generators to learn new styles from just a few examples and apply them to novel object categories. Their approach disentangles style and object information, allowing for compositional generalization without relying on text prompts.
What Problem Does This Paper Address?
The paper tackles the challenge of compositional image synthesis, specifically in the context of domain adaptation. Existing powerful generative models (like DALL-E, Imagen) excel at composing concepts described in text, but adapting them to a new visual style from minimal examples (as few as one image) and then synthesizing novel object categories in that style is difficult. This is known as Zero-Shot Domain Adaptive Image Synthesis (ZDAIS). The core problem is how to teach a model a new style without forgetting its existing knowledge and how to disentangle this new style from the object categories it can already generate.
Methods
The authors propose a framework built upon a pre-trained class-conditional generative vision transformer (MaskGIT). Their key innovation is a "source class distilled visual prompt tuning" method. This approach introduces learnable "prompt tokens" that are designed to disentangle semantic (object class) and domain (style) information.
- Disentangled Prompts: They create a novel prompt that combines a class-specific token (reusing knowledge from the source domain) with a class-agnostic token that learns the target domain's style. This separation is crucial for generalizing to unseen classes.
- Information Bottleneck (IB) Principle: To further encourage disentanglement, they employ strategies like limiting the capacity of the class-agnostic prompt and controlling attention weights to ensure the model utilizes both class and style information.
- Domain Adaptive Classifier-Free Guidance (DA-CFG): They extend classifier-free guidance to improve synthesis quality and domain adaptability, specifically by carefully dropping tokens during unconditional sampling.
Datasets
- Training: The method leverages pre-trained class-conditional models trained on ImageNet.
- Evaluation:
- ImageNet-R [19]: Used for qualitative and quantitative evaluation of ZDAIS. This dataset contains images from diverse domains (painting, sketch, etc.) with both class and domain labels.
- Office-home dataset [53]: Used to evaluate the synthesized images for zero-shot domain adaptation classification tasks.
The paper also implicitly uses various target domain images (e.g., "Van Gogh house painting," "Chinese painting," "Haunted house," "Watercolor dog painting") as few-shot examples.
Key Insights and Ideas
- Disentanglement is Key: The success of compositional generalization in ZDAIS hinges on effectively separating style information from object category information.
- Few-Shot Learning for Style: It's possible to learn a new visual style from a very small number of examples (even one image), which is a significant step beyond traditional style transfer.
- Prompt Engineering for Generative Models: Learnable prompts can be a powerful mechanism for adapting large pre-trained generative models to new tasks and domains without full fine-tuning.
- Synthesized Data for Downstream Tasks: Images generated by this ZDAIS method can be effectively used to train classifiers for zero-shot domain adaptation, outperforming existing methods.
Key Results
- Qualitative Success: The method successfully synthesizes novel images in learned styles, demonstrating compositional generalization across diverse object categories and styles (e.g., "Van Gogh house painting" style applied to "Chihuahua").
- Quantitative Improvement (FID): On the ImageNet-R dataset, their "Target, zero-shot" approach achieved significantly lower FID scores compared to baseline methods and even neural style transfer approaches, indicating more faithful domain adaptation. For example, with 5 shots and 36 steps, they achieved an FID of 12.9.
- Zero-Shot Domain Adaptation Accuracy: When using synthesized images for training classifiers on the Office-home dataset, their method achieved a significant improvement in accuracy (4-12% gain on the "Clipart" domain) compared to training on source data alone, and outperformed a state-of-the-art ZSDA method.
Limitations and Future Work
- Class Prediction Accuracy: The paper acknowledges that the method's performance can be affected if the target domain images cannot be accurately recognized or described by the source domain's class vocabulary. They show examples where this leads to entangled results.
- Ambiguity in Text vs. Image Guidance: While text-guided synthesis can be ambiguous, their method relies on reference images, which can resolve some ambiguity. However, capturing very fine-grained details might still be challenging.
- Future Work: The authors suggest that their techniques are generic and could be applied to other conditional generative models, including text-to-image transformers. They also hint at exploring "deep prompts" (learnable prompts across multiple transformer layers) for even better adaptation.
Summary updated