Reproduce “CustomContrast: A Multilevel Contrastive Perspective For Subject-Driven Text-to-Image Customization” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Nan Chen, Mengqi Huang, Zhuowei Chen, Yang Zheng, Lei Zhang, Zhendong Mao

CustomContrast, developed by researchers at the University of Science and Technology of China, introduces a multilevel contrastive learning framework to enhance subject-driven text-to-image customization. The model improves text controllability by 3.8% and subject similarity (E-DI) by 5.9% compared to the best baseline (MOMA) on SD-v1.5, and 5.4% text controllability and 2.4% subject similarity (E-DI) over the best baseline (MS-Diffusion) on SDXL.

Key insights

  • Shifting from a 'self-reconstructive' to a 'cross-differential' perspective allows for explicit disentanglement of intrinsic subject attributes from transient, context-dependent ones.
  • Contrastive learning can effectively enforce 'intra-consistency' (making features of the same subject under different conditions closer) and 'inter-distinctiveness' (making features of different subjects distinguishable) in the embedding space.
  • Applying contrastive learning at multiple levels (crossmodal semantic and multiscale appearance) enables a dual optimization of both subject similarity and text controllability within generative models.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.