SolderNet: Towards Trustworthy Visual Inspection of Solder Joints in Electronics Manufacturing Using Explainable Artificial Intelligence

Hayden Gunraj, Paul Guerrier, Sheldon Fernandez, Alexander Wong · DOI

Abstract

SolderNet is a deep learning framework designed to automate the visual inspection of solder joints in electronics manufacturing. By integrating high-performance neural networks with "Second-Order" explainable AI (XAI), the system provides transparent decision-making, allowing operators to understand defect classifications and helping developers identify dataset biases.

Introduction

In high-stakes industries such as aerospace and medicine, a single faulty solder joint can lead to catastrophic failure. Traditional manual inspection is labor-intensive and prone to human error, with estimated error rates between 20% and 30%. While Deep Learning (DL) offers a high-speed alternative, its adoption is hindered by computational complexity, a lack of explainability, and unclear reliability in "black box" models.

The SolderNet Framework

The proposed SolderNet system moves from raw image capture to human-in-the-loop rework, ensuring that AI predictions are both accurate and interpretable.

The SolderNet inspection workflow, integrating automated detection with human review and XAI modules.

The framework includes several core technical contributions:

  • Optimized Architectures: Benchmarking of various CNNs, including efficiency-focused models like MobileNetV3 and performance-heavy ones like Attend-NeXt.
  • Visual Explanations: An adapted GSInquire algorithm generates heatmaps highlighting the specific pixels (critical factors) driving a prediction.
  • Second-Order Explainable AI (SOXAI): A novel approach using t-SNE to cluster visual explanations at the dataset level, revealing patterns in how the model perceives different defect classes.
  • Trust Quantification: The use of NetTrustScore to evaluate the alignment between model confidence and actual accuracy.

Experimental Setup and Dataset

The study utilized a custom dataset from Moog Inc., featuring 2,690 images of through-hole and surface-mount solder joints. The dataset includes 1,644 defective and 1,046 non-defective samples, covering real-world issues such as fractured joints, cold joints, burns, and flux residue.

Results and Trustworthiness Analysis

The evaluation highlighted several key performance metrics across different architectures:

  • Accuracy: The Attend-NeXt Large model achieved the highest accuracy (91.1%) and the highest NetTrustScore (0.904).
  • Efficiency: Attend-NeXt Small proved ideal for edge computing, with a latency of 0.275 seconds on an ARM Cortex-A72 processor.
  • Safety: MobileNetV2 recorded the lowest "escape" rate (false negatives) at 3.7%, a critical metric for mission-critical hardware where missed defects are unacceptable.
Visual explanations generated by SolderNet, highlighting critical regions for defect identification.

A significant finding was the "Overconfidence Gap." While models are generally trustworthy when correct, they can be dangerously overconfident when wrong. This underscores the necessity of XAI; by outlining suspected defects, the system enables human operators to validate "possibly defective" joints significantly faster than manual scanning.

Conclusion

SolderNet demonstrates that combining efficient deep learning with robust explainability can bridge the trust gap in automated industrial inspection. Future work will focus on standardizing imaging rigs for production environments and studying human-AI interaction to mitigate potential automation bias.

Summary updated

BibTeX
@inproceedings{gunraj2023soldernet,
  author = {Hayden Gunraj and Paul Guerrier and Sheldon Fernandez and Alexander Wong},
  title = {{SolderNet: Towards Trustworthy Visual Inspection of Solder Joints in Electronics Manufacturing Using Explainable Artificial Intelligence}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=Cuq-new0fEn},
}
Figure