arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.13040cs.LGcs.AIcs.CV
收藏

解读CLIP:关于ImageNet分布偏移鲁棒性的见解

Interpreting CLIP: Insights on the Robustness to ImageNet Distribution Shifts

University of Cambridge(剑桥大学);Apple(苹果公司)

Jonathan Crabbé, Pau Rodríguez, Vaishaal Shankar, Luca Zappella, Arno Blaas

AI总结:

本研究通过比较16个鲁棒与较不鲁棒的CLIP视觉编码器的表示空间,发现离群特征仅存在于鲁棒模型中,可作为无需偏移数据即可评估ImageNet分布偏移鲁棒性的指标。

摘要:

什么区分了鲁棒模型与非鲁棒模型?虽然对于ImageNet分布偏移,已有研究表明这种鲁棒性差异主要可追溯到训练数据的差异,但迄今为止,尚不清楚这在模型所学内容方面意味着什么。在本工作中,我们通过探测16个鲁棒的零样本CLIP视觉编码器的表示空间来弥合这一差距,这些编码器具有不同的骨干网络(ResNets和ViTs)和预训练集(OpenAI、LAION-400M、LAION-2B、YFCC15M、CC12M和{DataComp}),并将它们与具有相同骨干网络但不同(预)训练集或目标(在ImageNet-Captions上的CLIP预训练,以及在ImageNet上的监督训练或微调)的鲁棒性较差的模型的表示空间进行比较。通过这一分析,我们产生了三个新颖的见解。首先,我们在鲁棒的零样本CLIP视觉编码器中检测到离群特征的存在,据我们所知,这是首次在非语言和非Transformer模型中观察到这些特征。其次,我们发现离群特征的存在是模型ImageNet偏移鲁棒性的一个指示,因为在我们分析中仅在鲁棒模型中发现了它们。最后,我们还调查了表示空间中编码的独特概念数量,发现零样本CLIP模型在其表示空间中编码了更多数量的独特概念。然而,我们没有发现这是ImageNet偏移鲁棒性的指示,并推测它更可能与语言监督相关。由于离群特征的存在可以在不访问任何偏移数据集数据的情况下被检测到,我们相信它们可以成为从业者在部署期间了解预训练模型分布偏移鲁棒性的有用工具。

英文摘要:

What distinguishes robust models from non-robust ones? While for ImageNet distribution shifts it has been shown that such differences in robustness can be traced back predominantly to differences in training data, so far it is not known what that translates to in terms of what the model has learned. In this work, we bridge this gap by probing the representation spaces of 16 robust zero-shot CLIP vision encoders with various backbones (ResNets and ViTs) and pretraining sets (OpenAI, LAION-400M, LAION-2B, YFCC15M, CC12M and {DataComp}), and comparing them to the representation spaces of less robust models with identical backbones, but different (pre)training sets or objectives (CLIP pretraining on ImageNet-Captions, and supervised training or finetuning on ImageNet).Through this analysis, we generate three novel insights. Firstly, we detect the presence of outlier features in robust zero-shot CLIP vision encoders, which to the best of our knowledge is the first time these are observed in non-language and non-transformer models. Secondly, we find the existence of outlier features to be an indication of ImageNet shift robustness in models, since we only find them in robust models in our analysis. Lastly, we also investigate the number of unique encoded concepts in the representation space and find zero-shot CLIP models to encode a higher number of unique concepts in their representation space. However, we do not find this to be an indicator of ImageNet shift robustness and hypothesize that it is rather related to the language supervision. Since the presence of outlier features can be detected without access to any data from shifted datasets, we believe that they could be a useful tool for practitioners to get a feeling for the distribution shift robustness of a pretrained model during deployment.

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

↑