DI-CD: A dynamic interaction-based task-specific framework for industrial and remote sensing change detection
Assembly error detection in printed circuit board assembly (PCBA) is critical to ensuring the quality and reliability of industrial production lines. However, detecting subtle assembly errors in PCBA images remains a significant challenge due to complex layouts and fine-grained component structures. To address this, we propose DI-CD (Dynamic Interaction-Driven Change Detection) Net, a task-specific change detection framework with dynamic interaction, inspired by the way humans compare images to identify abnormal assembly patterns. DI-CD Net introduces the Self-Attention and Cross-Attention Guided Interaction (SA-CAGI) module to dynamically model both cross-image and intra-image feature dependencies. A refinement module leverages semantically rich deep features to guide the enhancement of noisy shallow features, while a Multi-Scale Densely Connected Feature Pyramid Network (MSDC-FPN) enables adaptive multi-scale feature fusion for robust representation learning. By simply switching the task head, DI-CD Net can flexibly adapt to both object-level and pixel-level change detection tasks. To support research on PCBA assembly error detection, we also construct PCBA-CD, a high-resolution change detection dataset comprising 5905 image pairs from nine real-world circuit boards. Extensive experiments demonstrate that DI-CD Net achieves state-of-the-art performance in object-level change detection on PCBA-CD, AICD, and LEVIR, while also exhibiting strong generalization capabilities in pixel-level change detection on LEVIR and CDD-CD. Furthermore, we explore the method’s potential under limited supervision by conducting k-shot and comparison experiments on the MVTec AD benchmark, confirming its effectiveness in semi-supervised anomaly detection scenarios. Code is available at https://github.com/Orange1105921991/DI-CD-Net .
Authors
- Zihao Zhang
- Qi Wang (ORCID: https://orcid.org/0009-0003-5943-3847)
- Hao Wang (ORCID: https://orcid.org/0000-0001-6881-9977)
- Luwen Zhang
- Shufeng Chen
Institutions
- Shandong University of Science and Technology (CN)
Publication Details
- Journal
- Ain Shams Engineering Journal
- Published
- 2026-03-16
- DOI
- https://doi.org/10.1016/j.asej.2026.104094
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00