SAM-LAD: Segment Anything Model Meets Zero-Shot Logic Anomaly Detection
Yun Peng, Xiao Lin, Nachuan Ma, Jiayuan Du, Chuangwei Liu, Chengju, Liu, and Qijun Chen

TL;DR
SAM-LAD introduces a zero-shot, plug-and-play framework that leverages the Segment Anything Model and object matching techniques to detect logical and structural anomalies across diverse scenes without prior training.
Contribution
It presents a novel zero-shot approach combining SAM, object matching, and dynamic attention for logical anomaly detection, enhancing generalizability and effectiveness.
Findings
Outperforms state-of-the-art methods on industrial and logical datasets.
Effectively detects both logical and structural anomalies.
Demonstrates strong zero-shot generalization capabilities.
Abstract
Visual anomaly detection is vital in real-world applications, such as industrial defect detection and medical diagnosis. However, most existing methods focus on local structural anomalies and fail to detect higher-level functional anomalies under logical conditions. Although recent studies have explored logical anomaly detection, they can only address simple anomalies like missing or addition and show poor generalizability due to being heavily data-driven. To fill this gap, we propose SAM-LAD, a zero-shot, plug-and-play framework for logical anomaly detection in any scene. First, we obtain a query image's feature map using a pre-trained backbone. Simultaneously, we retrieve the reference images and their corresponding feature maps via the nearest neighbor search of the query image. Then, we introduce the Segment Anything Model (SAM) to obtain object masks of the query and reference…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVLSI and Analog Circuit Testing · Radiation Effects in Electronics · Physical Unclonable Functions (PUFs) and Hardware Security
MethodsFocus
