Multi-modal contrastive models such as CLIP achieve state-of-the-art performance in zero-shot classification by embedding input images and texts on a joint representational space. Recently, a modality gap has been reported in two-encoder contrastive models like CLIP, meaning that the image and text embeddings reside in disjoint areas of the latent space. Previous studies suggest that this gap exists due to 1) the cone effect, 2) mismatched pairs in the dataset, and 3) insufficient training. We show that, even when accounting for all these factors, and even when using the same modality, the contrastive loss actually creates a gap during training. As a result, We propose that the modality gap is inherent to the two-encoder contrastive loss and rename it the contrastive gap. We present evidence that attributes this contrastive gap to low uniformity in CLIP space, resulting in embeddings that occupy only a small portion of the latent space. To close the gap, we adapt the uniformity and alignment properties of unimodal contrastive loss to the multi-modal setting and show that simply adding these terms to the CLIP loss distributes the embeddings more uniformly in the representational space, closing the gap. In our experiments, we show that the modified representational space achieves better performance than default CLIP loss in downstream tasks such as zero-shot image classification and multi-modal arithmetic.
Unsupervised Cross-Modality Domain Adaptation for Vestibular Schwannoma Segmentation and Koos Grade Prediction based on Semi-Supervised Contrastive Learning
Radboud University Medical Center(拉德堡德大学医学中心);The Netherlands Cancer Institute(荷兰癌症研究所);Nanjing University of Information Science and Technology(南京信息工程大学)
SaliencyI2PLoc: saliency-guided image-point cloud localization using contrastive learning
State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing(测绘遥感信息工程国家重点实验室);Wuhan University(武汉大学);School of Electrical and Electronic Engineering(电气与电子工程学院);Nanyang Technological University(南洋理工大学);School of Geography and Environment(地理与环境学院);Jiangxi Normal University(江西师范大学)
Is Contrastive Distillation Enough for Learning Comprehensive 3D Representations?
School of Mechatronic Engineering and Automation, Shanghai University, Shanghai, China(上海大学机械与自动化工程学院);Department of Computer Science, City University of Hong Kong, Hong Kong SAR, China(香港城市大学计算机科学系)
Contrastive Regularization over LoRA for Multimodal Biomedical Image Incremental Learning
School of Computer Science and Engineering, Central South University(计算机科学与工程学院,中南大学);School of Automation, Central South University(自动化学院,中南大学);School of Computer Science and Technology, Beijing Jiaotong University(计算机科学与技术学院,北京交通大学)
A Modality-Tailored Graph Modeling Framework for Urban Region Representation via Contrastive Learning
Center for Applied Statistics, School of Statistics, Innovation Platform, Renmin University of China(应用统计中心、统计学院、创新平台、中国人民大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学深圳学院)
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(深圳技术大学大数据与互联网学院)
M5Product: Self-harmonized Contrastive Learning for E-commercial Multi-modal Pretraining
Sun Yat-sen University(中山大学);Beijing Jiaotong University(北京交通大学);UiT The Arctic University of Norway(挪威UiT北极大学);PengCheng Laboratory(鹏城实验室);Alibaba Group(阿里巴巴集团);Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区)
CC-DCNet: Dynamic Convolutional Neural Network with Contrastive Constraints for Identifying Lung Cancer Subtypes on Multi-modality Images
Zhejiang Lab(之江实验室);Institute of Computer Graphics and Vision(计算机图形与视觉研究所);Graz University of Technology(格拉茨工业大学);School of Computer Science and Engineering(计算机科学与工程学院);Northwestern Polytechnical University(西北工业大学);Zhejiang University School of Medicine(浙江大学医学院);Sir Run Run Shaw Hospital(邵逸夫医院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
Characterizing and overcoming the greedy nature of learning in multi-modal deep neural networks
New York University(纽约大学);NYU Grossman School of Medicine(纽约大学格罗斯曼医学院);Courant Institute of Mathematical Sciences(库朗数学科学研究所);Genentech(基因泰克);CIFAR LMB(加拿大高等研究院分子生物学实验室)
我们假设,由于多模态深度神经网络中学习的贪婪性质,这些模型往往只依赖于一种模态,而不适合其他模态。正如我们根据经验观察到的那样,这种行为是违反直觉的,并且损害了模型的泛化。为了估计模型对每种模态的依赖性,我们计算当模型除了另一种模态之外还可以访问它时的准确性增益。我们把这种收益称为条件利用率。在实验中,我们始终观察到在多个任务和架构之间的模态条件利用率的不平衡。由于在训练过程中无法有效地计算条件利用率,因此我们根据模型从每种模态学习的速度(我们称之为条件学习速度)为其引入了一个代理。我们提出了一种算法来平衡训练过程中模态之间的条件学习速度,并证明它确实解决了贪婪学习的问题。该算法改进了模型在三个数据集上的泛化:Colored MNIST、ModelNet 40和NVIDIA Dynamic Hand Gesture。
MouseGAN++: Unsupervised Disentanglement and Contrastive Representation for Multiple MRI Modalities Synthesis and Structural Segmentation of Mouse Brain
Beijing University of Posts and Telecommunication(北京邮电大学);Rutgers University(罗格斯大学);The Chinese University of Hong Kong(香港中文大学);Chinese Academy of Sciences(中国科学院);Hasso Plattner Institute(哈索·普拉特纳研究院)
COSMOS: Cross-Modality Self-Distillation for Vision Language Pre-training
Technical University of Munich(慕尼黑工业大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Helmholtz Munich(亥姆霍兹慕尼黑中心);Munich Data Science Institute (MDSI)(慕尼黑数据科学研究所)
HSCR: Hierarchical Self-Contrastive Rewarding for Aligning Medical Vision Language Models
Zhejiang University(浙江大学);Byte Dance(字节跳动);National University of Singapore(新加坡国立大学);Angelalign Inc China(Angelalign中国公司);Zhejiang Key Laboratory of Medical Imaging Artificial Intelligence(浙江省医学影像人工智能重点实验室)