Key points are not available for this paper at this time.
Self-supervised anomaly detection has emerged as a research hotspot in intelligent manufacturing and quality inspection, holding significant practical value in industrial applications. However, anomaly detection in real-world printed circuit board (PCB) production environments remains challenging. Existing methods often exhibit limited generalization when facing diverse anomaly types and environmental disturbances. In addition, high model complexity and insufficient capability for multi-scale fine-grained defect recognition constrain their practical deployment. To address these issues, this paper proposes a novel self-supervised anomaly detection framework (FSDNet). First, this paper proposes an Anomalous Sample Synthesizer Based on Diffusion Model (AnoDiff), which generates diverse and controllable anomalous samples to improve model generalization. Second, this paper designs an Anomaly Feature Perception Module (AFPM) that selects discriminative channels from pretrained features, thereby reducing model complexity while enhancing detection performance. Third, this paper proposes a Multi-scale Residual Reconstruction Network (MRRN) is developed to aggregate multi-scale features, improving sensitivity to fine-grained anomalies. Finally, this paper proposes two novel attention-based modules: a Top-k Sparse & Space Attention Module (TSSM) and a Gated Feature Enhancement Module (GFEM), both of which strengthen the discriminability and robustness of anomaly features. Experimental results demonstrate that the proposed method significantly outperforms state-of-the-art approaches on MVTec-AD, ViSA, and a self-constructed PCB dataset in terms of detection accuracy and robustness, validating its effectiveness and practical utility. The dataset and code are available at https://github.com/QinLi-STUDY/FSDNet/tree/master .
Yin et al. (Thu,) studied this question.