Introduction
Personalized image generation—the task of generating a specific subject within a user-defined context—has traditionally faced a significant trade-off between speed and fidelity. Existing approaches generally fall into two categories: fine-tuning methods like DreamBooth, which are slow and computationally expensive per subject, and zero-shot methods like IP-Adapter, which often suffer from "identity drift" and poor detail preservation.
EZIGen addresses these challenges by rethinking the subject encoding process and the temporal dynamics of guidance. It introduces a framework that achieves state-of-the-art results without per-subject optimization, effectively solving the "Efficiency Gap" and the "Guidance Conflict" inherent in dual-input (text and image) diffusion models.
Methodology
EZIGen introduces three core innovations to the standard Diffusion pipeline to ensure high-fidelity subject preservation and strict adherence to text prompts.
The UNet as a Subject Encoder (SDU)
Unlike traditional methods that rely on external vision encoders (e.g., CLIP or DINOv2), EZIGen utilizes a frozen, pre-trained Stable Diffusion UNet to extract features from the reference subject. By using the same architecture for both encoding and generation, the model ensures that extracted features are natively aligned with the generator's feature space, capturing "generation-ready" details that external models often miss.
Decoupled Guidance and Iterative Refinement
To prevent text and image inputs from competing for control, EZIGen decouples the denoising process into two distinct stages:
- Sketch Generation: The initial steps use only text guidance to establish the global layout and composition.
- Appearance Transfer: Later steps inject subject features via trained adapters to "paint" the identity onto the established structure.
Furthermore, an Iterative Appearance Transfer loop is employed. The model takes the initial output, adds a small amount of noise, and re-runs the appearance transfer stage. This bootstrapping process ensures that fine-grained subject details are fully realized in the final image.
Experimental Results
EZIGen demonstrates superior performance across multiple benchmarks, including DreamBench and DreamEditBench.
Quantitative Performance
On DreamBench, the SD2.1-based EZIGen achieved a DINO score of 0.718, significantly outperforming MS-Diffusion (0.671) and OmniGen (0.684). The SDXL-based variant further improved this to 0.719, setting a new state-of-the-art for zero-shot identity preservation. Notably, EZIGen achieves these results with 100 times less training data than concurrent models like AnyDoor, highlighting the efficiency of its architectural alignment.
Qualitative Versatility
The model excels at both generation and editing. It can place a subject into complex, prompt-defined environments while maintaining perfect identity preservation, as seen in scenarios involving dramatic lighting or intricate backgrounds.
Conclusion and Future Work
EZIGen represents a significant step forward in zero-shot personalization. By leveraging the UNet itself as an encoder and decoupling the guidance stages, it achieves high-fidelity results that were previously only possible with per-subject fine-tuning. While the model still faces challenges with extreme pose variations and inherited text-rendering weaknesses from its base models, the authors suggest that migrating this subject encoding technique to Diffusion Transformer (DiT) architectures like Flux or SD3 is a promising path for future research.
Summary updated