arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.02127cs.CVstat.ML
收藏

对比视觉-文本对齐的拓扑结构设计

Design of the topology for contrastive visual-textual alignment

Zhun Sun

AI总结:

该研究从嵌入空间拓扑角度解析softmax温度在含噪数据对比学习中的作用,提出基于多类标记Transformer与斜流形映射的视觉-文本对齐拓扑设计,使CLIP零样本分类性能平均提升6.1%。

摘要:

在对比视觉-文本对齐学习中,余弦相似度是衡量特征表示之间距离的常用选择。然而经验表明,在大规模含噪训练数据上学习时,需要一个可学习的softmax温度参数。本研究首先从嵌入空间的拓扑性质出发,探讨了softmax温度的作用。我们认为,softmax温度是含噪训练数据上对比学习的关键机制,它充当距离范围(例如余弦相似度的[-1, 1]区间)的缩放因子,其学习到的数值可反映训练数据中的噪声水平。随后,我们提出了一种嵌入对齐拓扑的替代设计方案:在Transformer架构中使用多个类标记(class token),再将特征表示映射到一个以负内积为距离函数的斜流形上。采用该配置后,我们在大规模数据集上预训练的基线CLIP模型的零样本分类性能平均提升了6.1%。

英文摘要:

Cosine similarity is the common choice for measuring the distance between the feature representations in contrastive visual-textual alignment learning. However, empirically a learnable softmax temperature parameter is required when learning on large-scale noisy training data. In this work, we first discuss the role of softmax temperature from the embedding space's topological properties. We argue that the softmax temperature is the key mechanism for contrastive learning on noisy training data. It acts as a scaling factor of the distance range (e.g. [-1, 1] for the cosine similarity), and its learned value indicates the level of noise in the training data. Then, we propose an alternative design of the topology for the embedding alignment. We make use of multiple class tokens in the transformer architecture; then map the feature representations onto an oblique manifold endowed with the negative inner product as the distance function. With this configuration, we largely improve the zero-shot classification performance of baseline CLIP models pre-trained on large-scale datasets by an average of 6.1\%.

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

↑