arXiv Computer Vision
Aug 24

Crane: Context-Guided Prompt Learning and Attention Refinement for Zero-Shot Anomaly Detection

Crane is a CLIP‑based framework for zero‑shot anomaly detection that enhances dense localization by adapting the vision encoder with a correlation‑based attention module and conditioning learnable prompts on global image context. It further fuses anomaly‑relevant patch features into the global representation for more sensitive image‑level detection, and a variant called Crane+ leverages DINOv2 spatial correlations for stronger pixel‑level performance. Across seven industrial benchmarks, Crane raises mean image‑level AP by 4.5% and Crane+ boosts mean pixel‑level AUPRO by 9.0%.

By Alireza Salehi, Mohammadreza Salehi, Reshad Hosseini, Cees G. M. Snoek, Makoto Yamada, Mohammad Sabokrou
arXiv Computer Vision
Sep 4

PL-SCEA: Reconfiguring Pretrained Attention for Few-Shot Industrial Anomaly Detection

The paper introduces PL‑SCEA, a method that reconfigures the attention mechanism of frozen Vision Foundation Models to better detect and localize anomalies in industrial images with few training examples. PL‑SCEA preserves the semantic context of pretrained query‑key attention while adding token‑adaptive self‑correlations over contextualized value features, then applies positive‑correlation filtering and power‑law reweighting to highlight task‑relevant relationships. The resulting features are fed into a lightweight variational autoencoder to produce reconstruction‑based anomaly scores, achieving competitive image‑level detection and strong pixel‑level localization on MVTec AD and VisA datasets.

By Xiaoyu Yang, Qixing Wu, Huixian Zhao, Changlong Jin