arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2604.15756cs.CLcs.CV

TTL: 用于基于预训练视觉-语言模型的分布外检测的测试时文本学习

TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language Models

Sun Yat-sen University(中山大学);China United Network Communications Corporation Limited Guangdong Branch(中国联合网络通信集团有限公司广东分公司);Peng Cheng Laboratory(鹏城实验室);Hong Kong University of Science and Technology(香港科技大学);Key Laboratory of Machine Intelligence and Advanced Computing, MOE(教育部机器智能与高级计算重点实验室)

Jinlun Ye, Jiang Liao, Runhe Lai, Xinhua Lu, Jiaxin Zhuang, Zhiyong Gan, Ruixuan Wang

AI总结:

本文提出TTL框架,通过动态学习测试流中的分布外文本语义提升测试时分布外检测性能,实验表明其在多个基准上均取得最优效果。

摘要:

视觉语言模型(如CLIP)通过对齐视觉和文本表示展现出强大的分布外检测(OOD)能力。最近的基于CLIP的测试时适应方法通过整合外部OOD标签进一步提高了检测性能。然而,这些标签是有限的且固定的,而真实的OOD语义空间本质上是开放的。因此,固定标签无法代表测试流中遇到的多样且不断演变的OOD语义。为了解决这一限制,我们引入了测试时文本学习(TTL),一种框架,该框架从未标记的测试流中动态学习OOD文本语义,而无需依赖外部OOD标签。TTL使用伪标记的测试样本更新可学习的提示,以捕捉新兴的OOD知识。为了抑制伪标签引入的噪声,我们引入了一种OOD知识净化策略,该策略选择可靠的OOD样本进行适应并抑制噪声。此外,TTL维护一个OOD文本知识库,存储高质量的文本特征,为不同批次提供稳定的分数校准。在两个标准基准和九个OOD数据集上的广泛实验表明,TTL始终取得最先进的性能,突显了文本适应在稳健的测试时OOD检测中的价值。我们的代码可在https://github.com/figec/TTL上获得。

英文摘要:

Vision-language models (VLMs) such as CLIP exhibit strong Out-of-distribution (OOD) detection capabilities by aligning visual and textual representations. Recent CLIP-based test-time adaptation methods further improve detection performance by incorporating external OOD labels. However, such labels are finite and fixed, while the real OOD semantic space is inherently open-ended. Consequently, fixed labels fail to represent the diverse and evolving OOD semantics encountered in test streams. To address this limitation, we introduce Test-time Textual Learning (TTL), a framework that dynamically learns OOD textual semantics from unlabeled test streams, without relying on external OOD labels. TTL updates learnable prompts using pseudo-labeled test samples to capture emerging OOD knowledge. To suppress noise introduced by pseudo-labels, we introduce an OOD knowledge purification strategy that selects reliable OOD samples for adaptation while suppressing noise. In addition, TTL maintains an OOD Textual Knowledge Bank that stores high-quality textual features, providing stable score calibration across batches. Extensive experiments on two standard benchmarks with nine OOD datasets demonstrate that TTL consistently achieves state-of-the-art performance, highlighting the value of textual adaptation for robust test-time OOD detection. Our code is available at https://github.com/figec/TTL.

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

↑