A feature-aware attention selection network for anomaly detection on printed circuit boards

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 .

Authors

Institutions

Publication Details

Journal
Engineering Applications of Artificial Intelligence
Published
2026-02-26
DOI
https://doi.org/10.1016/j.engappai.2026.114303
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A feature-aware attention selection network for anomaly detection on printed circuit boards

Feiqing Zhang, Yuanguo Bi, Xiaoqiang Shi, Zhenyu Yin et al.
Engineering Applications of Artificial Intelligence
Anomaly Detection Techniques and Applications
article

A feature-aware attention selection network for anomaly detection on printed circuit boards

Feiqing Zhang, Yuanguo Bi, Xiaoqiang Shi, Zhenyu Yin, Guangjie Han, Li Qin, Youwei Yu
article en

Abstract

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 .

Engineering Applications of Artificial IntelligenceVol. 171
Hohai University (CN), Chinese Academy of Sciences (CN), Shenyang Institute of Computing Technology (China) (CN), University of Chinese Academy of Sciences (CN), Northeastern University (CN)
Openalex Percentile: Top 46%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.