Text-to-image diffusion models have achieved remarkable performance in image synthesis, while the text interface does not always provide fine-grained control over certain image factors. For instance, changing a single token in the text can have unintended effects on the image. This paper shows a simple modification of classifier-free guidance can help disentangle image factors in text-to-image models. The key idea of our method, Contrastive Guidance, is to characterize an intended factor with two prompts that differ in minimal tokens: the positive prompt describes the image to be synthesized, and the baseline prompt serves as a "baseline" that disentangles other factors. Contrastive Guidance is a general method we illustrate whose benefits in three scenarios: (1) to guide domain-specific diffusion models trained on an object class, (2) to gain continuous, rig-like controls for text-to-image generation, and (3) to improve the performance of zero-shot image editors.
MouseGAN++: Unsupervised Disentanglement and Contrastive Representation for Multiple MRI Modalities Synthesis and Structural Segmentation of Mouse Brain
CDDSA: Contrastive Domain Disentanglement and Style Augmentation for Generalizable Medical Image Segmentation
University of Electronic Science and Technology of China(电子科技大学);Shanghai AI Lab(上海人工智能实验室);Shanghai Jiao Tong University(上海交通大学);ShanghaiTech University(上海科技大学);Sensetime Research(商汤科技研究院);Sichuan University(四川大学);Sichuan Cancer Hospital and Institute(四川省肿瘤医院(四川省肿瘤研究所))
Contrastive Domain Disentanglement for Generalizable Medical Image Segmentation
University of Electronic Science and Technology of China(电子科技大学);Shanghai AI Lab(上海人工智能实验室);ShanghaiTech University(上海科技大学);Shanghai Jiao Tong University(上海交通大学)
PromptCAL: Contrastive Affinity Learning via Auxiliary Prompts for Generalized Novel Category Discovery
Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Hong Kong University of Science and Technology(香港科技大学);Australian National University(澳大利亚国立大学);Linköping University(林雪平大学);Carnegie Mellon University(卡内基梅隆大学)
Beyond Degradation Redundancy: Contrastive Prompt Learning for All-in-One Image Restoration
School of Computer Science and Technology, Harbin Institute of Technology(计算机科学与技术学院,哈尔滨工业大学);School of Computer Science and Technology, Harbin Institute of Technology (Shenzhen)(计算机科学与技术学院,哈尔滨工业大学(深圳))
Prompt Disentanglement via Language Guidance and Representation Alignment for Domain Generalization
School of Telecommunications Engineering, the State Key Laboratory of Integrated Services Networks (ISN), Xidian University, Xi’an, China(电信工程学院、集成服务网络国家重点实验室(ISN)、西安电子科技大学);Microsoft Research Asia, Shanghai, China(微软亚洲研究院,上海,中国)
Unsupervised Multiview Contrastive Language-Image Joint Learning with Pseudo-Labeled Prompts Via Vision-Language Model for 3D/4D Facial Expression Recognition
Contrastive Anatomy-Contrast Disentanglement: A Domain-General MRI Harmonization Method
Chair for AI for Image-Guided Diagnosis and Therapy, Technical University of Munich (TUM) and TUM University Hospital, Munich, Germany(人工智能辅助影像引导诊断与治疗研究所,慕尼黑技术大学(TUM)及慕尼黑技术大学医院,慕尼黑,德国);Munich Center for Machine Learning (MCML), Munich, Germany(慕尼黑机器学习中心,慕尼黑,德国);Chair for AI in Healthcare and Medicine, Technical University of Munich (TUM) and TUM University Hospital, Munich, Germany(人工智能在医疗与健康领域研究所,慕尼黑技术大学(TUM)及慕尼黑技术大学医院,慕尼黑,德国);Department of Radiation Oncology, TUM University Hospital, Munich, Germany(放射肿瘤科,慕尼黑技术大学医院,慕尼黑,德国);Chair for Computer Vision and Artificial Intelligence, Technical University of Munich (TUM), Munich, Germany(计算机视觉与人工智能研究所,慕尼黑技术大学(TUM),慕尼黑,德国);Stanford Center for Artificial Intelligence in Medicine and Imaging, Stanford University, Stanford, CA, USA(斯坦福大学人工智能在医学与影像中心,斯坦福大学,斯坦福,CA,美国);Deutsches Konsortium für Translationale Krebsforschung (DKTK), Partner Site Munich, Munich, Germany(德国转化癌症研究联盟(DKTK),慕尼黑合作伙伴站点,慕尼黑,德国);Institute of Radiation Medicine (IRM), Department of Radiation Sciences (DRS), Helmholtz Center Munich, Munich, Germany(放射医学研究所(IRM),辐射科学部门(DRS),海德堡慕尼黑研究中心,慕尼黑,德国)
Multimodal Medical Endoscopic Image Analysis via Progressive Disentangle-aware Contrastive Learning
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(深圳先进技术研究院,中国科学院);First Affiliated Hospital, Sun Yat-sen University(中山大学第一附属医院);College of Big Data and Internet, Shenzhen Technology University(深圳技术大学大数据与互联网学院)
CRISP: Contrastive Residual Injection and Semantic Prompting for Continual Video Instance Segmentation
State Key Laboratory of Robotics and Intelligent Systems, Shenyang Institute of Automation, Chinese Academy of Sciences(机器人与智能系统国家重点实验室,沈阳自动化研究所,中国科学院);University of Chinese Academy of Sciences(中国科学院大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
Contrastive Language-Image Learning with Augmented Textual Prompts for 3D/4D FER Using Vision-Language Model
Information & Computer Science Department, King Fahd University of Petroleum & Minerals(国王法赫德石油与矿物大学信息与计算机科学系);Center for Machine Vision and Signal Analysis, University of Oulu(奥卢大学机器视觉与信号分析中心)
CDNet: Contrastive Disentangled Network for Fine-Grained Image Categorization of Ocular B-Scan Ultrasound
Hangzhou Dianzi University(杭州电子科技大学);the Second Affiliated Hospital of Zhejiang University(浙江大学医学院附属第二医院);Waseda University(早稻田大学);Communication University of Zhejiang(浙江传媒学院)
Decouple before Align: Visual Disentanglement Enhances Prompt Tuning
Cooperative Medianet Innovation Center, Shanghai Jiao Tong University(合作中位网创新中心,上海交通大学);School of Artificial Intelligence, Shanghai Jiao Tong University(人工智能学院,上海交通大学);Shanghai Innovation Institute(上海创新研究院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Beijing Institute of Technology(北京理工大学);A*STAR Centre for Frontier AI Research(A*STAR前沿人工智能研究中心)