arXiv

Structure-Guided Mixed Masked Pretraining and Spatial Continuity Regularization for Printed Circuit Board Defect Detection

Title: Enhancing PCB Defect Detection via Structure-Guided Mixed Masked Pretraining and Spatial Continuity Regularization

Abstract:

Automated optical inspection (AOI) relies heavily on printed circuit board (PCB) defect detection, a task that presents significant practical hurdles due to the prevalence of minute, low-contrast anomalies obscured by dense circuitry. To overcome these challenges, this study introduces a two-stage framework for PCB defect detection that integrates spatial continuity regularization with structure-guided mixed masked pretraining. During the pretraining phase, we employ a sparse convolutional masked pretraining strategy to leverage unlabeled PCB imagery. This approach utilizes structure-guided mixed masking to generate informative masked inputs. By suppressing invalid responses within masked areas, the sparse convolutional reconstruction pipeline allows the detector’s backbone to reconstruct missing structural elements based on visible conductive patterns, effectively capturing PCB structural priors. In the subsequent fine-tuning phase, the pretrained backbone is adapted for the specific defect detection task. We introduce a spatial continuity regularization term to refine predictions by consolidating dispersed positive outputs associated with a single defect instance, thereby encouraging tighter localization along elongated defect areas. Experimental results on the DsPCBSD+ dataset demonstrate that our method reaches an mAP0.5 of 85.5% and an mAP0.5:0.95 of 52.3%, surpassing multiple robust baseline detectors. Further ablation studies and qualitative analyses validate the framework’s efficacy in ensuring robust defect detection within industrial AOI environments.


Source: arXiv Generated at: 2026-06-03 00:00:00 UTC

Related Articles

TechCrunch

The world’s largest privately owned laser just turned on

Xcimer Energy activated the Phoenix laser, the world’s largest privately owned laser, aiming to commercialize fusion pow...

Uber Targets Doubling Its Fleet of Electric Motorcycles in Kenya
Bloomberg

Uber Targets Doubling Its Fleet of Electric Motorcycles in Kenya

Uber plans to double its electric motorcycle fleet in Kenya. This expansion aims to enhance sustainable transport option...

AI Saves Time But Most Companies Waste the Gain, Study Shows
Bloomberg

AI Saves Time But Most Companies Waste the Gain, Study Shows

A study reveals that while AI saves employee time, most companies fail to capitalize on these gains, squandering potenti...

JPMorgan Lifts S&P Target on Earnings 'Supercycle'
Bloomberg

JPMorgan Lifts S&P Target on Earnings 'Supercycle'

JPMorgan raised its S&P 500 target, citing an earnings “supercycle” that reflects heightened confidence in corporate pro...

Europe Sleepwalking Into Economic Ruin, Serb Leader Says
Bloomberg

Europe Sleepwalking Into Economic Ruin, Serb Leader Says

Serbian leader warns Europe is sleepwalking into economic ruin.

Delta Electronics Flags Power Crunch
Bloomberg

Delta Electronics Flags Power Crunch

Delta Electronics warns of a looming power deficit due to surging demand and constrained production, predicting serious ...