CAMP: Selection-Free Test-Time Out-of-Distribution Detection with Vision-Language Models
Out-of-distribution (OOD) detection, which identifies test samples outside the in-distribution (ID) classes, is essential for reliable open-world deployment. Pretrained vision-language models enable zero-shot OOD detection using ID class names, and test-time methods further adapt the detector using an unlabeled test stream. However, existing test-time methods typically update their memories or proxies using only high-confidence samples. This selection bias overrepresents easy samples and excludes ambiguous ones, potentially limiting detection performance. To address this issue, we propose covariance-adjusted mean-difference projection (CAMP). Our key observation is that OOD samples shift the stream mean away from the ID mean toward the OOD feature region. CAMP computes the stream mean with equal weights and estimates the ID mean with confidence weights, both from all recent samples. It then adjusts their difference with the ID covariance to suppress variation within the known classes. Finally, each sample is scored by its projection onto this adjusted direction. CAMP requires no additional training or sample selection. Under the ideal condition, its score can be interpreted as a…
- arXiv
- 2612.06022
- Authors
- Hyunwoo Park, Saerin Lim, Seoung Bum Kim
- Categories
- cs.CV