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

TINS: 测试时ID-原型分离的负语义学习用于OD检测

TINS: Test-time ID-prototype-separated Negative Semantics Learning for OOD Detection

Shanghai Jiao Tong University(上海交通大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shanghai Innovation Institute(上海创新研究院);University of Electronic Science and Technology of China(电子科学与技术大学)

Yifeng Yang, Jubo Feng, Jing Xu, Xinbing Wang, Qinying Gu, Nanyang Ye

AI总结:

TINS通过测试时ID-原型分离负语义学习方法,提升OOD检测性能,实验显示在Four-OOD基准上FPR95显著降低。

摘要:

视觉-语言模型通过比较图像对齐与ID标签和负语义进行OD检测。现有基于负标签的方法主要依赖于推理前构造的静态负标签,限制了其覆盖多样且演变的OD概念的能力。尽管测试时扩展提供自然解决方案,但从潜在OD样本学习负语义可能引入硬ID污染。为解决此问题,我们提出了一种测试时ID-原型分离负语义学习方法(TINS)。TINS通过图像到文本模态倒置学习样本特定的负文本嵌入,并引入ID-原型分离正则化以保持其与ID语义分离。为进一步稳定负语义扩展,TINS采用组内聚合评分和缓冲区更新策略。在Four-OOD、OpenOOD、Temporal-shift和各种ID设置上进行的广泛实验显示,TINS在强基线模型上表现出一致的改进。值得注意的是,在使用ImageNet-1K作为ID的Four-OOD基准上,TINS将平均FPR95从14.04%降低到6.72%。我们的代码可在https://github.com/zxk1212/tins上获取。

英文摘要:

Vision-language models enable OOD detection by comparing image alignment with ID labels and negative semantics. Existing negative-label-based methods mainly rely on static negative labels constructed before inference, limiting their ability to cover diverse and evolving OOD concepts. Although test-time expansion provides a natural solution, naively learning negative semantics from potential OOD samples may introduce hard ID contamination. To address this issue, we propose a \textbf{T}est-time \textbf{I}D-prototype-separated \textbf{N}egative \textbf{S}emantics learning method, termed \textbf{TINS}. TINS learns sample-specific negative text embeddings via image-to-text modality inversion and introduces ID-prototype-separated regularization to keep them separated from ID semantics. To further stabilize negative semantics expansion, TINS employs group-wise aggregation scoring and a buffer update strategy. Extensive experiments across Four-OOD, OpenOOD, Temporal-shift, and Various ID settings show consistent improvements over strong baselines. Notably, on the Four-OOD benchmark with ImageNet-1K as ID, TINS reduces the average FPR95 from 14.04\% to 6.72\%. Our code is available at https://github.com/zxk1212/tins.

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

↑