MasterWeaver: Taming Editability and Face Identity for Personalized Text-to-Image Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wei, Yuxiang, Ji, Zhilong, Bai, Jinfeng, Zhang, Hongzhi, Zhang, Lei, Zuo, Wangmeng
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913450050977792
author Wei, Yuxiang
Ji, Zhilong
Bai, Jinfeng
Zhang, Hongzhi
Zhang, Lei
Zuo, Wangmeng
author_facet Wei, Yuxiang
Ji, Zhilong
Bai, Jinfeng
Zhang, Hongzhi
Zhang, Lei
Zuo, Wangmeng
contents Text-to-image (T2I) diffusion models have shown significant success in personalized text-to-image generation, which aims to generate novel images with human identities indicated by the reference images. Despite promising identity fidelity has been achieved by several tuning-free methods, they usually suffer from overfitting issues. The learned identity tends to entangle with irrelevant information, resulting in unsatisfied text controllability, especially on faces. In this work, we present MasterWeaver, a test-time tuning-free method designed to generate personalized images with both faithful identity fidelity and flexible editability. Specifically, MasterWeaver adopts an encoder to extract identity features and steers the image generation through additional introduced cross attention. To improve editability while maintaining identity fidelity, we propose an editing direction loss for training, which aligns the editing directions of our MasterWeaver with those of the original T2I model. Additionally, a face-augmented dataset is constructed to facilitate disentangled identity learning, and further improve the editability. Extensive experiments demonstrate that our MasterWeaver can not only generate personalized images with faithful identity, but also exhibit superiority in text controllability. Our code can be found at https://github.com/csyxwei/MasterWeaver.
format Preprint
id arxiv_https___arxiv_org_abs_2405_05806
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MasterWeaver: Taming Editability and Face Identity for Personalized Text-to-Image Generation
Wei, Yuxiang
Ji, Zhilong
Bai, Jinfeng
Zhang, Hongzhi
Zhang, Lei
Zuo, Wangmeng
Computer Vision and Pattern Recognition
Text-to-image (T2I) diffusion models have shown significant success in personalized text-to-image generation, which aims to generate novel images with human identities indicated by the reference images. Despite promising identity fidelity has been achieved by several tuning-free methods, they usually suffer from overfitting issues. The learned identity tends to entangle with irrelevant information, resulting in unsatisfied text controllability, especially on faces. In this work, we present MasterWeaver, a test-time tuning-free method designed to generate personalized images with both faithful identity fidelity and flexible editability. Specifically, MasterWeaver adopts an encoder to extract identity features and steers the image generation through additional introduced cross attention. To improve editability while maintaining identity fidelity, we propose an editing direction loss for training, which aligns the editing directions of our MasterWeaver with those of the original T2I model. Additionally, a face-augmented dataset is constructed to facilitate disentangled identity learning, and further improve the editability. Extensive experiments demonstrate that our MasterWeaver can not only generate personalized images with faithful identity, but also exhibit superiority in text controllability. Our code can be found at https://github.com/csyxwei/MasterWeaver.
title MasterWeaver: Taming Editability and Face Identity for Personalized Text-to-Image Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.05806