• 대한전기학회
Mobile QR Code QR CODE : The Transactions of the Korean Institute of Electrical Engineers
  • COPE
  • kcse
  • 한국과학기술단체총연합회
  • 한국학술지인용색인
  • Scopus
  • crossref
  • orcid
Title Zero-shot PCB Defect Classification Method via a VLM?RAG Pipeline
Authors 이상정(Sang-Jeong Lee) ; 서성발(Sung-Bal Seo) ; 배유석(You-Suk Bae)
DOI https://doi.org/10.5370/KIEE.2026.75.7.1571
Page pp.1571-1578
Keywords PCB; Vision-Language Models; Zero-Shot Classification; Linear Probe; Retrieval-Augmented Generation (RAG)
Abstract We propose a practical VLM?RAG pipeline for PCB defect classification under severe label scarcity. Document-grounded prompts (from inspection specs and SOPs) align a CLIP-style zero-shot classifier to the manufacturing domain, ROI-tiling amplifies localized cues at inference, and a small-sample linear probe on frozen embeddings sharpens decision boundaries with minimal labeling. On a real PCB dataset, we compare domain-tuned zero-shot, ROI-tiling zero-shot, and the linear probe. ROI-tiling yields a small accuracy gain over zero-shot but does not improve macro-F1, while the linear probe achieves a meaningful improvement in both accuracy and macro-F1 over the zero-shot baseline. The reported accuracies remain below the level required for direct deployment; however, the results indicate that combining Visual RAG, document-grounded prompts, and lightweight supervision can reduce the cost of building an initial defect-classification model in data-scarce manufacturing environments, providing a practical starting point that can be incrementally refined as more labels become available.