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

Hypergraph-Enhanced Training-Free and Language-Free Few-Shot Anomaly Detection

About

Few-shot anomaly detection (FSAD) has made significant strides, yet existing methods still face critical challenges: (i) dependence on task- or dataset-specific training/fine-tuning, (ii) reliance on language supervision or carefully hand-crafted prompts, and (iii) limited robustness across domains. In this paper, we introduce HyperFSAD, a novel FSAD framework that is training-free, language-free, and robust across domains, offering a powerful solution to these challenges. Built upon DINOv3 and a hypergraph-based inference mechanism, our approach performs inference without any task-specific optimization or text prompts, while remaining competitive. Specifically, we replace sensitive nearest-neighbor / top-$n$ matching with \textbf{Sparse Hyper Matching}: \textit{sparsemax} first selects the most relevant support patches, which are then aggregated into a \textit{hyperedge} as compact normal evidence to suppress background noise and distractors. We further introduce \textbf{Dual-Branch Image Scoring}, which fuses \emph{spatial anomaly evidence} from the patch-grid anomaly map with \emph{global semantic deviation} captured by support-aware CLS matching, yielding a robust image-level anomaly score in a strictly visual manner. Notably, all components of HyperFSAD are purely visual, eliminating the need for labor-intensive hand-crafted text prompts. Under the stringent training-free and language-free setting, HyperFSAD achieves state-of-the-art performance across six datasets spanning four industrial datasets (MVTecAD, VisA, MPDD, BTAD) and two medical datasets (RESC, BraTS).

Guohuan Xie, Xin He, Dingying Fan, Siqi Li, Yun Liu• 2026

Related benchmarks

TaskDatasetResultRank
Anomaly DetectionVisA--
293
Anomaly DetectionMVTec AD
Image AUROC96.9
92
Anomaly DetectionBraTS
Image-level AUROC91
90
Anomaly DetectionBTAD
Image-level AUROC96.5
63
Anomaly DetectionMPDD
I-AUROC84.7
63
Anomaly DetectionRESC
AUROC (Image-level, det.)92.7
58
Pixel-level Anomaly DetectionMVTec AD
PRO94
54
Anomaly LocalizationVisA
PRO93.1
41
Pixel-level Anomaly LocalizationBTAD
PRO86.1
33
Pixel-level Anomaly LocalizationBraTS
P-PRO81.1
27
Showing 10 of 31 rows

Other info

Follow for update