Improving Subject-Driven Image Synthesis with Subject-Agnostic Guidance
Kelvin C. K. Chan, Yang Zhao, Xuhui Jia, Ming-Hsuan Yang, Huisheng Wang
TL;DR
Subject-driven text-to-image synthesis often overfits to subject-specific cues embedded in learnable tokens or encoders, causing text-prompt attributes to be underrepresented. SAG introduces a subject-agnostic conditioning and Dual Classifier-Free Guidance to suppress subject cues in early iterations while reintroducing them later, improving alignment with both the target subject and the text prompt. The approach is simple to implement and applies across optimization-based and encoder-based personalization, as well as DreamBooth-based fine-tuning, with consistent improvements demonstrated on ELITE, Textual Inversion, SuTI, and DreamSuTI via quantitative metrics and user studies. This yields more faithful, controllable, and diverse Subject-Driven Image Synthesis without retraining or architectural changes to existing diffusion pipelines.
Abstract
In subject-driven text-to-image synthesis, the synthesis process tends to be heavily influenced by the reference images provided by users, often overlooking crucial attributes detailed in the text prompt. In this work, we propose Subject-Agnostic Guidance (SAG), a simple yet effective solution to remedy the problem. We show that through constructing a subject-agnostic condition and applying our proposed dual classifier-free guidance, one could obtain outputs consistent with both the given subject and input text prompts. We validate the efficacy of our approach through both optimization-based and encoder-based methods. Additionally, we demonstrate its applicability in second-order customization methods, where an encoder-based model is fine-tuned with DreamBooth. Our approach is conceptually simple and requires only minimal code modifications, but leads to substantial quality improvements, as evidenced by our evaluations and user studies.
