paper-with-me

홈 › Papers

AMI-Net: Adaptive Mask Inpainting Network for Industrial Anomaly Detection and Localization

2024-12-16 · Wei Luo, Haiming Yao, Wenyong Yu, Zhengyong Li

Unsupervised visual anomaly detection is crucial for enhancing industrial production quality and efficiency. Among unsupervised methods, reconstruction approaches are popular due to their simplicity and effectiveness. The key aspect of reconstruction methods lies in the restoration of anomalous regions, which current methods have not satisfactorily achieved. To tackle this issue, we introduce a novel \uline{A}daptive \uline{M}ask \uline{I}npainting \uline{Net}work (AMI-Net) from the perspective of adaptive mask-inpainting. In contrast to traditional reconstruction methods that treat non-semantic image pixels as targets, our method uses a pre-trained network to extract multi-scale semantic features as reconstruction targets. Given the multiscale nature of industrial defects, we incorporate a training strategy involving random positional and quantitative masking. Moreover, we propose an innovative adaptive mask generator capable of generating adaptive masks that effectively mask anomalous regions while preserving normal regions. In this manner, the model can leverage the visible normal global contextual information to restore the masked anomalous regions, thereby effectively suppressing the reconstruction of defects. Extensive experimental results on the MVTec AD and BTAD industrial datasets validate the effectiveness of the proposed method. Additionally, AMI-Net exhibits exceptional real-time performance, striking a favorable balance between detection accuracy and speed, rendering it highly suitable for industrial applications. Code is available at: https://github.com/luow23/AMI-Net

📄 PDF Abstract BibTeX arXiv:2412.11802

Code (1)

luow23/ami-net 공식 구현 pytorch

Tasks

Anomaly Detection

Similar Papers 제목 키워드 기반

AnomalySD: Few-Shot Multi-Class Anomaly Detection with Stable Diffusion Model

2024-08-04 · Zhenyu Yan, Qingqing Fang, Wenxi Lv, Qinliang Su

Anomaly detection is a critical task in industrial manufacturing, aiming to identify defective parts of products. Most industrial anomaly detection methods assume the availability of sufficient normal data for training. …

Anomaly ClassificationAnomaly DetectionMulti-class Anomaly Detection

MAGIC: Few-Shot Mask-Guided Anomaly Inpainting with Prompt Perturbation, Spatially Adaptive Guidance, and Context Awareness

2025-07-03 · JaeHyuck Choi, MinJun Kim, Je Hyeong Hong arxiv

Few-shot anomaly generation is a key challenge in industrial quality control. Although diffusion models are promising, existing methods struggle: global prompt-guided approaches corrupt normal regions, and existing inpai…

Iterative Image Inpainting with Structural Similarity Mask for Anomaly Detection

2021-01-01 · Hitoshi Nakanishi, Masahiro Suzuki, Yutaka Matsuo

Autoencoders have emerged as popular methods for unsupervised anomaly detection. Autoencoders trained on the normal data are expected to reconstruct only the normal features, allowing anomaly detection by thresholding re…

Anomaly DetectionImage InpaintingUnsupervised Anomaly Detection

Self-Supervised Masking for Unsupervised Anomaly Detection and Localization

2022-05-13 · Chaoqin Huang, Qinwei Xu, Yanfeng Wang, Yu Wang 외

Recently, anomaly detection and localization in multimedia data have received significant attention among the machine learning community. In real-world applications such as medical diagnosis and industrial defect detecti…

Anomaly DetectionAnomaly LocalizationDefect DetectionMedical Diagnosis+2

GroundingAnomaly: Spatially-Grounded Diffusion for Few-Shot Anomaly Synthesis

2026-04-09 · Yishen Liu, Hongcang Chen, Pengcheng Zhao, Yunfan Bao 외 arxiv

The performance of visual anomaly inspection in industrial quality control is often constrained by the scarcity of real anomalous samples. Consequently, anomaly synthesis techniques have been developed to enlarge trainin…

Anomaly DetectionImage Generation