CustomContrast: A Multilevel Contrastive Perspective For Subject-Driven Text-to-Image Customization

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Nan, Huang, Mengqi, Chen, Zhuowei, Zheng, Yang, Zhang, Lei, Mao, Zhendong
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916647598555136
author Chen, Nan
Huang, Mengqi
Chen, Zhuowei
Zheng, Yang
Zhang, Lei
Mao, Zhendong
author_facet Chen, Nan
Huang, Mengqi
Chen, Zhuowei
Zheng, Yang
Zhang, Lei
Mao, Zhendong
contents Subject-driven text-to-image (T2I) customization has drawn significant interest in academia and industry. This task enables pre-trained models to generate novel images based on unique subjects. Existing studies adopt a self-reconstructive perspective, focusing on capturing all details of a single image, which will misconstrue the specific image's irrelevant attributes (e.g., view, pose, and background) as the subject intrinsic attributes. This misconstruction leads to both overfitting or underfitting of irrelevant and intrinsic attributes of the subject, i.e., these attributes are over-represented or under-represented simultaneously, causing a trade-off between similarity and controllability. In this study, we argue an ideal subject representation can be achieved by a cross-differential perspective, i.e., decoupling subject intrinsic attributes from irrelevant attributes via contrastive learning, which allows the model to focus more on intrinsic attributes through intra-consistency (features of the same subject are spatially closer) and inter-distinctiveness (features of different subjects have distinguished differences). Specifically, we propose CustomContrast, a novel framework, which includes a Multilevel Contrastive Learning (MCL) paradigm and a Multimodal Feature Injection (MFI) Encoder. The MCL paradigm is used to extract intrinsic features of subjects from high-level semantics to low-level appearance through crossmodal semantic contrastive learning and multiscale appearance contrastive learning. To facilitate contrastive learning, we introduce the MFI encoder to capture cross-modal representations. Extensive experiments show the effectiveness of CustomContrast in subject similarity and text controllability.
format Preprint
id arxiv_https___arxiv_org_abs_2409_05606
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CustomContrast: A Multilevel Contrastive Perspective For Subject-Driven Text-to-Image Customization
Chen, Nan
Huang, Mengqi
Chen, Zhuowei
Zheng, Yang
Zhang, Lei
Mao, Zhendong
Computer Vision and Pattern Recognition
Multimedia
Subject-driven text-to-image (T2I) customization has drawn significant interest in academia and industry. This task enables pre-trained models to generate novel images based on unique subjects. Existing studies adopt a self-reconstructive perspective, focusing on capturing all details of a single image, which will misconstrue the specific image's irrelevant attributes (e.g., view, pose, and background) as the subject intrinsic attributes. This misconstruction leads to both overfitting or underfitting of irrelevant and intrinsic attributes of the subject, i.e., these attributes are over-represented or under-represented simultaneously, causing a trade-off between similarity and controllability. In this study, we argue an ideal subject representation can be achieved by a cross-differential perspective, i.e., decoupling subject intrinsic attributes from irrelevant attributes via contrastive learning, which allows the model to focus more on intrinsic attributes through intra-consistency (features of the same subject are spatially closer) and inter-distinctiveness (features of different subjects have distinguished differences). Specifically, we propose CustomContrast, a novel framework, which includes a Multilevel Contrastive Learning (MCL) paradigm and a Multimodal Feature Injection (MFI) Encoder. The MCL paradigm is used to extract intrinsic features of subjects from high-level semantics to low-level appearance through crossmodal semantic contrastive learning and multiscale appearance contrastive learning. To facilitate contrastive learning, we introduce the MFI encoder to capture cross-modal representations. Extensive experiments show the effectiveness of CustomContrast in subject similarity and text controllability.
title CustomContrast: A Multilevel Contrastive Perspective For Subject-Driven Text-to-Image Customization
topic Computer Vision and Pattern Recognition
Multimedia
url https://arxiv.org/abs/2409.05606