arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.02053cs.CLcs.AIcs.CVcs.LGcs.MM
收藏

注意差距:理解多通道对比表示学习中的通道差距

Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learning

Stanford University(斯坦福大学);Columbia University(哥伦比亚大学)

Weixin Liang, Yuhui Zhang, Yongchan Kwon, Serena Yeung, James Zou

摘要:

我们提出了模态间隙,一个有趣的几何现象的表示空间的多模态模型。具体来说,我们表明,不同的数据形式(如图像和文本)嵌入在手臂的长度在他们的共享表示在多模态模型,如CLIP。我们的系统分析表明,这种差距是由模型初始化和对比学习优化相结合造成的。在模型初始化中,我们从经验和理论上证明了普通深度神经网络的表示仅限于窄锥。因此,在具有两个编码器的多模态模型中,当模型被初始化时,两个模态的表示被清楚地分开。在优化过程中,对比学习使不同模态保持一定的距离,该距离受损失函数中的温度参数的影响。我们的实验进一步证明,改变模态间隙距离在提高模型的下游zero-shot分类性能和公平性方面具有显著影响。我们的代码和数据可在https://modalitygap.readthedocs.io/上获得

英文摘要:

We present modality gap, an intriguing geometric phenomenon of the representation space of multi-modal models. Specifically, we show that different data modalities (e.g. images and text) are embedded at arm's length in their shared representation in multi-modal models such as CLIP. Our systematic analysis demonstrates that this gap is caused by a combination of model initialization and contrastive learning optimization. In model initialization, we show empirically and theoretically that the representation of a common deep neural network is restricted to a narrow cone. As a consequence, in a multi-modal model with two encoders, the representations of the two modalities are clearly apart when the model is initialized. During optimization, contrastive learning keeps the different modalities separate by a certain distance, which is influenced by the temperature parameter in the loss function. Our experiments further demonstrate that varying the modality gap distance has a significant impact in improving the model's downstream zero-shot classification performance and fairness. Our code and data are available at https://modalitygap.readthedocs.io/

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑