Abstract
In data-driven industrial anomaly detection, the scarcity of defect samples and the emergence of unknown defect types pose significant challenges to quality control. While unsupervised generative models offer a viable solution, existing diffusion-based methods (e.g., DDAD) face a critical limitation: they often fail to distinguish between normal and anomalous patterns during reconstruction. Consequently, these models may inadvertently reconstruct the defects themselves rather than restoring the healthy state, leading to missed detections and inaccurate anomaly localization. To address this dilemma, we propose Masked DDAD (mDDAD), which integrates Masked Image Modeling (MIM) to enforce the learning of global semantic context, thereby enhancing sensitivity to anomalies. We further introduce a Dynamic Noise Adjustment Mechanism (DNAM) that selectively reduces noise intensity in masked regions to preserve essential structural information. Additionally, we optimize the training process via Dynamic Weighted Loss Optimization (DWLO) to prioritize critical regions. Experiments on the MVTec-AD and VisA datasets demonstrate that mDDAD effectively mitigates the reconstruction failure of baseline methods, significantly outperforming existing approaches in both anomaly detection and reconstruction accuracy. Code is available at https://github.com/zhg-SZPT/mDDAP.
京公网安备11010802044758号
Comments on this article