Learning Constrained Embeddings for Anomaly Region Localization
Ting-Wei Lu, Chih-Chang Yu, Hsu-Yung Cheng
Key points
From the paper's conclusion- Experiments on the MVTec-AD and VisA datasets demonstrate that MARC achieves improved synthetic-to-real transferability and more consistent performance between anomaly classification and localization than existing VLM-based approaches.
Abstract
Industrial Anomaly Detection (IAD) aims to determine whether a product image contains defects and to localize anomalous regions. Since real anomalies are scarce, diverse, and difficult to acquire, many IAD methods rely on synthetic anomalies for training. However, localization performance heavily depends on how well synthetic anomalies align with real-world defects. To address this challenge, this study proposes MARC (Marking Anomaly Regions with Constraints), a vision-only, self-supervised framework for pixel-level industrial anomaly localization. MARC generates synthetic anomalies and corresponding masks for training and introduces Class-Aware Look-Twice Feature Matching (CA-LTFM), which leverages global class semantics from a pretrained image encoder and combines multi-level patch features with learnable anchors to construct anomaly and normal prototypes for patch-to-prototype matching. Classification loss, segmentation loss, and disentanglement loss are jointly optimized to enable anomaly classification, localization, and anomaly/normal feature separation. Experiments on the MVTec-AD and VisA datasets demonstrate that MARC achieves improved synthetic-to-real transferability and more consistent performance between anomaly classification and localization than existing VLM-based approaches. While class-aware prototype matching and prototype disentanglement provide more transferable anomaly representations under fully synthetic training settings, the results further show that the synthetic-to-real domain gap remains a key challenge.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PC-Reg: Modeling Spatial Dependencies for Logical Anomaly DetectionElectronics · 2026
- FLASH: A "Generate Once, Synthesize Many" Framework for Synthetic Anomaly Generation in Industrial Anomaly DetectionarXiv · 2026
- REDiff-AD: No Training and No Target Masks for Industrial Anomaly Image Generation via Diversity-Driven In-Context MMDiTarXiv · 2026
- Online unsupervised industrial anomaly detection with adaptive resonance patch prototype memory and multi-level views.PloS one · 2026
- Unsupervised Industrial Anomaly Detection and Localization via Anomaly Score Fusion of Dual-Layer DINOv3 FeaturesElectronics · 2026
- AsymLoc: Asymmetric Point Supervision for Cross-Dataset Zero-Shot 3D Anomaly Localization.Sensors (Basel, Switzerland) · 2026