Anchor and Adapt: Asymmetric Prompt Adaptation for Few-Shot Industrial Anomaly Detection
Mengyang Zhao, Teng Fu, Haiyang Yu, Ke Niu, Bin Li, Xiangyang Xue
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.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
Prompt and Refinement: Asymmetric Mutual Learning for Infrared Small Target Detection with Noisy Labels
Shared title terminologycs.CVYimin Fu, Songbo Wang, Lizhuo Liu et al.
Teaching Students to Stand on Their Own: Distilling Vision Foundation Models for Fine-Grained Few-Shot Class-Incremental Learning
Shared title terminologycs.CVJunsu Kim, Seungryul Baek
Learning to Curate What You Generate for Generalizable Few-Shot Class-Incremental Learning
Shared title terminologycs.CVJunhui Yin, Yuchen Yang, Yilin Yin et al.
RoMod: Temporal Routing Modulation via Mixture-of-Experts for Video Anomaly Detection
Shared title terminologycs.CVChao Huang, Pengfei Wei, Benfeng Wang et al.
Representation--Behavior Alignment for Explainable Weakly-Supervised Video Anomaly Detection
Shared title terminologycs.CVChao Huang, Pengfei Wei, Kaige Li et al.
Detecting Defects that Matter: An Application-Driven Benchmark for Anomaly Detection in Manufacturing and Retail Logistics (VAND 4.0 Challenge)
Shared title terminologycs.CVLars Heckler-Kram, Dorian Henning, Ashwin Vaidya et al.