Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhai, Guangyao, Zhou, Yue, Deng, Xinyan, Heckler, Lars, Navab, Nassir, Busam, Benjamin
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915530769694720
author Zhai, Guangyao
Zhou, Yue
Deng, Xinyan
Heckler, Lars
Navab, Nassir
Busam, Benjamin
author_facet Zhai, Guangyao
Zhou, Yue
Deng, Xinyan
Heckler, Lars
Navab, Nassir
Busam, Benjamin
contents Few-shot anomaly detection streamlines and simplifies industrial safety inspection. However, limited samples make accurate differentiation between normal and abnormal features challenging, and even more so under category-agnostic conditions. Large-scale pre-training of foundation visual encoders has advanced many fields, as the enormous quantity of data helps to learn the general distribution of normal images. We observe that the anomaly amount in an image directly correlates with the difference in the learnt embeddings and utilize this to design a few-shot anomaly detector termed FoundAD. This is done by learning a nonlinear projection operator onto the natural image manifold. The simple operator acts as an effective tool for anomaly detection to characterize and identify out-of-distribution regions in an image. Extensive experiments show that our approach supports multi-class detection and achieves competitive performance while using substantially fewer parameters than prior methods. Backed up by evaluations with multiple foundation encoders, including fresh DINOv3, we believe this idea broadens the perspective on foundation features and advances the field of few-shot anomaly detection.
format Preprint
id arxiv_https___arxiv_org_abs_2510_01934
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors
Zhai, Guangyao
Zhou, Yue
Deng, Xinyan
Heckler, Lars
Navab, Nassir
Busam, Benjamin
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Few-shot anomaly detection streamlines and simplifies industrial safety inspection. However, limited samples make accurate differentiation between normal and abnormal features challenging, and even more so under category-agnostic conditions. Large-scale pre-training of foundation visual encoders has advanced many fields, as the enormous quantity of data helps to learn the general distribution of normal images. We observe that the anomaly amount in an image directly correlates with the difference in the learnt embeddings and utilize this to design a few-shot anomaly detector termed FoundAD. This is done by learning a nonlinear projection operator onto the natural image manifold. The simple operator acts as an effective tool for anomaly detection to characterize and identify out-of-distribution regions in an image. Extensive experiments show that our approach supports multi-class detection and achieves competitive performance while using substantially fewer parameters than prior methods. Backed up by evaluations with multiple foundation encoders, including fresh DINOv3, we believe this idea broadens the perspective on foundation features and advances the field of few-shot anomaly detection.
title Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2510.01934