CustomContrast: A Multilevel Contrastive Perspective For Subject-Driven Text-to-Image Customization
<|reference_start|>CustomContrast: A Multilevel Contrastive Perspective For Subject-Driven Text-to-Image Customization: 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.<|reference_end|>
@article{chen2024customcontrast:,
    title={CustomContrast: A Multilevel Contrastive Perspective For Subject-Driven
  Text-to-Image Customization},
    author={Nan Chen, Mengqi Huang, Zhuowei Chen, Yang Zheng, Lei Zhang and
  Zhendong Mao},
    journal={arXiv preprint arXiv:2409.05606},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.05606},
    primaryClass={cs.CV cs.MM}
}