TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/AnomalyDINO: Boosting Patch-based Few-shot Anomaly Detecti...

AnomalyDINO: Boosting Patch-based Few-shot Anomaly Detection with DINOv2

Simon Damm, Mike Laszkiewicz, Johannes Lederer, Asja Fischer

2024-05-23Few-Shot LearningMeta-LearningAnomaly SegmentationAnomaly Detection
PaperPDFCode(official)

Abstract

Recent advances in multimodal foundation models have set new standards in few-shot anomaly detection. This paper explores whether high-quality visual features alone are sufficient to rival existing state-of-the-art vision-language models. We affirm this by adapting DINOv2 for one-shot and few-shot anomaly detection, with a focus on industrial applications. We show that this approach does not only rival existing techniques but can even outmatch them in many settings. Our proposed vision-only approach, AnomalyDINO, is based on patch similarities and enables both image-level anomaly prediction and pixel-level anomaly segmentation. The approach is methodologically simple and training-free and, thus, does not require any additional data for fine-tuning or meta-learning. Despite its simplicity, AnomalyDINO achieves state-of-the-art results in one- and few-shot anomaly detection (e.g., pushing the one-shot performance on MVTec-AD from an AUROC of 93.1% to 96.6%). The reduced overhead, coupled with its outstanding few-shot performance, makes AnomalyDINO a strong candidate for fast deployment, e.g., in industrial contexts.

Results

TaskDatasetMetricValueModel
Anomaly DetectionMVTec ADDetection AUROC99.5AnomalyDINO-S (full-shot)
Anomaly DetectionMVTec ADSegmentation AUPRO95AnomalyDINO-S (full-shot)
Anomaly DetectionMVTec ADSegmentation AUROC98.2AnomalyDINO-S (full-shot)
Anomaly DetectionMVTec ADDetection AUROC97.7AnomalyDINO-S (4-shot)
Anomaly DetectionMVTec ADSegmentation AUPRO93.4AnomalyDINO-S (4-shot)
Anomaly DetectionMVTec ADSegmentation AUROC97.2AnomalyDINO-S (4-shot)
Anomaly DetectionMVTec ADDetection AUROC96.9AnomalyDINO-S (2-shot)
Anomaly DetectionMVTec ADSegmentation AUPRO93.1AnomalyDINO-S (2-shot)
Anomaly DetectionMVTec ADSegmentation AUROC97AnomalyDINO-S (2-shot)
Anomaly DetectionMVTec ADDetection AUROC96.6AnomalyDINO-S (1-shot)
Anomaly DetectionMVTec ADSegmentation AUPRO92.7AnomalyDINO-S (1-shot)
Anomaly DetectionMVTec ADSegmentation AUROC96.8AnomalyDINO-S (1-shot)
Anomaly DetectionVisADetection AUROC97.6AnomalyDINO-S (full-shot)
Anomaly DetectionVisASegmentation AUPRO (until 30% FPR)96.1AnomalyDINO-S (full-shot)
Anomaly DetectionVisASegmentation AUROC98.8AnomalyDINO-S (full-shot)
Anomaly DetectionVisADetection AUROC92.6AnomalyDINO-S (4-shot)
Anomaly DetectionVisASegmentation AUPRO (until 30% FPR)94.1AnomalyDINO-S (4-shot)
Anomaly DetectionVisASegmentation AUROC98.2AnomalyDINO-S (4-shot)
Anomaly DetectionVisADetection AUROC89.7AnomalyDINO-S (2-shot)
Anomaly DetectionVisASegmentation AUPRO (until 30% FPR)93.4AnomalyDINO-S (2-shot)
Anomaly DetectionVisASegmentation AUROC98AnomalyDINO-S (2-shot)
Anomaly DetectionVisADetection AUROC87.4AnomalyDINO-S (1-shot)
Anomaly DetectionVisASegmentation AUPRO (until 30% FPR)92.5AnomalyDINO-S (1-shot)
Anomaly DetectionVisASegmentation AUROC97.8AnomalyDINO-S (1-shot)

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-21GLAD: Generalizable Tuning for Vision-Language Models2025-07-173DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16Imbalanced Regression Pipeline Recommendation2025-07-16CLID-MU: Cross-Layer Information Divergence Based Meta Update Strategy for Learning with Noisy Labels2025-07-16A Privacy-Preserving Framework for Advertising Personalization Incorporating Federated Learning and Differential Privacy2025-07-16