Demonstrates effective PCB defect detection using a hybrid CNN-Transformer, indicating improved identification in complex backgrounds.
Printed circuit board (PCB) defect detection is essential for industrial quality control, yet it remains challenging due to the tiny size and low contrast of defects, as well as complex backgrounds. Existing detectors still struggle with the loss of fine defect details, inefficient global context modeling in repetitive PCB background patterns, and suboptimal multi-scale feature fusion under defect-size variations. To address these issues, we propose HTA-Det, a hybrid CNN–Transformer detector with three synergistic components. First, we propose a detail-preserving backbone that uses cascaded RepNCSP blocks for progressive feature refinement to mitigate the early-stage loss of fine-grained details crucial for tiny defects. The aggregated features are then passed through an attention refinement stage to selectively enhance defect-relevant features. Second, a hybrid polarity-aware linear-attention encoder, enhanced by three submodules, is developed for efficient global context modeling. Finally, an adaptive fusion strategy is designed to learn content-aware and scale-specific weights for feature maps from different levels. Experiments on the PKU-Market-PCB and DeepPCB datasets show that HTA-Det achieves mAP₅₀ scores of 99.3% and 99.1%, respectively, with only 9.2M parameters. These results indicate that HTA-Det provides an effective and efficient solution for PCB defect detection.
No takes yet. Share an insight, caveat, or question.
Yan et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: