Anchor and Adapt: Asymmetric Prompt Adaptation for Few-Shot Industrial Anomaly Detection

📅 2026-10-04
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the scarcity of defect supervision and the reliance on manual product descriptions in few-shot industrial anomaly detection by proposing a two-stage asymmetric prompt adaptation framework. The method decouples anomaly semantic acquisition from target appearance adaptation: it first learns transferable text anchors from auxiliary data, then fixes these anchors while adapting a new branch using only target normal samples to jointly represent normality. Through dual-normal-branch inheritance adaptation and text anchor regularization, the approach eliminates dependence on category-specific templates without requiring synthetic anomalies. Evaluated under 1/2/4-shot settings across the MVTec-AD and VisA datasets, the proposed method achieves competitive performance in both anomaly detection and localization.
📝 Abstract
In few-shot industrial anomaly detection, the few normal target images provide no direct defect supervision, making anomaly prompts difficult to learn from these samples alone. Some vision-language methods therefore use manually specified descriptions to supply explicit anomaly semantics. However, constructing these descriptions requires product-specific effort, and their effectiveness depends on prompt selection. We propose Anchor and Adapt, a two-stage prompt learning framework that separates the acquisition of anomaly semantics from adaptation to target normal appearance. Stage I learns transferable normal and abnormal anchors from annotated auxiliary data. Stage II keeps these anchors fixed and adapts an additional normal branch using the few target normal samples. The inherited and adapted normal branches jointly characterize target normality, with text-anchor regularization encouraging consistency with the generic normal prior and separation from the abnormal anchors. This design retains learned anomaly knowledge while reducing dependence on category-specific anomaly templates, without requiring synthetic anomaly generation. Cross-dataset experiments between MVTec-AD and VisA under 1-, 2-, and 4-shot settings demonstrate competitive detection and localization performance. Controlled ablations assess the roles of transferred anchors, asymmetric adaptation, dual-normal representations, and anchor regularization.
Problem

Research questions and friction points this paper is trying to address.

Few-Shot Industrial Anomaly Detection
Prompt Learning
Vision-Language Models
Anomaly Semantics
Innovation

Methods, ideas, or system contributions that make the work stand out.

Few-Shot Anomaly Detection
Prompt Learning
Asymmetric Adaptation
Anchor Regularization
Vision-Language Models
🔎 Similar Papers
No similar papers found.