AMI-Net:用于工业异常检测与定位的自适应掩膜修复网络
AMI-Net: Adaptive Mask Inpainting Network for Industrial Anomaly Detection and Localization
AI总结:
提出AMI-Net,一种基于自适应掩膜修复的工业异常检测网络,利用多尺度语义特征和自适应掩膜生成器,在MVTec AD和BTAD数据集上实现高精度与实时性能的平衡。
摘要:
无监督视觉异常检测对于提升工业生产质量和效率至关重要。在无监督方法中,重建方法因其简单性和有效性而广受欢迎。重建方法的关键在于异常区域的恢复,而当前方法尚未令人满意地实现这一点。为解决这一问题,我们从自适应掩膜修复的角度提出了一种新颖的自适应掩膜修复网络(AMI-Net)。与将非语义图像像素作为目标的传统重建方法不同,我们的方法使用预训练网络提取多尺度语义特征作为重建目标。鉴于工业缺陷的多尺度特性,我们引入了一种涉及随机位置和数量掩膜的训练策略。此外,我们提出了一种创新的自适应掩膜生成器,能够生成自适应掩膜,在保留正常区域的同时有效掩蔽异常区域。通过这种方式,模型可以利用可见的正常全局上下文信息来恢复被掩膜的异常区域,从而有效抑制缺陷的重建。在MVTec AD和BTAD工业数据集上的大量实验验证了所提方法的有效性。此外,AMI-Net展现出卓越的实时性能,在检测精度和速度之间取得了良好的平衡,使其非常适合工业应用。代码可在 https://github.com/luow23/AMI-Net 获取。
英文摘要:
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
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。