Skip to main content
QUICK REVIEW

[Paper Review] BAF-Detector: An Efficient CNN-Based Detector for Photovoltaic Cell Defect Detection

Binyi Su, Haiyong Chen|arXiv (Cornell University)|Dec 19, 2020
Industrial Vision Systems and Defect DetectionEngineering37 references10 citations
TL;DR

This paper proposes BAF-Detector, an efficient CNN-based object detector for multi-scale photovoltaic cell defect detection in electroluminescence (EL) images. By integrating a novel Bidirectional Attention Feature Pyramid Network (BAFPN) with cosine non-local attention, the model enhances feature fusion across scales, suppresses background noise, and achieves 98.70% F-measure, 88.07% mAP, and 73.29% IoU on a large-scale EL dataset with 3,629 images.

ABSTRACT

The multi-scale defect detection for photovoltaic (PV) cell electroluminescence (EL) images is a challenging task, due to the feature vanishing as network deepens. To address this problem, an attention-based top-down and bottom-up architecture is developed to accomplish multi-scale feature fusion. This architecture, called Bidirectional Attention Feature Pyramid Network (BAFPN), can make all layers of the pyramid share similar semantic features. In BAFPN, cosine similarity is employed to measure the importance of each pixel in the fused features. Furthermore, a novel object detector is proposed, called BAF-Detector, which embeds BAFPN into Region Proposal Network (RPN) in Faster RCNN+FPN. BAFPN improves the robustness of the network to scales, thus the proposed detector achieves a good performance in multi-scale defects detection task. Finally, the experimental results on a large-scale EL dataset including 3629 images, 2129 of which are defective, show that the proposed method achieves 98.70% (F-measure), 88.07% (mAP), and 73.29% (IoU) in terms of multi-scale defects classification and detection results in raw PV cell EL images.

Motivation & Objective

  • To address the challenge of feature vanishing in deep CNNs during multi-scale defect detection in photovoltaic (PV) cell electroluminescence (EL) images.
  • To improve feature representation and fusion across scales, especially for small defects like micro-cracks and finger interruptions.
  • To enhance robustness against complex background interference, such as dislocations and busbars that resemble defects.
  • To develop an efficient, accurate, and practical detector suitable for industrial PV cell quality inspection.
  • To outperform existing detectors in accuracy and generalization on multi-scale defect detection tasks.

Proposed method

  • Proposes a multi-head cosine non-local attention module that computes similarity between features using cosine distance to highlight defect-relevant pixels and suppress background noise.
  • Introduces Bidirectional Attention Feature Pyramid Network (BAFPN), which fuses features from both top-down and bottom-up paths to improve multi-scale feature representation.
  • Embeds BAFPN into the Region Proposal Network (RPN) of Faster R-CNN with FPN to create BAF-Detector, enhancing region proposal quality.
  • Uses cosine similarity to measure attention weights, enabling more precise feature fusion than traditional dot-product attention.
  • Employs a symmetric, bidirectional feature fusion strategy that preserves both high-resolution and semantic-rich features across all pyramid levels.
  • Trains the model end-to-end on a large-scale EL image dataset of 3,629 images, including 2,129 defective samples, with data augmentation and transfer learning.

Experimental results

Research questions

  • RQ1Can a bidirectional attention-based feature pyramid network improve multi-scale defect detection in PV cell EL images compared to standard FPN?
  • RQ2Does cosine non-local attention outperform dot-product non-local attention in highlighting defects and suppressing background in EL images?
  • RQ3How does the integration of BAFPN into Faster R-CNN’s RPN affect detection accuracy and robustness on small and complex defects?
  • RQ4What is the trade-off between detection accuracy and inference speed in the proposed BAF-Detector?
  • RQ5Can the proposed method generalize well to real-world industrial settings with complex background disturbances?

Key findings

  • BAF-Detector achieves a 98.70% F-measure, indicating high precision and recall in multi-scale defect classification and detection.
  • The model attains 88.07% mean average precision (mAP), demonstrating strong performance across all defect types on the test set.
  • The IoU score reaches 73.29%, showing accurate localization of defect boundaries despite complex backgrounds.
  • Cosine non-local attention outperforms dot-product similarity in attention map quality, with clearer defect localization and better background suppression.
  • BAF-Detector achieves 7.75 FPS on a GPU workstation, balancing high accuracy with acceptable inference speed for industrial deployment.
  • Ablation studies confirm that both the bidirectional feature fusion and the attention module significantly improve performance, with BAFPN outperforming unidirectional FPN by up to 0.93% in mAP.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.