Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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.

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

Related benchmarks

TaskDatasetResultRank
Out-of-Distribution DetectioniNaturalist
AUROC98.75
252
Out-of-Distribution DetectionSUN OOD with ImageNet-1k In-distribution (test)
FPR@957.37
247
Out-of-Distribution DetectionTextures
AUROC0.9314
186
Out-of-Distribution DetectionPlaces
FPR9530.06
175
Out-of-Distribution DetectionSUN
FPR@9521.05
104
OOD DetectionPlaces (OOD)
AUROC94.49
100
OOD DetectioniNaturalist
AUROC99.53
95
OOD DetectioniNaturalist (OOD) / ImageNet-1k (ID) 1.0 (test)
FPR950.2
90
Out-of-Distribution DetectionCIFAR10 (ID) vs SVHN (OOD)
AUROC100
81
OOD DetectionImageNet SUN
FPR@9517.02
70
Showing 10 of 42 rows

Other info

Follow for update