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

通过无标签提示分布学习与偏差校正增强零样本视觉模型

Enhancing Zero-Shot Vision Models by Label-Free Prompt Distribution Learning and Bias Correcting

University of Science and Technology of China(中国科学技术大学);Nanyang Technological University(南洋理工大学)

Xingyu Zhu, Beier Zhu, Yi Tan, Shuo Wang, Yanbin Hao, Hanwang Zhang

AI总结:

本文提出无需训练、无标签且免调参的Frolic框架,通过提示分布学习、置信度匹配融合与logit偏差校正提升CLIP零样本性能,并在16个数据集上验证其优势。

摘要:

视觉语言模型(如CLIP)在使用适当文本描述时已展现出令人瞩目的泛化能力。尽管在下游有标签数据上优化提示已被证明可有效提升性能,但这些方法需要承担标注的人工成本,并受标注质量限制。此外,由于CLIP是在高度不平衡的网络规模数据上预训练的,它存在固有的标签偏差,导致性能欠佳。为应对上述挑战,我们提出了一种无标签提示分布学习与偏差校正框架,命名为Frolic,它无需有标签数据即可提升零样本性能。具体而言,我们的Frolic学习提示原型上的分布,以捕获多样的视觉表示,并通过置信度匹配将其与原始CLIP自适应融合。该融合模型进一步通过无标签logit调整校正标签偏差而得到增强。值得注意的是,我们的方法不仅无需训练,还避免了超参数调优的需要。在16个数据集上的大量实验结果证明了本方法的有效性,尤其是在使用CLIP ViT-B/16时,在10个数据集上平均优于当前最优方法2.6%;并在使用CLIP ViT-B/16时,于ImageNet及其五个分布偏移上取得平均1.5%的优势。代码可在https://github.com/zhuhsingyuu/Frolic获取。

英文摘要:

Vision-language models, such as CLIP, have shown impressive generalization capacities when using appropriate text descriptions. While optimizing prompts on downstream labeled data has proven effective in improving performance, these methods entail labor costs for annotations and are limited by their quality. Additionally, since CLIP is pre-trained on highly imbalanced Web-scale data, it suffers from inherent label bias that leads to suboptimal performance. To tackle the above challenges, we propose a label-Free prompt distribution learning and bias correction framework, dubbed as **Frolic**, which boosts zero-shot performance without the need for labeled data. Specifically, our Frolic learns distributions over prompt prototypes to capture diverse visual representations and adaptively fuses these with the original CLIP through confidence matching. This fused model is further enhanced by correcting label bias via a label-free logit adjustment. Notably, our method is not only training-free but also circumvents the necessity for hyper-parameter tuning. Extensive experimental results across 16 datasets demonstrate the efficacy of our approach, particularly outperforming the state-of-the-art by an average of $2.6\%$ on 10 datasets with CLIP ViT-B/16 and achieving an average margin of $1.5\%$ on ImageNet and its five distribution shifts with CLIP ViT-B/16. Codes are available in https://github.com/zhuhsingyuu/Frolic.

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

↑