CLIP(对比语言-图像预训练)模型及其变体正成为许多应用中的事实标准骨干网络。然而,从数亿图像-文本对中训练一个CLIP模型可能代价高昂。此外,传统CLIP模型不区分图像中嵌入的文本区域的视觉语义与含义,当嵌入区域中的文本与图像的视觉外观不匹配时,这可能导致模型缺乏鲁棒性。本文讨论了两种提高CLIP训练效率与鲁棒性的有效方法:(1)在保持相同优化步数的情况下扩充训练数据集,(2)过滤掉包含图像中文本区域的样本。通过这样做,我们在ImageNet和CoCo等公共基准上显著提高了分类和检索准确率。过滤掉带有文本区域的图像还能保护模型免受排版攻击。为了验证这一点,我们构建了一个名为ImageNet with Adversarial Text Regions(ImageNet-Attr)的新数据集。基于过滤的CLIP模型实现了68.78%的top-1准确率,优于之前所有准确率均低于50%的模型。
英文摘要:
The CLIP (Contrastive Language-Image Pre-training) model and its variants are becoming the de facto backbone in many applications. However, training a CLIP model from hundreds of millions of image-text pairs can be prohibitively expensive. Furthermore, the conventional CLIP model doesn't differentiate between the visual semantics and meaning of text regions embedded in images. This can lead to non-robustness when the text in the embedded region doesn't match the image's visual appearance. In this paper, we discuss two effective approaches to improve the efficiency and robustness of CLIP training: (1) augmenting the training dataset while maintaining the same number of optimization steps, and (2) filtering out samples that contain text regions in the image. By doing so, we significantly improve the classification and retrieval accuracy on public benchmarks like ImageNet and CoCo. Filtering out images with text regions also protects the model from typographic attacks. To verify this, we build a new dataset named ImageNet with Adversarial Text Regions (ImageNet-Attr). Our filter-based CLIP model demonstrates a top-1 accuracy of 68.78\%, outperforming previous models whose accuracy was all below 50\%.
CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Survey
The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));The Jilin University(吉林大学);Griffith University(格里菲斯大学);The Chinese University of Hong Kong(香港中文大学)
A Sober Look at the Robustness of CLIPs to Spurious Features
Hong Kong Baptist University(香港浸会大学);The Hong Kong University of Science and Technology(香港科技大学);The Chinese University of Hong Kong(香港中文大学);University of Washington(华盛顿大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
On the dynamic evolution of CLIP texture-shape bias and its relationship to human alignment and model robustness
Image Processing Lab, Universitat de Valencia, Spain(瓦伦西亚大学图像处理实验室);Centro de Biomateriales e Ingenieria Tisular, Universitat Politecnica de Valencia, Spain(瓦伦西亚理工大学生物材料与组织工程中心);Computer Vision Center, Spain(西班牙计算机视觉中心);Universitat Autònoma de Barcelona, Spain(巴塞罗那自治大学)
Endo-CLIP: Progressive Self-Supervised Pre-training on Raw Colonoscopy Records
Digital Medical Research Center, School of Basic Medical Sciences, Fudan University, Shanghai, China(上海复旦大学基础医学学院数字医学研究中心);University College London, London, UK(伦敦大学学院);Shanghai Key Laboratory of MICCAI, Shanghai, China(上海MICCAI重点实验室);Endoscopy Center and Endoscopy Research Institute, Zhongshan Hospital, Fudan University, Shanghai, China(复旦大学中山医院内窥镜中心和内窥镜研究所);Shanghai Collaborative Innovation Center of Endoscopy, Shanghai, China(上海内窥镜协同创新中心);Shanghai Institute for Advanced Study of Zhejiang University, Shanghai, China(浙江大学上海高级研究院);Alliance Manchester Business School, The University of Manchester, Manchester, UK(曼彻斯特大学曼彻斯特商业学校);Data Science Institute, Imperial College London, London, UK(伦敦帝国理工学院数据科学研究院)
Proxy Robustness in Vision Language Models is Effortlessly Transferable
Chongqing Key Laboratory of Bio-perception(重庆生物感知实验室);Multimodal Intelligent Information Processing, Chongqing University, Chongqing 401331, China(多模态智能信息处理,重庆大学,重庆401331,中国);School of Microelectronics(微电子学院);Communication Engineering, Chongqing University, Chongqing 401331, China(通信工程,重庆大学,重庆401331,中国);School of Data Science, Lingnan University, Hong Kong(数据科学学院,岭南大学,香港)
AGC: Adaptive Geodesic Correction for Adversarial Robustness on Vision-Language Models
NLPR & MAIS, Institute of Automation, Chinese Academy of Sciences(自动化研究所国家工程研究中心与人工智能院,中国科学院);School of Computer Science and Engineering, Central South University(中南大学计算机科学与工程学院);University of Chinese Academy of Sciences(中国科学院大学)
Alibaba Group(阿里巴巴集团);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Zhejiang University(浙江大学)
对比图像预训练(CLIP)模型具有zero-shot能力,通过使用图像与提示语句“a [CONTEXT] of [CLASS]"之间的相似性来对属于“[CLASS]”的图像进行分类。基于“[CONTEXT]"中的详尽文本线索,CLIP模型能够感知不同的上下文,例如背景、风格、视点,并对大范围的分布偏移表现出前所未有的鲁棒性。然而,最近的工作发现CLIP模型的进一步微调提高了准确性,但牺牲了下游任务的鲁棒性。我们进行了一项实证调查,以表明微调会破坏预训练CLIP特征的上下文感知能力。为了解决这个问题,我们提出了上下文感知鲁棒微调(CAR-FT)。CAR-FT在微调期间对模型进行规则化,以捕获上下文信息。具体来说,我们使用zero-shot提示权重来获得图像中包含的上下文分布。CAR-FT通过最小化由原始/微调CLIP模型引起的上下文分布之间的Kullback-Leibler分歧(KLD),使CLIP的上下文感知能力继承到下游任务中,并实现更高的分布内(ID)和分布外(OOD)准确性。实验结果表明,CAR-FT在ImageNet的五个OOD测试数据集上具有出色的鲁棒性,同时在九个下游任务上带来了准确率的提高。此外,CAR-FT超越了以前的领域泛化(DG)方法,在DomainBed基准测试中获得了78.5%的平均准确率,建立了新的最先进的水平。
Bridging the Task Gap: Multi-Task Adversarial Transferability in CLIP and Its Derivatives
Shenzhen Campus of Sun Yat-sen University, China(中山大学深圳校区);The National University of Singapore, Singapore(新加坡国立大学);National Key Laboratory of Science and Technology on Information System Security, China(信息系统安全科学技术国家重点实验室)
Self-Calibrated Consistency can Fight Back for Adversarial Robustness in Vision-Language Models
Guangdong Institute of Intelligence Science and Technology(广东智能科学与技术研究院);Agency for Science, Technology and Research(科技研究局);School of Information Technology(信息技术学院)