EZIGen: Enhancing zero-shot personalized image generation with precise subject encoding and decoupled guidance

Zicheng Duan, Yuxuan Ding, Chenhui Gou, Ziqin Zhou, Ethan Smith +1 more
9/12/2024
2 citations
cs.CV

Official code: ZichengDuan/EZIGen (106 stars, Python, Apache-2.0, last commit 2025-08-21).

Abstract

Zero-shot personalized image generation models aim to produce images that align with both a given text prompt and subject image, requiring the model to incorporate both sources of guidance. Existing methods often struggle to capture fine-grained subject details and frequently prioritize one form of guidance over the other, resulting in suboptimal subject encoding and imbalanced generation.

Show full abstract

In this study, we uncover key insights into overcoming such drawbacks, notably that 1) the choice of the subject image encoder critically influences subject identity preservation and training efficiency, and 2) the text and subject guidance should take effect at different denoising stages. Building on these insights, we introduce a new approach, EZIGen, that employs two main components: leveraging a fixed pre-trained Diffusion UNet itself as subject encoder, following a process that balances the two guidances by separating their dominance stage and revisiting certain time steps to bootstrap subject transfer quality. Through these two components, EZIGen, initially built upon SD2.1-base, achieved state-of-the-art performances on multiple personalized generation benchmarks with a unified model, while using 100 times less training data. Moreover, by further migrating our design to SDXL, EZIGen is proven to be a versatile model-agnostic solution for personalized generation. Demo Page: zichengduan.github.io/pages/EZIGen/index.html

View on arXivView PDF

Code Implementations(1)

ZichengDuan/EZIGenOfficial100%
Apache-2.0

[BMVC 2025] Official implementation for paper EZIGen: Enhancing zero-shot personalized image generation with precise subject encoding and decoupled guidance

10611Python, ShellSep 13, 20241 years agoApache-2.0
aigccomputer-visiondeep-learningdiffusersdiffusion-models+1 more

Similar Papers

Cite this paper

@article{duan2024ezigen,
  title  = {EZIGen: Enhancing zero-shot personalized image generation with precise subject encoding and decoupled guidance},
  author = {Zicheng Duan and Yuxuan Ding and Chenhui Gou and Ziqin Zhou and Ethan Smith and Lingqiao Liu},
  year   = {2024},
  eprint = {2409.08091},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.08091v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.08091.svg)](https://codeofpaper.com/paper/2409.08091)

Discussion