arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.23729cs.CV
收藏

DynProto: 动态原型进化用于分布外检测

DynProto: Dynamic Prototype Evolution for Out-of-Distribution Detection

Sun Yat-sen University(中山大学);Peng Cheng Laboratory(鹏城实验室);University of Nottingham Malaysia(诺丁汉马来西亚大学);Hong Kong University of Science and Technology(香港科学与技术大学);Key Laboratory of Machine Intelligence and Advanced Computing(智能与先进计算关键实验室)

Yanqi Wu, Xinhua Lu, Runhe Lai, Qichao Chen, Jia-Xin Zhuang, Wei-Shi Zheng, Ruixuan Wang

AI总结:

DynProto通过动态学习分布内信息生成原型,提升分布外检测性能,减少FPR95并提升AUROC。

摘要:

近期研究表明,利用大规模语料中的潜在分布外(OOD)标签作为辅助信息可提升视觉语言模型(VLMs)的OOD检测性能。然而,这些方法在现实世界中OOD样本超出预定义OOD标签集时往往失效。为解决这一限制,我们提出了DynProto,一种在测试期间仅使用分布内(ID)信息动态学习OOD原型的新方法。DynProto受到关键观察的启发:预测为相同ID类的OOD样本在特征空间中倾向于聚类。基于此见解,我们利用容易检测的OOD样本作为“锚点”来寻找更难检测的相似对应物。为此,DynProto引入了两个模块:粗粒度OOD模式捕捉模块缓存测试期间容易与ID类混淆的OOD模式,细粒度OOD模式精炼模块随后在每个缓存中聚类这些模式并将其聚合为代表性的OOD原型。通过测量与ID和动态OOD原型的相似性,DynProto实现了准确的OOD检测。DynProto在多个基准上显著优于先前方法。在ImageNet OOD基准上,DynProto将FPR95减少了11.60%并提高了AUROC 4.70%。此外,该框架架构无关,可集成到各种backbone中。

英文摘要:

Recent studies show that using potential out-of-distribution (OOD) labels from large corpora as auxiliary information can improve OOD detection in vision-language models (VLMs). However, these methods often fail when real-world OOD samples fall outside the predefined OOD label set. To address this limitation, we propose DynProto, a novel approach that learns OOD prototypes dynamically during testing using only in-distribution (ID) information. DynProto is inspired by a key observation: OOD samples predicted as the same ID class tend to cluster in the feature space. With this insight, we leverage easy-to-detect OOD samples as ``anchors'' to find their harder-to-detect, similar counterparts. To this end, DynProto introduces two modules: \textbf{Coarse OOD Pattern Capturing Module} caches OOD patterns that are easily confused with each ID class during testing, and \textbf{Fine-grained OOD Pattern Refinement Module} subsequently clusters these patterns within each cache and aggregates them into representative OOD prototypes. By measuring similarity to ID and dynamic OOD prototypes, DynProto enables accurate OOD detection. DynProto significantly outperforms prior methods across multiple benchmarks. On ImageNet OOD benchmark, DynProto reduces FPR95 by 11.60\% and improves AUROC by 4.70\%. Moreover, the framework is architecture-agnostic and can be integrated into various backbones.

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

↑