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

真实场景下基于通用熵优化的无监督CLIP微调

Realistic Unsupervised CLIP Fine-tuning with Universal Entropy Optimization

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);University of Science and Technology of China(中国科学技术大学);Nanjing University(南京大学)

Jian Liang, Lijun Sheng, Zhengbo Wang, Ran He, Tieniu Tan

AI总结:

针对无标签数据含未知类分布外样本的真实场景,提出通用熵优化(UEO)方法,通过置信度加权熵优化同时增强分布外检测与已知类识别,实验验证其有效性。

摘要:

视觉-语言模型(如CLIP)的出现,激发了大量关于将其应用于下游监督学习任务的研究。尽管已有一些研究探索了CLIP的无监督微调,但它们往往依赖于与真实标签相关联的类别名称形式的先验知识。本文探讨了一种真实的无监督微调场景,考虑未标记数据中存在来自未知类别的分布外样本。具体而言,我们专注于同时增强分布外检测以及对已知类别实例的识别。为了解决这一问题,我们提出了一种简单、高效且有效的方法,称为通用熵优化(UEO)。UEO利用样本级置信度来近似最小化高置信度实例的条件熵,并最大化低置信度实例的边际熵。除了优化文本提示外,UEO还整合了对CLIP视觉分支内通道级仿射变换的优化。跨15个领域和4种不同类型的先验知识的大量实验验证了UEO相对于基线方法的有效性。代码公开于\url{https://github.com/tim-learn/UEO}。

英文摘要:

The emergence of vision-language models, such as CLIP, has spurred a significant research effort towards their application for downstream supervised learning tasks. Although some previous studies have explored the unsupervised fine-tuning of CLIP, they often rely on prior knowledge in the form of class names associated with ground truth labels. This paper explores a realistic unsupervised fine-tuning scenario, considering the presence of out-of-distribution samples from unknown classes within the unlabeled data. In particular, we focus on simultaneously enhancing out-of-distribution detection and the recognition of instances associated with known classes. To tackle this problem, we present a simple, efficient, and effective approach called Universal Entropy Optimization (UEO). UEO leverages sample-level confidence to approximately minimize the conditional entropy of confident instances and maximize the marginal entropy of less confident instances. Apart from optimizing the textual prompt, UEO incorporates optimization of channel-wise affine transformations within the visual branch of CLIP. Extensive experiments across 15 domains and 4 different types of prior knowledge validate the effectiveness of UEO compared to baseline methods. The code is publicly available at \url{https://github.com/tim-learn/UEO}.

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

↑