EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

Decoder-only transformer with multi-scale attention for efficient printed circuit board defect inspection

Chi Kien Ha, Hoanh Nguyen

Bulletin of Electrical Engineering and Informatics · 01.08.2026 · 15 (4) · 3070-3079

DOI: 10.11591/eei.v15i4.10873 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Bulletin of Electrical Engineering and Informatics, online erschienen am 01.08.2026. Verfasst von Chi Kien Ha und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Printed circuit boards (PCBs) are critical components in modern electronics, detecting defects rapidly, and accurately is crucial in manufacturing. We propose a novel real-time PCB defect detection model based on a Transformer decoder-only architecture. The framework first extracts multi-scale features via a backbone with a feature pyramid network (FPN) and generates candidate regions using a region proposal network (RPN). These region proposals are encoded as query embeddings that drive an adaptive multi-scale deformable attention (AMDA) module in the Transformer decoder, replacing the standard encoder-decoder attention. By dynamically weighting multi-scale feature maps for each query, AMDA emphasizes the feature scale most relevant to each defect’s size and texture, and yielding enhanced discriminative representations for subtle defect detection. The decoder-only design drastically reduces computational overhead compared to full encoder-decoder Transformers, enabling real-time inference, and faster training convergence. Experiments on benchmark PCB defect datasets demonstrate that our approach outperforms state-of-the-art methods in both accuracy and speed. The proposed model’s efficiency and high precision make it well suited for deployment in fast-paced PCB manufacturing lines that demand stringent real-time performance and reliable defect detection.

Zitieren

APA

Ha, C. K., & Nguyen, H. (2026). Decoder-only transformer with multi-scale attention for efficient printed circuit board defect inspection. Bulletin of Electrical Engineering and Informatics, 15(4), 3070-3079. https://doi.org/10.11591/eei.v15i4.10873

Vancouver

Ha CK, Nguyen H. Decoder-only transformer with multi-scale attention for efficient printed circuit board defect inspection. Bulletin of Electrical Engineering and Informatics. 2026;15(4):3070-3079. doi:10.11591/eei.v15i4.10873

BibTeX
@article{Ha2026,
  author = {Ha, Chi Kien and Nguyen, Hoanh},
  title = {Decoder-only transformer with multi-scale attention for efficient printed circuit board defect inspection},
  journal = {Bulletin of Electrical Engineering and Informatics},
  year = {2026},
  volume = {15},
  number = {4},
  pages = {3070--3079},
  doi = {10.11591/eei.v15i4.10873}
}
Kostenlos starten →