RectifID: Personalizing Rectified Flow with Anchored Classifier Guidance

Zhicheng Sun, Zhenhao Yang, Yang Jin, Haozhe Chi, Kun Xu +6 more
5/1/2024
13 citations
diffusion-flow

Official code: feifeiobama/RectifID (130 stars, Jupyter Notebook, last commit 2024-10-13).

Abstract

Customizing diffusion models to generate identity-preserving images from user-provided reference images is an intriguing new problem. The prevalent approaches typically require training on extensive domain-specific images to achieve identity preservation, which lacks flexibility across different use cases.

Show full abstract

To address this issue, we exploit classifier guidance, a training-free technique that steers diffusion models using an existing classifier, for personalized image generation. Our study shows that based on a recent rectified flow framework, the major limitation of vanilla classifier guidance in requiring a special classifier can be resolved with a simple fixed-point solution, allowing flexible personalization with off-the-shelf image discriminators. Moreover, its solving procedure proves to be stable when anchored to a reference flow trajectory, with a convergence guarantee. The derived method is implemented on rectified flow with different off-the-shelf image discriminators, delivering advantageous personalization results for human faces, live subjects, and certain objects. Code is available at https://github.com/feifeiobama/RectifID.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2024] RectifID: Personalizing Rectified Flow with Anchored Classifier Guidance

1308Jupyter Notebook, PythonMay 18, 20242 years ago
classifier-guidancepersonalized-generationrectified-flow

Similar Papers

Cite this paper

@article{sun2024rectifid,
  title  = {RectifID: Personalizing Rectified Flow with Anchored Classifier Guidance},
  author = {Zhicheng Sun and Zhenhao Yang and Yang Jin and Haozhe Chi and Kun Xu and Liwei Chen and Hao Jiang and Di Zhang and Yang Song and Kun Gai and Yadong Mu},
  year   = {2024},
  eprint = {2405.14677},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.14677},
  url    = {https://arxiv.org/abs/2405.14677},
  journal = {NEURIPS 2024 2024}
}

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/2405.14677.svg)](https://codeofpaper.com/paper/2405.14677)

Discussion