선정목록으로
Chip Pad Inspection Method Based on an Improved YOLOv5 Algorithm
필름·전자재료 · (14) 드라이 필름(포토레지스트)
기본 정보
- 저자
- DOI
- 10.3390/s22176685
- 저널
- Sensors
- 발행년도
- 2022
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 6
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/s22176685
- 토픽
- Advancements in Photolithography Techniques
- OpenAlex ID
- W4295088249
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (14) 드라이 필름(포토레지스트)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 드라이 필름(포토레지스트)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Chip pad inspection is of great practical importance for chip alignment inspection and correction. It is one of the key technologies for automated chip inspection in semiconductor manufacturing. When applying deep learning methods for chip pad inspection, the main problem to be solved is how to ensure the accuracy of small target pad detection and, at the same time, achieve a lightweight inspection model. The attention mechanism is widely used to improve the accuracy of small target detection by finding the attention region of the network. However, conventional attention mechanisms capture feature information locally, which makes it difficult to effectively improve the detection efficiency of small targets from complex backgrounds in target detection tasks. In this paper, an OCAM (Object Convolution Attention Module) attention module is proposed to build long-range dependencies between channel features and position features by constructing feature contextual relationships to enhance the correlation between features. By adding the OCAM attention module to the feature extraction layer of the YOLOv5 network, the detection performance of chip pads is effectively improved. In addition, a design guideline for the attention layer is proposed in the paper. The attention layer is adjusted by network scaling to avoid network characterization bottlenecks, balance network parameters, and network detection performance, and reduce the hardware device requirements for the improved YOLOv5 network in practical scenarios. Extensive experiments on chip pad datasets, VOC datasets, and COCO datasets show that the approach in this paper is more general and superior to several state-of-the-art methods.
본문 56,993자
본문 펼치기
# _sensors_
_Article_
## Chip Pad Inspection Method Based on an Improved YOLOv5 Algorithm
Jiangjie Xu <sup>1,2</sup> , Yanli Zou <sup>1,2,</sup> * , Yufei Tan <sup>1,2</sup> and Zichun Yu <sup>1,2</sup>
1 School of Electronic and Information Engineering, Guangxi Normal University, Guilin 541000, China
2 Robot Laboratory, Guangxi Normal University, Guilin 541000, China
* Correspondence: zouyanli72@163.com
Abstract: Chip pad inspection is of great practical importance for chip alignment inspection and
correction. It is one of the key technologies for automated chip inspection in semiconductor manufacturing. When applying deep learning methods for chip pad inspection, the main problem to be
solved is how to ensure the accuracy of small target pad detection and, at the same time, achieve
a lightweight inspection model. The attention mechanism is widely used to improve the accuracy of
small target detection by finding the attention region of the network. However, conventional attention
mechanisms capture feature information locally, which makes it difficult to effectively improve the
detection efficiency of small targets from complex backgrounds in target detection tasks. In this paper,
an OCAM (Object Convolution Attention Module) attention module is proposed to build long-range
dependencies between channel features and position features by constructing feature contextual
relationships to enhance the correlation between features. By adding the OCAM attention module
to the feature extraction layer of the YOLOv5 network, the detection performance of chip pads is
effectively improved. In addition, a design guideline for the attention layer is proposed in the paper.
The attention layer is adjusted by network scaling to avoid network characterization bottlenecks,
balance network parameters, and network detection performance, and reduce the hardware device
requirements for the improved YOLOv5 network in practical scenarios. Extensive experiments on
chip pad datasets, VOC datasets, and COCO datasets show that the approach in this paper is more
general and superior to several state-of-the-art methods.
Citation: Xu, J.; Zou, Y.; Tan, Y.; Yu, Z.
Chip Pad Inspection Method Based
on an Improved YOLOv5 Algorithm.
_Sensors_ 2022, _22_, 6685. [https://](https://doi.org/10.3390/s22176685)
[doi.org/10.3390/s22176685](https://doi.org/10.3390/s22176685)
Received: 3 August 2022
Accepted: 31 August 2022
Published: 4 September 2022
Publisher’s Note: MDPI stays neutral
with regard to jurisdictional claims in
published maps and institutional affil
iations.
Copyright: © 2022 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license [(https://](https://creativecommons.org/licenses/by/4.0/)
[creativecommons.org/licenses/by/](https://creativecommons.org/licenses/by/4.0/)
4.0/).
Keywords: OCAM; attention; YOLOv5; chip pads; artificial intelligence
1. Introduction
Chip pad inspection is the database for wafer alignment inspection and alignment
calibration, and it is one of the key technologies in the field of semiconductor manufacturing
automation. It ensures a high level of real time and accuracy in chip alignment inspection
and calibration and plays an important role in the subsequent decisions of chip alignment
inspection and calibration technology [1,2].
In the actual wafer manufacturing process, chip alignment greatly affects the yield of
wafer chips. In recent years, with the rapid development of deep learning, deep learning
has provided a new solution for chip alignment inspection technology, which can quickly
detect pads and pad defects [3–5], and indirectly detect and correct chip alignment by
detecting chip pads. In practical alignment work, the chip solder joints are detected by
a target detection algorithm, and if the machine detects a chip solder joint, the chip pads are
considered to be unaligned, and if no chip pads are detected during the inspection process,
the alignment is considered to be successful. Most of the state-of-the-art target detection
algorithms use convolutional neural networks, which can meet the requirements of high
real-time and high accuracy in industry and have achieved better results in most of the
target detection tasks, as opposed to the traditional manual detection or region proposal
detection method [6].
_Sensors_ 2022, _22_, 6685 2 of 19
At present, the two most mainstream directions in object detection algorithms are
the two-stage detection algorithm and the single-stage detection algorithm. The classical
algorithms of two-stage object detection methods include Faster R-CNN [7] and R-FCN [8];
although the R-CNN series algorithms have high accuracy, they cannot achieve the requirement of real-time detection due to a large number of network parameters and slow
detection speed. Among the single-stage object detection algorithms are the SSD [9] and
YOLO [10–13] series algorithms; YOLOv5 [14] is by far the best algorithm to achieve accuracy and speed, and it achieves a good balance of detection accuracy and detection
speed; therefore, this paper uses the YOLOv5 network as a baseline network for chip pad
inspection. However, when the network is directly applied to the chip pad inspection task,
satisfactory inspection results are not achieved.
In chip pad inspection tasks, the small target size of chip pads makes it difficult for
conventional detection models to obtain chip pad targets from complex backgrounds effectively. Conventional CNNs use a large number of parameters and FLOPs to achieve better
detection performance; however, mobile devices with limited memory and computational
resources (smartphones and virtual machines) cannot use large networks for deployment and inference. Therefore, the ideal chip pad detection model needs to meet at least
two requirements for efficient small target detection performance and being lightweight.
Attentional mechanisms are widely used to solve small target detection problems.
Numerous research works have shown that attention plays a very important role in human
perception [15]. When viewing a picture, people usually do not pay attention to the whole
picture but focus their attention on a particular part of it. Similarly, in machine learning,
one can better capture the visual structure of object features by using local sequence features
to depict the whole object [16]. SE (Squeeze-and-Excitation networks) [17] uses 2D global
pooling to compute channel information, which enhances the channel feature information,
and a large number of experiments have demonstrated that the SE module can well solve
the “what” problem in computer vision tasks, but it is missing the position information.
Bottleneck Attention Module (BAM) [18] enhances the position information to some extent
by using spatial relations, but it cannot depict well the position relations of the target in the
target detection task. The later CA (Coordinate attention) [19] well represents the position
relationship of the target object by compressing the X, Y information, but it lacks the channel
information. The CBAM (Convolutional block attention module) [20], on the other hand,
uses channel attention mechanism and spatial attention mechanism to solve the problem
of “what” and “where” from two dimensions and improves both information features at
the same time. However, these attentions acquire the channel features or spatial features
from local, lacking the contextual relationship between features, and cannot acquire the
long-range dependencies between feature information.
In existing work on object detection, the introduction of the attention mechanism
layer has been effective in improving detection, but most of the literature does not explain
the particularities of the attention mechanism layer design [13,21–24]. A large number
of workers in the field of NAS (Neural Architecture Search) have demonstrated through
extensive experiments that there are principles to follow in the design of neural networks,
the utility of which is speculative, and that serious deviations from these principles often
lead to a deterioration in network quality, and that fixing these deviations promotes
architectural improvements. Kaiming et al. [25] proposed residual learning, which solves
the problem of deep network degradation while deepening the network, forms a thin
and long network, and greatly improves the network efficiency. Zagoruyko et al. [26]
proposed a method to increase the width of the convolutional layers, and the use of larger
convolutional kernels improved the expressiveness of the network to some extent. After
that, more lightweight models were proposed. Howard et al. [27,28] balanced the width
and resolution of the network by introducing a modulation factor and experimentally
demonstrated that the network efficiency reached higher after the two parameters were
balanced. Tan et al. [29] proposed a new scaling method, which uses a simple but efficient
composite coefficient to uniformly scale all dimensions of depth, width, and resolution
_Sensors_ 2022, _22_, 6685 3 of 19
and achieves the optimal balance of the network through scaling. Han et al. [30] further
investigated the expression bottleneck problem in single-layer design, identified the singlelayer design law, and proposed Rexnet, which was further improved on the existing one.
To solve the chip pad inspection problem, this paper proposes an improved YOLOv5
network algorithm, which not only ensures the improvement of small target chip pad
inspection accuracy but also reduces the model parameters and network computation to
meet the industrial production automation requirements.
The main contributions of our work are as follows:
_•_ A new attention module is proposed. Through a nested structure, the long-range
dependencies between different feature information are constructed pioneeringly to
strengthen the correlation between features and reduce the information loss from
shallow to high-level information, effectively improving the detection effect of small
target chip pads detection task.
_•_ A design guideline for a single attention layer is proposed. Influenced by the design of
neural network architectures, we conduct an in-depth study of the network expressiveness of a single attention layer and propose a design guideline by which the network
expressiveness of the attention layer can be effectively improved.
_•_ The existing YOLOv5 network has been improved. The parameters and detection effects have been balanced to achieve better overall network performance and
lighter weight.
2. Materials and Methods
_2.1._ _Datasets_
The chip pads dataset was obtained from a semiconductor company in Guangxi, China.
With reference to the actual chip pads in the inspection, we used an industrial camera with
6112 _×_ 3440 pixel resolution for image acquisition under different lighting conditions to
construct an image dataset of chip pads; the industrial camera contains a 10 cm focal length
and 200 _×_ magnification eyepiece and a 2000 w pixel CMOS sensor and some samples of
the dataset are shown in Figure 1a–d where chip pad A (rig) is the chip pad where the
probe needs to be aligned in the inspection, and chip pad B (wro) is the chip pad where
the probe does not need to be aligned in the inspection. The acquired data are filtered and
organized, and some of the images are cropped and data enhanced to enhance the usability
of the samples. Then the labeling software is used to label the different chip pad image
samples from the collected images. The chip pad dataset is constructed with 6000 chip pad
A and 2200 chip pad B. The total of 1464 image samples are divided into training and test
sets by 9:1. Figure 1e visualizes the distribution of target box size and the distribution of
target box appearance position in the dataset. The two figures show that the target box
size is uneven, the number of small targets is large, and the target appearance position is
concentrated in the middle of the pictures.
_2.2._ _Improvements to the YOLOv5 Network_
YOLOv5 (5.0) contains four models, namely YOLOv5s, YOLOV5m, YOLOv5l, and
YOLOv5x, of which YOLOv5s is the smallest model in the YOLOv5 series, with a size of
about 14 M, more suitable for industrial production applications.
The framework of YOLOv5 can be divided into four parts, namely, input, feature
extraction, backbone, and prediction layers. The input part feeds the images into the
network in the form of three channels; the feature extraction layer mainly consists of
C3 modules which perform feature extraction by Darknet53; in the backbone part, the
multiscale aggregation of features of different sizes is performed by the feature pyramid
structure (FPN), and finally, in the prediction layer the network performs target detection
and network prediction output.
In this paper, an OCAM attention module is introduced in the feature extraction
layer of YOLOv5 to improve the efficiency of small target detection in the target detection
network. Referring to the attention mechanism layer design guidelines proposed in this
_Sensors_ 2022, _22_, 6685 4 of 19
paper, an OCAM layer is embedded behind each C3 module in the feature extraction layer,
and then the network is scaled with reference to _α × β ≈_ 2 ( _α_ is the module depth and _β_ is
the expansion ratio), and the number of convolution kernels in each layer is compressed,
with the output of the first layer module being 32, the output of the second layer module
being 64, the output of the third layer module being 128, and the fourth layer module
The output of the first layer module is 32, the second layer module is 64, the third layer
~~module is 128, the fourth layer module is 256, and f~~ i ~~nally the aggregation is performed at~~
the backbone layer.
( a ) ( b )
( c ) ( d )
( e )
Figure 1. Wafer Solder Joint Dataset. ( a, b ) Sample image contains chip pad A; ( c ) Sample image contains chip pad B; ( d ) Sample image contains chip pad A and chip pad B; ( e ) Target
frame distribution.
In the backbone layer, inspired by the literature [31–35], we use the Ghost module
instead of the original convolution module in this paper to generate more redundant
features using less computation and parameters, which makes the network lighter and more
suitable for industrial automation production while ensuring that the network accuracy is
_Sensors_ 2022, _22_, 6685 5 of 19
not affected. In the prediction layer, we use CIOU [36] instead of the original GIOU [37].
Compared with the GIOU loss, the CIOU loss takes into account the overlapping area of
the bounding box, the distance to the centroid, and the consistency of the bounding box
aspect ratio, which is more consistent with the actual detection work. The structure of the
improved YOLOv5s network is shown in Figure 2.
Figure 2. Proposed improved YOLOv5s network structure diagram.
_2.3._ _OCAM Attention Module_
2.3.1. OCAM Contextual Relationship Construction
In this section, the paper first reviews some of the work on constructing contextual
links and then extends this section by constructing long-range dependencies between
different features.
Long-range dependencies: Non-Local Network [38] proposed a pioneering approach
for capturing long-range dependencies by aggregating the global context of a particular query to each query location. GC-Net [39] further simplifies such relationships and
unifies them into a three-step generic framework for global context modeling with the
following formulation:
_zi_ = _F_ ( _xi_, _δ_ (
_Np_
### ∑
_j_ =1
_αjxj_ )) (1)
_Np_
∑ _j_ =1 <sup>_αjχj_</sup> <sup>denotes</sup> <sup>the</sup> <sup>global</sup> <sup>context</sup> <sup>features</sup> <sup>obtained,</sup> <sup>_j_</sup> <sup>denotes</sup> <sup>the</sup> <sup>index</sup> <sup>on</sup> <sup>the</sup>
feature map, _δ_ ( ) denotes the feature transform that captures the channel correlation,
and _F_ ( ) denotes the feature fusion function that aggregates the global context features to
each location.
Attentional characteristics: Here, we simplify the existing channel and spatial attention
information; as in Figure 3, the attention features can be reduced to a series of operations,
such as compression and fully connected layers, to obtain feature information and then
feature excitation by sigmoid. Thus, we generalize the two operations:
�) (2)
_δ_ (
_Np_
### ∑
_j_ =1
_Mc_
- _xj_
_Sensors_ 2022, _22_, 6685 6 of 19
_δ_ (
_Np_
### ∑
_j_ =1
_Mp_
- _xj_
�) (3)
_Np_
where _j_ denotes the index on the feature map, ∑ _j_ =1 <sup>_Mc_</sup> <sup>( ) denotes a series of transformations</sup>
including convolution, compression, and expansion channels to obtain the channel features,
_Np_
where _j_ denotes the index on the feature map, ∑ _j_ =1 <sup>_Mc_</sup> <sup>( ) denotes a series of transformations</sup>
including convolution, compression, and expansion channels to obtain the channel features,
_Np_
∑ _j_ =1 <sup>_Mp_</sup> <sup>( ) denotes a series of transformations, including convolution, compression, and</sup>
expansion channels, to obtain the position features, and _δ_ ( ) denotes the activation function
of the feature map.
Figure 3. Attentional Simplification Chart.
_Np_
∑ _j_ =1 <sup>_Mp_</sup> <sup>( ) denotes a series of transformations, including convolution, compression, and</sup>
expansion channels, to obtain the position features, and _δ_ ( ) denotes the activation function
of the feature map.
By transforming Equation (1) and embedding (2) (3) into (1), we can obtain a single
feature information relationship containing contextual relationships:
_zc_ = _F_ ( _xi_, _δ_ (
_zp_ = _F_ ( _xi_, _δ_ (
_Np_
### ∑
_j_ =1
_Np_
### ∑
_j_ =1
- _xj_
- _xj_
_Mc_
�) (4)
_Mp_
�) (5)
Feature relationship fusion: The _F_ ( ) in (1) is extended. _F_ ( ) is a feature mapping
function that aggregates the above features with the below information in a linear transfor
_Sensors_ 2022, _22_, 6685 7 of 19
mation, and in this paper, the below information is extended to a mapping containing the
location feature information:
_F_ ( ) = _δ_ (
_Np_
### ∑
_j_ =1
_Mp_
_χj_
�) (6)
Thus, synthesizing Equations (1)–(6), a long-range dependency is constructed between
channel feature information and position features to strengthen the correlation between
different features, which is described by Equation:
_Zi_ =
_Np_
### ∑
_j_ =1
_Mp_ ( _xi_, _δ_ (
_Np_
### ∑
_j_ =1
_Mc_ - _xj_
�)) (7)
From this relationship, the OCAM attention module is proposed in this paper.
2.3.2. OCAM Attention Module Structure
As shown in Figure 4, the proposed OCAM attention module in this paper consists
of three parts. Firstly, a filter module consisting of 1 _×_ 1 conv, batchnorm, and hardswish
functions is used to reduce the computational effort by reducing the data dimensionality for
different levels of information. Then a four-branches branching structure is entered. In the
structure, for the specificity of the target detection task, the position attention mechanism is
introduced to deal with the position information, and the channel attention mechanism
is used to deal with the color features. Based on the above relationships, the channel
attention module and the position attention module are constructed and using feature
superposition between the two attention modules, long-range dependencies are established
to strengthen the correlation between the features and enhance the information of the
two features, and then and the input feature maps are aggregated. Finally, the internal
residual structure is introduced. The connection between the shallow feature information
and the deep information is ensured, and the information loss is reduced.
Channel
Attention
Module
⨂
<mark>⨁</mark> Attention <mark>⨂</mark>
Position
Attention
Module
Figure 4. Structure of OCAM attention module.
As can be seen from Figure 4, for a given input feature map _F_ _∈_ _R_ <sup>_C×H×W_</sup>, OCAM
sequentially outputs a 3D filter feature map _M_ _∈_ _R_ <sup>_C×H×W_</sup>, a 1D channel feature map
_Mc_ _∈_ _R_ <sup>_C_</sup>, and two 2D location feature maps _MPA_ _∈_ _R_ <sup>_C×H_</sup> & _R_ <sup>_C×W_</sup> . The overall attention
process can be summarized as follows:
_F_ <sup>_′_</sup> = _M_ ( _F_ ) (8)
_Sensors_ 2022, _22_, 6685 8 of 19
_F_ <sup>_′′_</sup> = _F_ + _F_
- _Mc_ - _F_ <sup>_′_</sup> <sup>�</sup>
(9)
_F_ <sup>_′′′_</sup> = _F_
- _MPA_ ( _F_ <sup>_′′_</sup> ) (10)
Channel Attention Module
As shown in Figure 5, the channel features of each layer contain different channel
responses, each response corresponding to a category. In the target detection task, the
detection frame requires different structural information for different sizes of targets. It is
usually desired to reflect more structural and channel information in the channel feature
extraction to improve the robustness of the network for different target detection. Therefore,
in this paper, three pooling methods, 7 _×_ 7 global average pooling, 1 _×_ 1 global average
pooling, and 1 _×_ 1 global maximum pooling, are used to compress the channel features from
different structures to enhance the structural information among channels. To facilitate
the feature mapping in the subsequently aggregated channels, the pooled feature maps
are reshaped to obtain a unified feature mapping, and a multilayer perceptron (MLP) is
used for each layer to enhance the cross-channel information from different structures,
where r is the compression rate. In summary, the overall structure of the channel attention
mechanism in this paper is as follows:
_X_ 1 = _X ×_ ( _σ_ ( _MLP_ ( _Resize_ ( _AvgPool_ ( _X_ ))) + _σ_ ( _MLP_ ( _Resize_ ( _MaxPool_ 7( _X_ )))
(11)
+ _σ_ ( _MLP_ ( _Resize_ ( _MaxPool_ ( _X_ ))))
where _X_ 1 denotes the output feature map, _X_ denotes the input feature map, _AvgPool_ ( )
denotes 1 _×_ 1 global average pooling, _AvgPool_ 7( ) denotes 7 _×_ 7 global average pooling,
_MaxPool_ ( ) denotes 1 _×_ 1 global maximum pooling, _Resize_ ( ) performs normalization
operation on the feature map, _MLP_ ( ) denotes multilayer perceptron, _r_ is the compression
rate, and _σ_ denotes the activation function.
Global avgpool7 x 7
Reshape
FC FC
Global avgpool1 x 1
Reshape
Reshape
FC FC
FC FC
⨁
Global maxpool1 x 1
Figure 5. Channel attention of OCAM attention module.
Position Attention Module
Inspired by Coordinate attention [19], the precise position information is captured and
encoded from both _X_, _Y_ directions and encoded to form a direction-aware and positionsensitive attentional feature map to be applied to the input feature map in a complementary
way, thus enhancing the position feature information.
The structure of the position attention module is shown in Figure 6. To implement
the coordinate information embedding, two one-dimensional feature encoding vectors
are obtained by first decomposing the horizontal and vertical directions, respectively,
through global average pooling. Then, the coordinate information of different dimensions
_Sensors_ 2022, _22_, 6685 9 of 19
is mapped by nonlinearity. Finally, the two feature maps containing _X_ and _Y_ coordinates
are output as follows:
_X_ 1 = _Conv_ ( _Nonlinear_ ( _Batch_ ( _Conv_ ( _AvgpoolH_ ( _X_ )))) (12)
_X_ 2 = _Conv_ ( _Nonlinear_ ( _Batch_ ( _Conv_ ( _AvgpoolW_ ( _X_ )))) (13)
where _X_ is the input feature map, _X_ 1 and _X_ 2 are the output feature maps, _Nonlinear_ ( ) is
the nonlinear activation function, _AvgpoolH_ ( ), _AvgpoolW_ ( ) are the intermediate feature
maps encoding the spatial information in horizontal and vertical directions, _Batch_ ( ) is the
batchnorm operation, _Conv_ ( ) is the 1 _×_ 1 convolution operation, _σ_ is the sigmoid activation
function, and _r_ is the compression rate.
Non-Linear
Transform
Non-Linear
Transform
Figure 6. Position attention module structure diagram.
_2.4._ _Attention Layer Design Guide_
Sigmoid
Sigmoid
This section analyses the theoretical aspects of how to design an attention mechanism
layer to improve the expressiveness of the network as much as possible, in terms of both
position and channel scaling dimensions, and gives an experimental analysis in Section 3.
Position: In NLP works, the literature [40,41] pointed out that the low-rank output of
SoftMax is unable to express the complexity of high-rank space, and a network SoftMax
representation bottleneck occurs. The authors proposed a method to enhance the representativeness by processing the output layer to improve the network representation problem
and improve the accuracy of the model. Is there the same representation problem in CV
work for a single layer? The literature [30] theoretically demonstrates that in CV work, the
same single-layer representation bottleneck exists, and through extensive experiments, it is
found that guiding the number of design layer channels by monotonically increasing the
number of layer orders can effectively improve the network representation and make the
network achieve higher accuracy. This implies that the expressiveness of the network can
still be effectively changed by handling the position of a single layer in CV work. Based on
the above study, we speculate that the network representativeness of a single attention layer
is location-dependent, and studying it may provide a more efficient choice of attention
layer locations.
Channel ratio: A large number of network architectures [42,43] have shown that
deeper networks can capture more features, wider networks can capture more fine grains
and pixels, and any single dimension can improve the expressive power of the network,
but this improvement is not the most efficient way to improve, as, in most language
modeling, the network can only reach the best gain once the width and depth reach some
balance. Efficientnet [29] demonstrated that from a single dimension, the network gains
are very limited when the network reaches very deep or very wide networks. The authors
_Sensors_ 2022, _22_, 6685 10 of 19
proposed a new composite scaling method that uses the composite coefficients _ϕ_ to perform
a principled and uniform scaling of the width, depth, and resolution of the network, which
effectively enhances the network expressiveness by compound scaling of width, depth,
and resolution. Based on the above work, we speculate that the same composite scaling
approach also exists in the design of a single attention layer, and studying it may provide
a more efficient scaling of the attention layer.
Design Method: Through the experimental results in Section 3, considering the expressiveness of the target detection network and avoiding the representation bottleneck,
this paper proposes a design guideline for attention layers: (1) designing more attention
layers in the Backbone layer can enhance the network expressiveness. (2) The scaling of the
attention layers should satisfy _α × β ≈_ 2. In this way, the network representation bottleneck
can be avoided and the network efficiency can be improved.
_2.5._ _Training Details_
During the experiments, the image size was fixed at 640 _×_ 640 input, the initial value
of the learning rate was 0.01, the learning rate was reduced by using the cosine annealing
strategy, the number of iterations was 500, the batchsize was 32 in the chip pad dataset,
Microsoft COCO [44] and PASCAL 2007 + 2014 dataset are 64.
The experiments are done on Linux version 5.4.0-96-generic, Ubuntu 7.5.0 with Intel(R)
Core(TM) i7-12700K CPU and NVIDIA (Santa Clara, CA, USA) GeForce RTX 3090 GPU
with 24 G video memory size, and The GPU is accelerated using Cuda 10.2.
3. Results
In this section, using the chip pads dataset, the attention layer design approach is first
experimentally analyzed, then the performance of the proposed method is verified, and
finally, the improved YOLOv5 network is evaluated.
_3.1._ _Experimental Analysis of Attention Level Design Guide_
The YOLOv5s (5.0) version and the OCAM attention module proposed in this paper are used as the basis. The experimental dataset selected is the chip pads dataset.
Two variable factors are introduced to regulate the depth and width of the network; the
variable factor _α_ _∈_ [1, 4] is taken as an integer and indicates the number of layers of the
designed attention mechanism, which is usually described as the depth of the layer in
the design of neural networks. _β_ _∈_ (0, 3] indicates the ratio of the number of channel
changes ( _β_ = number of output channels/number of input channels); when _β_ _>_ 1, the
layer is an extended layer and when _β_ _<_ 1, the layer is a compressed layer, so that it is
more convenient to discuss the effect of different channel change ratio on the network,
where the value of _β_ can be theoretically arbitrary, through a large number of experiments,
when _β_ doubles, the parameters increase by _β_ <sup>2</sup> . Considering that in the case of sacrificing
a large number of parameters, if the accuracy does not reach a good gain, it will lead to
too low network efficiency, so _β_ is taken as (0, 3] to achieve a higher network efficiency in
a limited range.
Inspired by the literature [45–47], the attention layer was designed in the target detector
behind the C3 feature extraction module in the YOLOv5s network. Based on the above
analysis, the study is specified into two aspects:
(1) Measure the network expressiveness when attention layers are set at different stages
(Use mAP@0.5 as an indicator).
(2) Two variable factors _α_, _β_ are introduced. _α_ and _β_ are scaled with _β_ = 1 as the baseline,
and the effects of different _α_ and _β_ modulations on the network performance (Use
mAP@0.5 as an indicator) are investigated to find the optimal scaling ratio of the
attention layer.
_Sensors_ 2022, _22_, 6685 11 of 19
3.1.1. Study of the Embedding Position in the Attention Layer
Figure 7 shows the network performance in Baseline (YOLOv5s) when the same
attention layer is embedded in the three phases. It is observed that the baseline accuracy is
82.3%, and the network performance is affected when the attention layers are designed in
different positions. The network performance is enhanced at the Backbone and Neck layers,
and the network accuracy is improved. However, this performance decreases sharply with
the depth of the network, which impairs the efficiency of the network, and the network
shows a negative gain when the attention layer is embedded in the Prediction layer. As
the network goes deeper, the attention layer appears as a representation bottleneck in the
network, which affects the efficiency of the attention layer. The experiments show that this
representation bottleneck is less affected when the attention layer is designed in shallow
networks, and the network accuracy is relatively higher.
Figure 7. Network accuracy when designing the same OCAM layer in different layers.
3.1.2. Study of Channel Scaling in the Attentional Layer
Figure 8 represents the study of the width and depth of the attention layer at the
Backbone layer. By setting the attention layer in Backbone with different depths (indicated
by _α_ ), two modulation factors were introduced to regulate the depth and channel ratio
of a single layer, which can be obtained from the experimental results: (1) At the same
depth, different channel ratios have an impact on the network performance, ignoring the
large fluctuating values. As the channel ratio increases, the overall network accuracy at
different channel ratios shows a mountain shape, which may be due to the network scaling
benefit, where the network performance is optimal and the accuracy peaks when the depth
and width are balanced. (2) With the increase in _α_, the expressiveness of the network
gradually increases and the highest accuracy that the network can achieve rises, while the
highest accuracy can reach 86.2% and the deeper attention layer can effectively improve
the network accuracy. (3) With the increasing of _α_ _∈_ [1, 4], the location of the peak also
changes, _β_ peaks near 2 for _α_ = 1, _β_ peaks near 1 for _α_ = 2, _β_ peaks near 0.75 for _α_ = 3,
and _β_ peaks near 0.5 for _α_ = 4.
3.1.3. Experimental Conclusions about the Attention Layer
(1) The target detection network has an expression bottleneck at different positions of the
attention layer, and this effect is minimized at the backbone layer, and in addition, the
depth of the attention layer can help enhance the network performance.
(2) Based on Efficientnet [29], we find that the performance of the attention layer has
a regular pattern; summarizing the above experiments, we get that the network
performance reaches the peak when _α × β ≈_ 2.
_Sensors_ 2022, _22_, 6685 12 of 19
( a ) ( b )
( c ) ( d )
Figure 8. ( a - d ) shows the adjustment of the attention layer using different depth ( _α_ ) and scaling ( _β_ ).
Find the effect of scaling _β_ on accuracy at different _α_ with _β_ = 1 as the baseline, respectively, for the
current α.
_3.2._ _Results and Analysis of Chip Pad Targets Detection_
The improved YOLOv5 model of this paper was compared with the mainstream target
detection model using several metrics, including model size, parameters, floating point
operations per second (FLOPs), and average accuracy (mAP@0.5), to evaluate the model
performance, as shown in Table 1.
First, it can be seen that the average accuracy of the improved model in this paper is
87.5%, which is 4.9% better than the original YOLOv5s(5.0) algorithm, 3.5% better than
the latest YOLOv5s(6.0) algorithm, and 2.5% better than the latest YOLO series algorithm
YOLOX [48], and in terms of average accuracy, the algorithm in this paper is better than
most of the existing algorithms. In terms of the accuracy of a single chip pad, the recognition accuracy of chip pad A is 89.8%, which is higher than other algorithms, and the
recognition accuracy of chip pad B is 85.2%, which is slightly higher than the 84% of
YOLOv5s(5.0), which shows that our detection accuracy and robustness to different targets are greatly improved. Secondly, the improved model size is 10.8 M, which is easy to
be deployed in real industrial applications. Finally, the improved model parameters are
5.5 M and FLOPs are 15.6 G, which are slightly higher than the current optimal algorithms
YOLOv5-lite-g [49] and Efficientdet-d0. In summary, the improved method in this paper
has higher detection accuracy for small target chip pads, the model is more lightweight,
and it achieves a better balance between accuracy and parameters, which is more suitable for deployment in practical applications. It is more suitable for deployment in
practical applications.
_Sensors_ 2022, _22_, 6685 13 of 19
Table 1. Performance comparison of our method with mainstream target detection models on chip
pad dataset.
AP@0.5
Method Model Parameters FLOPs
mAP@0.5
Solder Joint A Solder Joint B
Efficientdet-d0 15 M 3.7 M 2.50 B 0.69 0.48 0.586
SSD-mobile 118 M 25.06 M 29.2 G 0.67 0.43 0.55
YOLOv3 117 M 61.5 M 154.9 G 0.821 0.742 0.781
YOLOX-S 34.3 M 9.1 M 27.03 G 0.87 0.83 0.85
YOLOv5-Lite-g 10.7 M 5.4 M 15.6 G 0.799 0.764 0.782
YOLOv5s-5.0 13.7 M 7.1 M 16.5 G 0.813 0.84 0.826
YOLOv5s-6.0 14.4 M 7.0 M 15.9 G 0.878 0.808 0.84
<u>Our</u> <u>10.8 M</u> <u>5.5 M</u> <u>15.6 G</u> <u>0.898</u> <u>0.852</u> 0.875
The actual detection of chip pads is shown in Figures 9 and 10. As can be seen from the
figure, compared to the original YOLOv5s, this algorithm not only detects more chip pads
but also detects chip pads with larger masking areas. In addition, the detection rate of the
improved model in this paper is higher than the original algorithm in the detection of the
same chip pads. This means that, in practice, our detection results have better robustness
and detection success rate.
( a )
( b )
Figure 9. ( a, b ) Our method.
_Sensors_ 2022, _22_, 6685 14 of 19
( a ) ( b ) ( c )
Figure 10. Comparison between our method and YOLOv5s model on-chip pad dataset. ( a ) Origin.
( b ) YOLOv5s. ( c ) Our.
To further illustrate the inspection results, the paper visualizes the results using GradCAM [50]. As shown in Figure 11, the red part of the figure represents the degree of
aggregation of features by the network, and the darker the color of the region indicates
that the network pays more attention to the features in that region during the detection
process, and vice versa, the region is ignored. From the figure, it can be seen that during
<u>pad detection, the method in this paper extracts more features, and the network pays more</u>
attention to the features of different targets. From the visualization results, it can be seen
that the method in this paper can effectively enhance the features of small target pads
during detection.
( a )
Figure 11. _Cont_ .
_Sensors_ 2022, _22_, 6685 15 of 19
( b )
Figure 11. Grad-CAM visualization results. ( a ) YOLOv5s. ( b ) Our method.
4. Discussion
_4.1._ _Attention Module Experiment_
Table 2 compares the attentional approach proposed in this paper with some of the
mainstream attentional approaches, selecting average accuracy (Map@0.5) as a reference
indicator. From the experimental results, the average accuracy (Map@0.5) of the original
baseline reaches 82.6%, the accuracy of Chip pad A is 85%, and the accuracy of Chip pad
B is 80.24%. After adding the attention method of this paper, the accuracy reaches 86.5%,
88.8% for Chip pad A and 84.2% for Chip pad B, which are higher than some mainstream
attention methods. Therefore, the method in this paper is more suitable for small target
detection tasks and can achieve greater accuracy gains in the target detection work.
Ta ~~ble 2.~~ ~~Attention module comparison.~~
~~AP@0.5~~
Method
mAP@0.5
Chip Pads A Chip Pads B
YOLOv5s (Baseline) 0.85 0.802 0.826
+CBAM 0.867 0.794 0.831
+CoordAtt 0.86 0.814 0.837
+SE 0.871 0.767 0.819
~~+ECA~~ ~~0.883~~ ~~0.777~~ ~~0.83~~
+Our 0.888 0.842 0.865
_4.2._ _Experiment on Design Scheme of Attention Layer_
Table 3 compares the design scheme proposed in this paper with the conventional
design scheme. As can be seen from the table, the average accuracy of the original YOLOv5s
reaches 82.6%, with a model size of 13.7 M, parameters of 7.0 M, and FLOPs of 16.5 G.
After adding OCAM, Map@0.5 improves to 85.6%, up 3%, with a slight increase in parameters. After network tuning according to the design guidelines in this paper, the network
characterization bottleneck is reduced, and the accuracy is further improved to 86.5%, up
0.9%, while the network parameters are decreased, which is an impressive optimization,
which means that the overall network performance is improved by redesigning the network
structure and the network efficiency is effectively improved.
Table 3. Comparison of attention layer design solutions.
Method Model Parameters FLOPs mAP@0.5
YOLOv5s 13.7 M 7.0 M 16.5 G 0.826
+OCAM (normal) 13.8 M 7.1 M 16.7 G 0.856
+OCAM (guide) 13.5 M 6.3 M 16.3 G 0.865
_Sensors_ 2022, _22_, 6685 16 of 19
_4.3._ _Ablation Experiment_
To demonstrate the performance of the proposed method more visually, we conducted
ablation tests, and the results are shown in Table 4.
Table 4. Ablation experiments.
Method Model Parameters FLOPs mAP@0.5
YOLOv5s 13.7 M 7.1 M 16.5 G 0.826
YOLOv5 + Ghost 12.8 M 6.2 M 14.9 G 0.825
YOLOv5 + OCAM 13.5 M 6.3 M 16.3 G 0.865
Our 10.8 M 5.5 M 15.6 G 0.875
From the results, the original accuracy of YOLOv5s is 82.6%, the model size is 13.7 M,
parameters are 7.1 M, and flops are 16.5 G. When the Ghost module is added, the accuracy
remains almost the same, but the model size, parameters, and computation are reduced,
which makes the network lighter. After adding the OCAM module, the accuracy increases
to 86.5% and Map@0.5 increases by 3.9%, while the network parameters remain almost
the same. Finally, all the methods are added to the YOLOv5s network and the accuracy
reaches 87.5%, while the model size, parameters, and FLOPs are reduced compared to the
original YOLOv5s. This means that the proposed network has a good balance of accuracy
and parameters, and the improved network requires less training speed and equipment,
which ensures that the method can be put into practical use more easily.
_4.4._ _VOC and COCO_
To further verify the effectiveness of the improved YOLOv5 model, the improved
YOLOv5 model of this paper was compared with the mainstream target detection model
on the PASCAL VOC2007+2012 dataset and Microsoft COCO, and the comparison results
are shown in Tables 5 and 6.
Table 5. Performance comparison on VOC2007+2012 dataset.
Method Model Parameters FLOPs mAP@0.5
Efficientdet-d0 15 M 3.75 M 2.50 B 0.78
SSD-mobile 118 M 25.06 M 29.2 G 0.77
YOLOv3 117 M 61.5 M 155.2 G 0.82
YOLOX-S 34.3 M 9.1 M 27.03 G 0.75
YOLOv5-Lite-g 10.7 M 5.5 M 15.6 G 0.811
YOLOv5s-5.0 13.8 M 7.1 M 16.5 G 0.794
YOLOv5s-6.0 14.4 M 7.0 M 16.0 G 0.803
Our 10.9 M 5.5 M 15.6 G 0.828
Table 6. Performance comparison on COCO dataset.
Method Model Parameters FLOPs mAP@0.5
YOLOv3-tiny 23.0 M 6.06 M 6.96 B 33.1
YOLOv4-tiny 33.7 M 8.86 M 5.62 G 40.2
Efficientdet-d0 15.0 M 3.75 M 2.60 B 52.2
YOLOv5-Lite-g 10.7 M 5.5 M 15.6 G 57.6
YOLOv5s-5.0 14.0 M 7.3 M 17.0 G 55.4
YOLOv5s-6.0 14.0 M 7.23 M 16.0 G 56.8
Our 10.9 M 5.5 M 15.6 G 58.0
First, from Table 5, we can see that the average accuracy of this model is 82.8%
on the VOC dataset, which is 3.4% better than the original YOLOv5s(5.0) algorithm,
2.5% better than the latest YOLOv5s(6.0) algorithm, and 0.8% better than the YOLOv3
model, which is an effective improvement in detection accuracy. Finally, the improved
_Sensors_ 2022, _22_, 6685 17 of 19
model has 5.5 M parameters and FLOPS are 15.6 G, which is slightly higher than
YOLOv5-Lite-g and Efficientdet-d0. The overall network shows better performance on
the VOC dataset with fewer parameters and networks. The overall network shows better
performance on the VOC dataset, with fewer parameters and network computation to
achieve better detection results.
As can be seen from Table 6, the average accuracy of the improved model in this paper
is 58.0% on the COCO dataset, which is 2.6% better than the original YOLOv5s(5.0) and
1.2% better than the latest YOLOv5s(6.0) algorithm. The accuracy is higher than other
algorithms in the table. The improved model has a size of 10.9 M, parameters of 5.5 M, and
FLOPS of 15.6 G, which is slightly higher than some lightweight models, but the overall
performance is slightly better than the current optimal model.
In summary, the improved YOLOv5 network shows good performance on different
datasets, with effective improvement in detection accuracy and good robustness to different
detection targets, which proves the effectiveness of the improved method in this paper.
5. Conclusions
In this paper, we propose an improved YOLOv5 chip pad detection network, which
has better performance than the existing single-stage detector. The improved model mainly
introduces the attention layer OCAM, which effectively enhances the correlation between
different features, improves the long-range dependencies between features, and improves
the detection performance of small target chip pads. The attention layer design scheme
proposed in this paper can effectively improve the network expression capability of the
attention layer and improve detection efficiency. The experimental results show that
the improved network can achieve better detection results with fewer parameters, with
a Map@0.5 improvement of 4.9% on the wafer chip pads dataset and equally effective
on the COCO and VOC datasets. The improved YOLOv5 network has a lighter network model and lower hardware requirements, making it more suitable for practical
industrial applications.
The improved YOLOv5 model proposed in this paper achieves better performance
than most existing target detection models, but there is still some room for improvement in
terms of detection speed and detection efficiency. On the other hand, an ideal industrial
detection model needs to have the ability to work under different working scenarios; however, the pad datasets used for the training of the model in this paper were collected under
sufficient lighting conditions with rich information on pad color features, for scenarios with
poor lighting conditions, the lighting conditions result in color features and pad location
features not being obvious, and the pad features cannot be extracted effectively during
detection. Therefore, this method is not suitable for extreme lighting conditions. If the
above shortcomings can be effectively addressed, the method in this paper can improve the
self-monitoring performance of the wafer measurement die machine to a certain extent and
achieve automatic correction of alignment anomalies, which can greatly reduce the labor
cost in the industry, and at the same time, due to the enhanced lightweight of the model,
the cost of the embedded equipment in the actual deployment work can be reduced, so the
method in this paper has good industrial application value. In future work, researchers can
focus on more complex work scenarios to improve the efficiency of the pad detection model
in poorly lit scenarios where color features are not obvious to improve the robustness of
industrial inspection.
Author Contributions: Y.Z. and J.X. performed the analysis. J.X. validated the analysis and drafted
the manuscript. Y.Z. reviewed the manuscript. J.X. designed the research. Y.T. reviewed the
manuscript. Z.Y. reviewed the manuscript. All authors have read and agreed to the published
version of the manuscript.
Funding: We acknowledge support from Guangxi Innovation Driven Development Project Guike
AA21077015 and National Natural Science Foundation of China Grants 12162005 and 11562003.
Institutional Review Board Statement: Not applicable.
_Sensors_ 2022, _22_, 6685 18 of 19
Informed Consent Statement: Not applicable.
Data Availability Statement: The data presented in this study are available on request from the
corresponding author.
Acknowledgments: We sincerely thank the anonymous reviewers for their critical comments and
suggestions for improving the manuscript.
Conflicts of Interest: The authors declare no conflict of interest.
References
1. Kim, H.; Lee, K.; Jeon, B.; Song, C. Quick wafer alignment using feedforward neural networks. _IEEE Trans._ _Autom._ _Sci._ _Eng._ 2009,
_7_, 377–382.
2. Smith, R.; Collins, S. A wafer-to-wafer alignment technique. _Sens._ _Actuators_ 1989, _20_, 315–316. [[CrossRef]](http://doi.org/10.1016/0250-6874%0x2889%0x2980131-3)
3. Li, H.; Hao, K.; Wei, B.; Tang, X.S.; Hu, Q. A reliable solder joint inspection method based on a light-weight point cloud network
and modulated loss. _Neurocomputing_ 2022, _488_, 315–327. [[CrossRef]](http://doi.org/10.1016/j.neucom.2022.02.077)
4. Peng, Y.; Yan, Y.; Chen, G.; Feng, B. Automatic CCM Solder Joint Inspection Method Based on Machine Vision. _Meas._ _Sci._ _Technol._
2022, _33_, 105114. [[CrossRef]](http://doi.org/10.1088/1361-6501/ac769a)
5. Hu, Q.; Hao, K.; Wei, B.; Li, H. An efficient solder joint defects method for 3D point clouds with double-flow region attention
network. _Adv._ _Eng._ _Inform._ 2022, _52_, 101608. [[CrossRef]](http://doi.org/10.1016/j.aei.2022.101608)
6. Divvala, S.K.; Hoiem, D.; Hays, J.H.; Efros, A.A.; Hebert, M. An empirical study of context in object detection. In Proceedings of
the 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA, 20–25 June 2009; pp. 1271–1278.
7. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks.
_IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2016, _39_, 1137–1149. [[CrossRef]](http://doi.org/10.1109/TPAMI.2016.2577031)
8. Dai, J.; Li, Y.; He, K.; Sun, J. R-fcn: Object detection via regionbased fully convolutional networks. _Adv._ _Neural Inf._ _Process._ _Syst._
2016, _29_ . [[CrossRef]](http://doi.org/10.48550/arXiv.1605.06409)
9. Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; Reed, S.; Fu, C.-Y.; Berg, A.C. Ssd: Single shot multibox detector. In _European_
_Conference on Computer Vision_ ; Springer: Cham, Switzerland, 2016; pp. 21–37.
10. Redmon, J.; Farhadi, A. Yolo9000: Better, faster, stronger. In Proceedings of the IEEE Conference on Computer Vision and Pattern
Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 7263–7271.
11. Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You only look once: Unified, real-time object detection. In Proceedings of the
IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788.
12. Bochkovskiy, A.; Wang, C.-Y.; Liao, H.-Y.M. Yolov4: Optimal speed and accuracy of object detection. _arXiv_ 2020, arXiv:2004.10934.
13. Yu, Z.; Shen, Y.; Shen, C. A real-time detection approach for bridge cracks based on YOLOv4-FPM. _Autom._ _Constr._ 2020,
_122_, 103514. [[CrossRef]](http://doi.org/10.1016/j.autcon.2020.103514)
14. Ultralytics, Yolov5. Available online: [https://github.com/ultralytics/yolov5 (accessed on 28 August 2021).](https://github.com/ultralytics/yolov5)
15. Larochelle, H.; Hinton, G.E. Learning to combine foveal glimpses with a third-order boltzmann machine. _Adv._ _Neural_ _Inf._
_Process._ _Syst._ 2010, _23_, 1–9.
16. Corbetta, M.; Shulman, G.L. Control of goal-directed and stimulus-driven attention in the brain. _Nat._ _Rev._ _Neurosci._ 2002,
_3_, 201–215. [[CrossRef]](http://doi.org/10.1038/nrn755)
17. Hu, J.; Shen, L.; Sun, G. Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern
Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7132–7141.
18. Park, J.; Woo, S.; Lee, J.-Y.; Kweon, I.S. Bam: Bottleneck attention module. _arXiv_ 2018, arXiv:1807.06514.
19. Hou, Q.; Zhou, D.; Feng, J. Coordinate attention for efficient mobile network design. In Proceedings of the IEEE/CVF Conference
on Computer Vision and Pattern Recognition, Nashville, TN, USA, 20–25 June 2021; pp. 13713–13722.
20. Woo, S.; Park, J.; Lee, J.-Y.; Kweon, I.S. Cbam: Convolutional block attention module. In Proceedings of the European Conference
on Computer Vision (ECCV), Munich, Germany, 8 September–14 September 2018; pp. 3–19.
21. Zhu, X.; Lyu, S.; Wang, X.; Zhao, Q. TPH-YOLOv5: Improved YOLOv5 Based on Transformer Prediction Head for Object
Detection on Drone-captured Scenarios. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)
Workshops, Montreal, BC, Canada, 11–17 October 2021; pp. 2778–2788. [[CrossRef]](http://doi.org/10.1109/iccvw54120.2021.00312)
22. Zhu, L.; Geng, X.; Li, Z.; Liu, C. Improving YOLOv5 with Attention Mechanism for Detecting Boulders from Planetary Images.
_Remote Sens._ 2021, _13_, 3776. [[CrossRef]](http://doi.org/10.3390/rs13183776)
23. Xu, X.; Zhang, X.; Zhang, T. Lite-yolov5: A lightweight deep learning detector for on-board ship detection in large-scene sentinel-1
sar images. _Remote Sens._ 2022, _14_, 1018. [[CrossRef]](http://doi.org/10.3390/rs14041018)
24. Jiang, Z.; Zhao, L.; Li, S.; Jia, Y. Real-time object detection method based on improved yolov4-tiny. _arXiv_ 2020, arXiv:2011.04244.
25. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on
Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778.
26. Zagoruyko, S.; Komodakis, N. Wide residual networks. _arXiv_ 2016, arXiv:1605.07146.
27. Howard, A.G.; Zhu, M.; Chen, B.; Kalenichenko, D.; Wang, W.; Weyand, T.; Andreetto, M.; Adam, H. Mobilenets: Efficient
convolutional neural networks for mobile vision applications. _arXiv_ 2017, arXiv:1704.04861.
_Sensors_ 2022, _22_, 6685 19 of 19
28. Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.-C. Mobilenetv2: Inverted residuals and linear bottlenecks. In
Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018;
pp. 4510–4520.
29. Tan, M.; Le, Q. Efficientnet: Rethinking model scaling for convolutional neural networks. In Proceedings of the International
Conference on Machine Learning, PMLR, Long Beach, CA, USA, 10–15 June 2019; pp. 6105–6114.
30. Han, D.; Yun, S.; Heo, B.; Yoo, Y. Rethinking channel dimensions for efficient model design. In Proceedings of the IEEE/CVF
Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 20–25 June 2021; pp. 732–741.
31. Han, K.; Wang, Y.; Tian, Q.; Guo, J.; Xu, C.; Xu, C. Ghostnet: More features from cheap operations. In Proceedings of the
IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 1580–1589.
32. Yan, B.; Fan, P.; Lei, X.; Liu, Z.; Yang, F. A real-time apple targets detection method for picking robot based on improved YOLOv5.
_Remote Sens._ 2021, _13_, 1619. [[CrossRef]](http://doi.org/10.3390/rs13091619)
33. Yu, Y.; Zhao, J.; Gong, Q.; Huang, C.; Zheng, G.; Ma, J. Real-time underwater maritime object detection in side-scan sonar images
based on transformer-YOLOv5. _Remote Sens._ 2021, _13_, 3555. [[CrossRef]](http://doi.org/10.3390/rs13183555)
34. Wan, J.; Chen, B.; Yu, Y. Polyp Detection from Colorectum Images by Using Attentive YOLOv5. _Diagnostics_ 2021, _11_, 2264.
[[CrossRef]](http://doi.org/10.3390/diagnostics11122264)
35. Guo, Z.; Wang, C.; Yang, G.; Huang, Z.; Li, G. MSFT-YOLO: Improved YOLOv5 Based on Transformer for Detecting Defects of
Steel Surface. _Sensors_ 2022, _22_, 3467. [[CrossRef]](http://doi.org/10.3390/s22093467)
36. Zheng, Z.; Wang, P.; Liu, W.; Li, J.; Ye, R.; Ren, D. Distance-iou loss: Faster and better learning for bounding box regression.
_Proc._ _AAAI Conf._ _Artif._ _Intell._ 2020, _34_, 12993–13000. [[CrossRef]](http://doi.org/10.1609/aaai.v34i07.6999)
37. Rezatofighi, H.; Tsoi, N.; Gwak, J.; Sadeghian, A.; Reid, I.; Savarese, S. Generalized intersection over union: A metric and a
loss for bounding box regression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,
Long Beach, CA, USA, 15–20 June 2019; pp. 658–666.
38. Wang, X.; Girshick, R.; Gupta, A.; He, K. Non-local neural networks. In Proceedings of the IEEE Conference on Computer Vision
and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7794–7803.
39. Cao, Y.; Xu, J.; Lin, S.; Wei, F.; Hu, H. Gcnet: Non-local networks meet squeeze-excitation networks and beyond. In Proceedings
of the IEEE/CVF International Conference on Computer Vision Workshops, Seoul, Korea, 27–28 October 2019.
40. Kanai, S.; Fujiwara, Y.; Yamanaka, Y.; Adachi, S. Sigsoftmax: Reanalysis of the SoftMax bottleneck. _Adv._ _Neural Inf._ _Process._ _Syst._
2018, _31_ . [[CrossRef]](http://doi.org/10.48550/arXiv.1805.10829)
41. Ganea, O.; Gelly, S.; B’ecigneul, G.; Severyn, A. Breaking the SoftMax bottleneck via learnable monotonic pointwise nonlinearities. In Proceedings of the International Conference on Machine Learning, PMLR, Long Beach, CA, USA, 10–15 June 2019;
pp. 2073–2082.
42. Zoph, B.; Le, Q.V. Neural architecture search with reinforcement learning. _arXiv_ 2016, arXiv:1611.01578.
43. Sharir, O.; Shashua, A. On the expressive power of overlapping architectures of deep learning. _arXiv_ 2017, arXiv:1703.02065.
44. Lin, T.-Y.; Maire, M.; Belongie, S.; Hays, J.; Perona, P.; Ramanan, D.; Doll´ar, P.; Zitnick, C.L. Microsoft coco: Common objects in
context. In _European Conference on Computer Vision_ ; Springer: Cham, Switzerland, 2014; pp. 740–755.
45. Zhang, Z.; Zhang, X.; Peng, C.; Xue, X.; Sun, J. Exfuse: Enhancing feature fusion for semantic segmentation. In Proceedings of the
European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018; pp. 269–284.
46. Chaib, S.; Liu, H.; Gu, Y.; Yao, H. Deep feature fusion for vhr remote sensing scene classification. _IEEE Trans._ _Geosci._ _Remote Sens._
2017, _55_, 4775–4784. [[CrossRef]](http://doi.org/10.1109/TGRS.2017.2700322)
47. Ghiasi, G.; Lin, T.-Y.; Le, Q.V. Nas-fpn: Learning scalable feature pyramid architecture for object detection. In Proceedings of the
IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 7036–7045.
48. Ge, Z.; Liu, S.; Wang, F.; Li, Z.; Sun, J. Yolox: Exceeding yolo series in 2021. _arXiv_ 2021, arXiv:2107.08430.
49. Yolov5-lite. Available online: [https://github.com/ppogg/YOLOv5-Lite (accessed on 28 August 2022).](https://github.com/ppogg/YOLOv5-Lite)
50. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks
via Gradient-Based Localization. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV),
Venice, Italy, 22–29 October 2017; pp. 618–626. [[CrossRef]](http://doi.org/10.1109/ICCV.2017.74)
섹션 본문
섹션 본문이 없습니다.
참고문헌 36건
- Microsoft COCO: Common Objects in Context Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-10602-1_48
- Control of goal-directed and stimulus-driven attention in the brain Nature reviews. Neuroscience · Nature Portfolio · 2002 10.1038/nrn755
- A wafer-to-wafer alignment technique Sensors and Actuators · Elsevier BV · 1989 10.1016/0250-6874(89)80131-3
- Quick Wafer Alignment Using Feedforward Neural Networks IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2009 10.1109/tase.2009.2024243
- Learning to combine foveal glimpses with a third-order Boltzmann machine Neural Information Processing Systems · 2010
- Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
- YOLO9000: Better, Faster, Stronger 2017 10.1109/cvpr.2017.690
- Deep Feature Fusion for VHR Remote Sensing Scene Classification IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tgrs.2017.2700322
- Squeeze-and-Excitation Networks 2018 10.1109/cvpr.2018.00745
- Generalized Intersection Over Union: A Metric and a Loss for Bounding Box Regression 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00075
- Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization 2017 10.1109/iccv.2017.74
- You Only Look Once: Unified, Real-Time Object Detection 2016 10.1109/cvpr.2016.91
- Non-local Neural Networks 2018 10.1109/cvpr.2018.00813
- MobileNetV2: Inverted Residuals and Linear Bottlenecks 2018 10.1109/cvpr.2018.00474
- ExFuse: Enhancing Feature Fusion for Semantic Segmentation Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01249-6_17
- Wide Residual Networks 2016 10.5244/c.30.87
- NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detection 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00720
- GCNet: Non-Local Networks Meet Squeeze-Excitation Networks and Beyond 2019 10.1109/iccvw.2019.00246
- Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2020 10.1609/aaai.v34i07.6999
- GhostNet: More Features From Cheap Operations 2020 10.1109/cvpr42600.2020.00165
- SSD: Single Shot MultiBox Detector Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46448-0_2
- A real-time detection approach for bridge cracks based on YOLOv4-FPM Automation in Construction · Elsevier BV · 2020 10.1016/j.autcon.2020.103514
- A Real-Time Apple Targets Detection Method for Picking Robot Based on Improved YOLOv5 Remote Sensing · Multidisciplinary Digital Publishing Institute · 2021 10.3390/rs13091619
- Rethinking Channel Dimensions for Efficient Model Design 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2021 10.1109/cvpr46437.2021.00079
- Coordinate Attention for Efficient Mobile Network Design 2021 10.1109/cvpr46437.2021.01350
- Real-Time Underwater Maritime Object Detection in Side-Scan Sonar Images Based on Transformer-YOLOv5 Remote Sensing · Multidisciplinary Digital Publishing Institute · 2021 10.3390/rs13183555
- Improving YOLOv5 with Attention Mechanism for Detecting Boulders from Planetary Images Remote Sensing · Multidisciplinary Digital Publishing Institute · 2021 10.3390/rs13183776
- TPH-YOLOv5: Improved YOLOv5 Based on Transformer Prediction Head for Object Detection on Drone-captured Scenarios 2021 10.1109/iccvw54120.2021.00312
- Polyp Detection from Colorectum Images by Using Attentive YOLOv5 Diagnostics · Multidisciplinary Digital Publishing Institute · 2021 10.3390/diagnostics11122264
- Lite-YOLOv5: A Lightweight Deep Learning Detector for On-Board Ship Detection in Large-Scene Sentinel-1 SAR Images Remote Sensing · Multidisciplinary Digital Publishing Institute · 2022 10.3390/rs14041018
- A reliable solder joint inspection method based on a light-weight point cloud network and modulated loss Neurocomputing · Elsevier BV · 2022 10.1016/j.neucom.2022.02.077
- An efficient solder joint defects method for 3D point clouds with double-flow region attention network Advanced Engineering Informatics · Elsevier BV · 2022 10.1016/j.aei.2022.101608
- MSFT-YOLO: Improved YOLOv5 Based on Transformer for Detecting Defects of Steel Surface Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22093467
- An empirical study of context in object detection 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2009 10.1109/cvprw.2009.5206532
- Automatic compact camera module solder joint inspection method based on machine vision Measurement Science and Technology · IOP Publishing · 2022 10.1088/1361-6501/ac769a
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2577031