Printed circuit board defect detection systems achieve 79.3% [email protected] and retain 90.5% of stage-one old-class accuracy using a dual-level knowledge distillation framework that requires zero exemplars and adds no deployed parameters, according to Nature.
Production lines constantly introduce new defect categories via design revisions and process drift, but traditional inspection models trained under closed-world assumptions suffer from catastrophic forgetting when retrained. Joint retraining remains impossible because historical images cannot be stored due to confidentiality or storage constraints, Nature reported.
Single-stage anchor-free detectors featuring an explicit foreground-confidence branch propagate forgetting through category discrimination, objectness, and localisation pathways. Each of these three isolated pathways contributes at a comparable magnitude and remains largely non-redundant under a full 2 × 2 × 2 factorial analysis.
Prior incremental detectors constrained only classification, forfeiting most achievable retention, while omitting objectness distillation alone costs 7.3% mAP. To solve this, the proposed framework supervises every YOLOX prediction branch from a frozen previous-stage teacher and aligns pyramid feature pyramid network features using a direction-decoupled feature distillation loss.
This loss aggregates activations independently along rows and columns, concentrating gradients on sparse, anisotropic responses typical of board defects while outperforming channel-wise and attention-transfer alternatives.
Evaluated across ten baselines, three anchor-free detectors, six incremental scenarios on PKU-PCB and CPS2D-AD datasets, and a cross-domain PCB-to-ceramic-substrate transfer, the framework reaches 79.3% [email protected] on the 2+4 scenario. It maintains 76.8% under two compounding increments—outperforming the strongest competitor by 3.4%—while processing each image in 23.4 milliseconds, matching the speed of the non-incremental YOLOX-S detector.
Worth a look