기본 정보
- 저자
- DOI
- 10.1038/s41598-025-88527-x
- 저널
- Scientific Reports
- 발행년도
- 2025
- 발행기관
- Nature Portfolio
- 피인용수
- 20
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1038/s41598-025-88527-x
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W4407748921
평가 내용
- 관련도
- 사업분야
- 산업용 섬유 · (9) 타이어코드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 50,586자
본문 펼치기
섹션 본문 62문단 · 32,803자
(제목 없음)
1To address the issue of low detection accuracy caused by the variety of steel surface defect types, large shape differences, and the similarity between defects and the background, this paper proposes an improved method for detecting steel surface defects based on RetinaNet.Firstly, deformable convolutions are integrated into the ResNet backbone for feature extraction, allowing the convolutional kernels to adaptively adjust their shapes when confronted with defects of varying shapes, thereby capturing defect regions more accurately.Secondly, a CA-BiFPN is proposed for feature fusion, which effectively integrates information from different feature layers using attention mechanisms and enhances the focus on defect features from the complete feature space with a CA attention module.Thirdly, an IA-BCELoss is introduced as the classification loss function, coupling classification and regression predictions to ensure high-quality detection boxes while maintaining classification accuracy.Finally, comparative experiments are conducted on the NEU-DET steel surface defect detection dataset.Results demonstrate that the proposed method achieves the highest accuracy, with a 6% improvement over the original model, achieving an mAP of 81.5%.Compared to YOLOv7-X and YOLOX-L, mAP increases by 5.2% and 5.3%, respectively, while the number of parameters is reduced by 37.96 M and 21.23 M.These findings indicate that the proposed method exhibits superior performance in steel surface defect detection tasks and holds significant practical value.
The improved RetinaNet detection method
2The shapes of steel surface defects are complex and varied, and there are small differences between different types of defects while large differences within the same type, making it challenging to achieve high-precision detection.In view of this, this study proposes an improved RetinaNet method for steel surface defect detection.To address the issue of poor prediction accuracy due to large variations in defect shapes, deformable convolutions are introduced into the backbone feature extraction network, ResNet, to more effectively capture the features of defects with different shapes.To achieve effective fusion of defect features, CA-BiFPN is proposed as the feature fusion network.BiFPN can adaptively fuse multi-scale feature layers to obtain the necessary features for defects of different scales.Meanwhile, the integration of the CA attention module increases the focus on defect features, improving the detection performance of the model.The IA-BCELoss classification loss function couples classification predictions with regression predictions for optimization, thereby obtaining high-quality bounding boxes with accurate classification.The overall structure is shown in Fig. 1.
ResNetDCN
3ResNet, as a feature extraction network with good performance 25 , utilizes its residual structure to avoid gradient vanishing, enabling the network to more effectively learn and extract deep semantic information.To adapt to defects of different shapes and thus better extract their features, this paper integrates deformable convolutions 26 into ResNet to form ResNetDCN.As shown in Fig. 1, ResNetDCN replaces the 3 × 3 convolutions in Stage 2, Stage 3, and Stage 4 of ResNet with deformable convolutions, while keeping the rest of the structure unchanged.
4Compared to traditional convolutions, deformable convolutions have a larger receptive field, and this receptive field can be adjusted through learning.This is achieved by learning an offset for the convolution kernel parameters, so that the position for feature extraction adapts according to the offset, rather than following the fixed shape of traditional convolutions.The following Eq.( 1) represents the traditional convolution operation ∑ pn∈ Rw (pn) • x (p0 + pn) (1) where p 0 represents the position for feature extraction, R is the set of relative positional indices {(− 1,−1),(− 1,0),⋯,(1,1)}, and p n enumerates the relative positions in R. w denotes the learnable parameters, and x is the feature map.Deformable convolutions obtain offsets for the relative positions through network learning, allowing R to adapt based on these offsets.This is specifically expressed in the following Eq.( 2)
5∑ pn∈ Rw (pn) • x (p0 + pn + ∆ pn) (2) where Δp n represents the learned offsets based on the input feature map, which include offsets in both the horizontal (X) and vertical (Y) directions.If the input feature map has dimensions H×W×C and the convolution kernel size is K×K, then the learned offsets will have dimensions H×W×(2×K×K), representing the offsets for the feature extraction positions for each convolution kernel parameter.Since the positional indices need to be integers, when the positions adjusted by the offsets are not integers, bilinear interpolation is used to convert them to integers.The structure diagram of the deformable convolution is shown in Fig. 2.
6As shown in the deformable convolution structure diagram in Fig. 2, the input feature map undergoes convolution learning to obtain positional offsets for the convolution kernel parameters in both the horizontal and vertical directions.These offsets are then used to adaptively adjust the convolution positions, enabling precise feature extraction and adjustment for different defect shapes, and subsequently extracting higher-quality features.Based on the above analysis, when faced with situations where defect shapes vary greatly, traditional fixed convolution kernels may fail to capture critical features.However, deformable convolutions can adaptively adjust the shape and position of the convolution kernel according to the local context, thereby more accurately capturing the details of defects.By embedding deformable convolutions into ResNet, it not only maintains its original powerful feature extraction capabilities but also achieves adaptive adjustment in response to significant variations in defect shapes, thereby maintaining the high quality of the extracted features.
CA-BiFPN
7BiFPN, which stands for Bidirectional Feature Pyramid Network 27 , not only incorporates the top-down structure of FPN but also introduces a bottom-up structure.This bidirectional feature fusion approach enables Fig. 2. Deformable convolutional structure diagram.
8the transmission of deep semantic features to shallow layers while also conveying shallow positional features to deeper layers.Additionally, BiFPN incorporates an attention mechanism during fusion, allowing the network to learn and adaptively integrate features required for different types of defects, while effectively distinguishing between foreground and background features.The basic module of BiFPN is illustrated in Fig. 3(a) below.
9The input features first undergo feature fusion in a top-down manner, followed by feature fusion in a bottomup direction.During the bottom-up feature fusion, the features are not only merged with those generated in the previous step but also with the original input features.Furthermore, all fusion methods are based on an attention mechanism, enabling the network to adaptively select the required features for fusion through learning.For instance, if the feature maps to be fused are F 1 , F 2 , and F 3 , the attention-based fusion method can be expressed as shown in Eq. (3) below.
10where w i represents the learnable parameters, F i stands for the input feature maps, and F denotes the output feature map.By weighting and fusing the input features using the learnable parameters, the output features can focus more on the key features of the defective parts, thereby improving detection accuracy.BiFPN is constructed by stacking multiple basic modules, as shown in Fig. 1.In this paper, the BiFPN basic module is stacked three times to form the feature fusion module of the overall network.
11To further enhance the focus on the features of defective parts, we add a CA attention module 28 after the multiscale features that have undergone feature fusion.The CA attention module decouples spatial attention into X and Y directions, thus reducing computational complexity while obtaining global attention.The structure of the CA attention module is illustrated in Fig. 3(b).First, for the input feature X with dimensions C×H×W, mean pooling is performed along both the horizontal and vertical directions.Specifically, it can be expressed as follows:
12where Z h c (h) and Z w c (w) represent the output features of the c-th channel along the horizontal and vertical directions, respectively.Next, these two are concatenated along the spatial dimension and passed through a nonlinear layer, as shown in Eq. ( 6) below:
13where ϕ 1 is a 1 × 1 convolution that transforms the input channels C to C/r, where r represents the reduction ratio.δ is a nonlinear activation function, and in this paper, we use the ReLU(⋅) activation function.The obtained Zinter is split along the spatial dimension into Z h inter ?R C/r× H and Z w inter ?R C/r× W . Two 1 × 1 convolutions are then used to adjust their channel dimensions to match the input features.Finally, the Sigmoid(⋅) activation function is applied to obtain the spatial attention weights in the X and Y directions, respectively.
14where σ denotes the Sigmoid(⋅) activation function, and ϕ h and ϕ w represent convolution operations.The obtained attention weights A h and A w are multiplied by the input features respectively to produce the final output features.The output features enhance the focus on defective features both in the channel and spatial dimensions, and decouple the construction of global attention into X and Y directions, significantly reducing the computational load.
15The CA-BiFPN feature fusion module, through adaptive multi-scale feature fusion, not only effectively integrates features of different scales but also selectively focuses on the key features required for different types of defects.Furthermore, combined with the CA global attention mechanism, it enhances the focus on defective features, thereby significantly improving the detection accuracy of the model.
Head
16As shown in Fig. 1, the prediction module in this paper adopts decoupled prediction, which decodes the classification and regression branches separately.This approach better balances the relationship between the classification and regression tasks, enabling the model to more effectively learn the feature representation of the target.The outputs of the classification and regression branches are KA and 4 A, respectively, where K represents the number of categories, A is the number of anchor boxes, and 4 corresponds to the horizontal and vertical offsets of the center point, as well as the width and height, i.e., (x, y, w, h).
17To couple the classification and regression results, we introduce the IA-BCELoss as the classification loss function.The classification score is coupled with the IoU between the predicted bounding box and the ground truth bounding box as the classification-regression target, specifically as shown in Eq. ( 9):
18where s and u represent the classification score and IoU (between the predicted bounding box and the ground truth bounding box), respectively, and α is a hyperparameter that controls the proportion of both.Through experiments, we found that a value of 0.25 for α is appropriate in this paper.Since during the matching process of positive and negative samples, one ground truth bounding box may be predicted by multiple predicted bounding boxes, we introduce a ranking mechanism to generate ranking weights for the quality of multiple predicted bounding boxes, specifically as shown in the following equation:
19where r i represents the rank of multiple predicted bounding boxes corresponding to one ground truth bounding box based on their scores t, and τ is a hyperparameter.w i is the ranking weight corresponding to each predicted bounding box.Therefore, the final IA-BCELoss classification loss is given by Eq. ( 11) as follows:
20N pos and N neg represent the number of positive samples and negative samples, respectively.The IA-BCELoss couples the classification score with the IoU between the predicted bounding box and the ground truth bounding box as the classification optimization objective, ensuring accurate classification while obtaining higher-quality detection boxes.The GIoU loss is adopted as the regression loss, and the ranking weight w i is also used to weigh each positive sample corresponding to a ground truth bounding box, thereby enabling the model to focus on high-quality detection boxes.
Dataset
21The steel surface defect detection dataset used in this paper was constructed and open-sourced by Northeastern University, and is named NEU-DET.This dataset contains a total of six types of defects, specifically: crazing, inclusion, patches, pitted surface, rolled-in scale, and scratches.Each type of defect includes 300 images, totaling 1800 images.Figure 4 displays images corresponding to these six types of defects.
22To ensure sample balance, this paper randomly selects 20% of the samples from each category as the test set, forming a total of 360 test samples.Meanwhile, the remaining 80% of the samples are allocated to the training and validation sets, totaling 1440 images.This approach allows for the full utilization of samples from different categories, ensuring the effectiveness and reliability of training and validation while maintaining balance.
Evaluation metrics
23To evaluate the performance of the proposed method, this paper employs multiple evaluation metrics, specifically including Precision, Recall, AP, and mAP.The calculation formulas are shown below.
24where TP represents the correctly detected defect targets, FP represents the falsely detected defect targets, FN represents the undetected defect targets, N represents the number of categories in the dataset, and p(r) represents the P-R curve.The AP for each category can be obtained by integrating the curve.
Experimental setup
25The experiments conducted in this paper are based on the PyTorch deep learning framework and Python 3.8.The hardware equipment includes an E5-2678 V3 CPU, 16GB of RAM, and an RTX 3090 GPU.All models were trained for 50 epochs using the Adam optimizer with an initial learning rate of 0.0001 and a BatchSize set to 8. A step learning rate optimization strategy was adopted, where the learning rate was reduced to 80% of its previous value every 10 epochs.To ensure the fairness of the experiments, all models were subject to the same experimental setup.The backbone feature extraction network of all models utilized pre-trained weights on ImageNet-1 K to ensure model convergence.The specific experimental environment is shown in Table 1 below.Due to certain categories of steel surface defects, such as the "scratches" category shown in Fig. 4, having a large aspect ratio.However, RetinaNet, as an anchor-based detection method, typically uses initial anchor box aspect ratios of 1:2, 1:1, and 1:3.Using only these aspect ratios cannot well accommodate defect shapes with large aspect ratios and is also detrimental to model convergence.Therefore, to further improve performance, this paper introduces an additional initial anchor box aspect ratio of 1:6 to better accommodate defects with larger aspect ratios.
Comparative analysis of experimental results
26In this section, a comparative experiment before and after the improvement was first conducted.The results of the comparative experiment are shown in Table 2.The comparison of P-R curves for various categories is illustrated in Fig. 5. Figure 6 presents a comparison of detection results before and after the improvement.Figure 7 displays the visualization results of the feature layer using Grad-Cam.
27As shown in Table 2, the proposed method after the improvement achieves a significant boost in accuracy, with a mAP increase of 6%.Moreover, there is a reduction in both the number of parameters and computational complexity, decreasing by 3.54 M and 21 GFLOPs, respectively, which demonstrates the effectiveness of the improved method.For the Cr category, where the defect shapes are complex and varied, and similar to background features, the improved method enhances accuracy by 11.1%.This improvement is attributed to the proposed ResNet-DCA module combined with deformable convolution for precise extraction of defect features, and the integration of the attention mechanism in the feature fusion module to increase focus on defect features, thereby improving detection accuracy.For the remaining categories, the proposed method also exhibits some degree of accuracy improvement.Meanwhile, the various modules of the proposed method do not lead to an increase in the number of parameters and computational complexity; instead, they result in a certain degree of reduction, indicating that the proposed method achieves a good balance between parameter count and accuracy.Figure 5 displays the Precision-Recall (P-R) curves for various categories before and after the improvement.The P-R curve is an intuitive performance evaluation tool that measures the quality of a model by the area under the curve.The larger the area, the better the model performance.Additionally, the closer the curve is to the coordinate (1,1), i.e., the top-right corner, the superior the model's performance, as it implies maintaining high precision while achieving high recall.From Fig. 5, it is clear that the improved model (depicted by the red curve) covers a broader area across different recall levels, particularly in the high recall region, indicating that the improved model achieves higher precision while maintaining a high recall rate.This result further validates the effectiveness of the improvement method.
28Figure 6 presents a comparison of detection results before and after the improvement.From the figure, it is evident that Fig. 6a before the improvement has issues with false positives and missed detections, Fig. 6b exhibits redundant detections, Fig. 6c's detection results have blurred boundaries, and Fig. 6d-f all suffer from missed detections.Notably, after the improvement, these issues have been effectively addressed.This also clearly demonstrates that the improved model possesses higher accuracy and better performance.
29To visually demonstrate the effectiveness of the proposed method, we utilized Grad-CAM to visualize the last feature layer of the backbone feature extraction network corresponding to the method before and after the improvement.Grad-CAM is a gradient-based method that highlights important feature regions focused on by the model by weighting the feature maps.Therefore, visualizing the feature maps can provide a better understanding of the features learned by the model.The visualization results are shown in Fig. 7. Figure 7a shows the original image, Fig. 7b shows the ground truth bounding boxes, Fig. 7c displays the visualization result of the feature map corresponding to RetinaNet, and Fig. 7d presents the visualization result of the feature map corresponding to the improved method.The highlighted regions in the figures indicate high attention areas of the model.From the figures, it can be observed that the attention regions of the improved method are more concentrated on the areas where defects are located, and there is stronger attention to the edge contour features of the defects.This suggests that the improved method can more accurately extract defect features and focus on the areas where defects are located, thereby improving detection accuracy.
30Figure 8 further demonstrates the visualization results of feature maps for different defect categories using Grad-CAM.Figure 8b,c,f correspond to the feature maps of the In, Pa, and Sr categories, respectively.The highlighted portions concentrate on the defect areas, indicating that the model focuses on defect features in these categories, thereby achieving higher detection accuracy.In contrast, the feature maps of the Cr and RS categories in Fig. 8a and Fig. 8e show more dispersed highlighted areas.This is due to the relatively blurred boundaries of defects in these categories, making it difficult for the model to focus on precise defect locations Fig. 5. Comparison of P-R curves for each defect category before and after improvement.and thus exhibiting lower detection accuracy.However, compared to the results before the improvement, the accuracy of these categories has been enhanced.
31To further validate the advanced nature of the proposed method, we conducted comparative experiments with other mainstream detection methods, specifically including different versions of YOLOv7 and YOLOX.The comparative experimental results are shown in Table 3. From the comparison results in Table 3, it can be seen that the proposed method exhibits the best performance in terms of accuracy.Compared to the highestaccuracy version L of YOLOX, the proposed method achieves a 5.3% improvement in accuracy, while reducing the number of parameters and computational cost by 21.23 M and 13 GFLOPs, respectively.Compared to the highest-accuracy version X of YOLOv7, the proposed method achieves a 5.2% improvement in accuracy, while reducing the number of parameters and computational cost by 37.96 M and 39 GFLOPs, respectively.This indicates that the proposed method not only significantly improves accuracy but also reduces model complexity, demonstrating its superiority and advancement in defect detection tasks.Although the YOLOv7-T and YOLOX-S models are relatively lightweight, they exhibit lower accuracy in defect detection tasks, with the proposed method improving accuracy by 14% and 5.6%, respectively, compared to these two models.
32The P-R curves in Fig. 9 comprehensively compare the performance of the proposed method with other methods across all categories.The red curve represents our proposed method.The figure visually reflects that the red curve has the largest area under the curve compared to other methods, indicating stronger overall detection performance as this metric increases.Specifically, under conditions of high recall, the red curve is significantly higher than the other curves, demonstrating that the proposed method can maintain high precision while ensuring a high defect detection rate.This result further confirms the advanced nature and effectiveness of the proposed method in defect detection tasks.
The results of the ablation experiment
33The effectiveness of each module To verify the effectiveness of each module of the proposed method, this section will conduct an ablation study.Firstly, deformable convolution will be introduced into the backbone feature extraction network to validate its effectiveness.Secondly, the impact of introducing CA-BiFPN on the overall model will be evaluated.Finally, combining the aforementioned improvements, experiments will be conducted to verify the enhancement of the final effect.The specific ablation study results are shown in Table 4.
34Based on the results in Table 4, after incorporating deformable convolution into the backbone feature extraction network, mAP@0.5 increased by 3.6% with only a slight increase in the number of parameters.This is because deformable convolution can more accurately extract defect features with complex and varied shapes, thereby improving detection accuracy.
35Further introduction of the proposed CA-BiFPN feature fusion module resulted in another 1.3% increase in mAP@0.5, while both the number of parameters and computational cost were reduced.This indicates that combining the attention mechanism for multi-scale feature fusion and enhancing the focus on defect features through the CA attention module can effectively improve the overall detection accuracy of the model.
36Finally, after further introducing the IA-BCELoss classification loss function, mAP increased by another 1.1%.This demonstrates that coupling classification prediction with regression prediction can ensure correct classification while obtaining higher-quality bounding boxes, thereby improving detection accuracy.Therefore, the ablation study verified the effectiveness of each proposed module, and the overall model exhibits good generalization ability and practical value.
The impact of hyperparameters on model accuracy
37To investigate the impact of the reduction ratio r in the CA module and the hyperparameter α in the IA-BCELoss loss function on model accuracy, we conducted ablation experiments on these two hyperparameters separately.The experimental results are shown in Fig. 10, where Fig. 10a presents the experimental results for the hyperparameter α and Fig. 10b presents the experimental results for the hyperparameter r.From the figures, it can be observed that when the reduction ratio r is 8 (i.e., the number of intermediate channels is 1/8 of the input channels), the model's detection accuracy is 79.5%.As the reduction ratio increases, the detection accuracy gradually improves, but when r reaches 32, the accuracy decreases.To achieve a good balance between accuracy Baseline ResNetDCN CA-BiFPN IA-BCELoss GFLOPs Params mAP@0.75mAP@0.and detection efficiency, this paper ultimately selects a reduction ratio r of 16, which exhibits the optimal accuracy performance.Meanwhile, as the value of α increases, the detection accuracy gradually decreases.Although the detection accuracy is higher when α is 0.75 compared to 0.5, it is far lower than when α is 0.25.Therefore, this paper ultimately selects α as 0.25, which can better couple the classification score with the bounding box quality, thereby obtaining higher-quality detection bounding boxes.
38The impact of deformable convolutions on model performance Figure 11 presents visualizations of feature maps for different categories before and after the introduction of deformable convolutions.As observed in the figure, after incorporating deformable convolutions, the extracted features are more focused on the defect itself.This is attributed to the ability of deformable convolutions to adaptively adjust the feature sampling positions during training, ensuring better feature integrity when dealing with complex shapes of defect features.Specifically, Fig. 11b,c,e demonstrate that in categories where these defect features are more prominent, deformable convolutions effectively enable the model to pay more attention to the defect-specific features, a change that is clearly reflected in the highlighted areas.In Fig. 11a,d,f, which represent categories where the defect boundaries are relatively blurred, deformable convolutions still manage to focus on the key features within the defect itself, thereby significantly improving the detection accuracy.
The setting of anchor boxes
39Due to the ineffectiveness of the initial anchor boxes' aspect ratios in adapting to defect shapes with larger aspect ratios and their hindrance to model convergence, further optimization was conducted in this paper by adding initial anchor boxes with a 1:6 aspect ratio to better accommodate these defect shapes with larger aspect ratios.Figure 12 displays the curves of model loss and mean mAP changes before and after adding the 1:6 aspect ratio anchor boxes.The red curve represents the scenario with the addition of 1:6 aspect ratio anchor boxes, while the green curve represents the scenario without them.As can be seen from the figure, adding these anchor boxes not only accelerates the model's convergence process but also significantly improves detection accuracy.This improvement is attributed to the use of more matching anchor boxes for some defects with large aspect ratios, which reduces the adjustment magnitude and thereby speeds up convergence and enhances accuracy.
Other fields
40To further validate the effectiveness and advancement of the proposed method, we conducted comparative experiments on the GC10-DET dataset.GC10-DET is an open-source dataset focused on industrial surface defects, encompassing 10 types of defects.In this paper, we selected 7 of these defect types for experimentation, specifically Cg, Os, Pu, Ss, Wf, Ws, and Wl.The dataset consists of a total of 2046 images, with a dataset split ratio of 8:1:1, where the training set contains 1634 images, and the validation and test sets each contain 412 images.
41The experimental results are presented in Table 5.
42As can be seen from the data in Table 5, the proposed method performs the best on the GC10-DET dataset.Compared to YOLOv7-T and YOLOv7-L, the average precision of the proposed method is improved by 11.7% and 8.8%, respectively.When compared to YOLOX-S and YOLOX-L, the average precision is increased by 2.6% and 1.1%, respectively.This indicates that the proposed method demonstrates higher robustness and generalization ability in the field of defect detection.Additionally, the proposed method achieves the highest precision on the categories of Cg, Ss, Wf, and Ws.Although the detection precision of YOLOX-L is slightly lower than that of the proposed method, its number of parameters and computational cost are significantly higher, further validating the superiority of the proposed method in overall performance.
Failure cases analysis
43Figure 13 presents some detection failure cases of the proposed method on the NEU-DET dataset.Figure 13a,b showcase the issue of redundant detections on the Cr category, which may be attributed to the unclear boundaries of defects in this category.Figure 13c,d demonstrate the occurrence of duplicate detections, potentially stemming from the failure to effectively suppress overlapping bounding boxes during the post-processing stage.Figure 13e,f reveal some missed detections.To address these issues, future directions for improvement include: adding an auxiliary edge training branch to leverage additional supervision from defect edges, guiding the model to focus more on the edge features of defects, thereby improving detection accuracy degraded by unclear category boundaries; simultaneously, optimizing the positive and negative sample matching strategy by implementing a one-to-one detection approach to avoid duplicate detections.
Conclusion
44Addressing the problem of low detection accuracy caused by the large variation in shapes of steel surface defects and complex defect backgrounds, this paper proposes an improved RetinaNet-based steel surface defect detection method.Firstly, deformable convolution is integrated into the backbone feature extraction network to adaptively adjust the shape of convolutional kernels, enabling more effective extraction of defect features and improving detection accuracy.Secondly, a CA-BiFPN feature fusion network is proposed, which utilizes the attention mechanism to fuse different feature layers and combines the CA attention mechanism to enhance the focus on important defect features, thereby obtaining more discriminative feature representations.Thirdly, IA-BCELoss is introduced as the classification loss function to obtain high-quality bounding boxes.Finally, comparative experiments are conducted on the NEU-DET steel surface defect detection dataset to verify the effectiveness of the proposed method.
45The experimental results show that the proposed method achieves the highest accuracy, with an mAP of 81.5%, which is a 6% improvement in accuracy compared to the pre-improvement version, while the number of parameters and computational cost are reduced by 3.54 M and 21 GFLOPs, respectively.Compared to the best-performing versions of YOLOv7 and YOLOX, the proposed method improves accuracy by 5.2% and 5.3%, respectively, while reducing the number of parameters by 37.96 M and 21.23 M, and the computational cost by 39 GFLOPs and 21 GFLOPs, respectively.This demonstrates that the proposed method exhibits good effectiveness and advancement in the field of defect detection.In the future, we will strive to lighten the model while maintaining accuracy, such as by adopting model pruning and knowledge distillation methods, to reduce the complexity of the model and achieve high-speed, high-accuracy steel surface defect detection.
Fig. 1 .
46Fig. 1.Overall network structure diagram.
y
47(p0) =
Fig. 3 .
48Fig. 3. (a) Basic module of BiFPN and (b) CA attention module.
Fig. 4 .
49Fig. 4. Images corresponding to defects.
Fig. 6 .
50Fig. 6.Comparison of detection results before and after improvement.
Fig. 7 .
51Fig. 7. Visualization results of feature maps corresponding to methods before and after improvement.
Fig. 8 .
52Fig. 8. Visualization results of feature maps for different defect categories.
Fig. 9 .
53Fig. 9. Comparison of P-R curves for all categories between the proposed method and other methods.
Fig. 10 .
54Fig. 10.The impact of hyperparameters α and r on model accuracy.
Fig. 11 .
55Fig. 11.Visualization results of feature maps before and after adding deformable convolutions, from left to right: original image, with conventional convolution, and with added deformable convolution.
Fig. 12 .
56Fig. 12.The impact of anchor box settings on model performance.
Fig. 13 .
57Fig. 13.Images of partial detection failure cases on the NEU-DET dataset.
Table 2 .
58Comparative experimental results before and after improvement of RetinaNet.
Table 1 .
59Experimental environment.
Table 3 .
60Comparison results of the proposed method with other methods.
Table 4 .
61Results of ablation experiments.
Table 5 .
62Comparison results of the proposed method against other methods on the GC10-DET dataset.
참고문헌 22건
- 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
- Fast R-CNN 2015 10.1109/iccv.2015.169
- Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation 2014 10.1109/cvpr.2014.81
- Computer-Vision-Based Fabric Defect Detection: A Survey IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2008 10.1109/tie.1930.896476
- Review of vision-based steel surface inspection systems EURASIP Journal on Image and Video Processing · Springer Nature · 2014 10.1186/1687-5281-2014-50
- SSD: Single Shot MultiBox Detector Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46448-0_2
- Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
- An Enhanced Viola-Jones Vehicle Detection Method From Unmanned Aerial Vehicles Imagery IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tits.2016.2617202
- Feature Pyramid Networks for Object Detection 2017 10.1109/cvpr.2017.106
- YOLO9000: Better, Faster, Stronger 2017 10.1109/cvpr.2017.690
- Deformable Convolutional Networks 2017 10.1109/iccv.2017.89
- ImageNet classification with deep convolutional neural networks Communications of the ACM · Association for Computing Machinery · 2017 10.1145/3065386
- An End-to-End Steel Surface Defect Detection Approach via Fusing Multiple Hierarchical Features IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2019.2915404
- You Only Look Once: Unified, Real-Time Object Detection 2016 10.1109/cvpr.2016.91
- PGA-Net: Pyramid Feature Fusion and Global Context Attention Network for Automated Surface Defect Detection IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2958826
- EfficientDet: Scalable and Efficient Object Detection 2020 10.1109/cvpr42600.2020.01079
- SSD: Single Shot MultiBox Detector Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46448-0_2
- Coordinate Attention for Efficient Mobile Network Design 2021 10.1109/cvpr46437.2021.01350
- Predicting the energetics and kinetics of Cr atoms in Fe-Ni-Cr alloys via physics-based machine learning Scripta Materialia · Elsevier BV · 2021 10.1016/j.scriptamat.2021.114177
- Proceedings of IEEE Conference on Computer Vision and Pattern Recognition 1993 10.1109/cvpr.1993.341010
- Concurrent prediction of metallic glasses’ global energy and internal structural heterogeneity by interpretable machine learning Acta Materialia · Elsevier BV · 2023 10.1016/j.actamat.2023.119281
- Atomistically informed mesoscale modelling of deformation behavior of bulk metallic glasses Acta Materialia · Elsevier BV · 2024 10.1016/j.actamat.2024.120136