ABSTRACT
The primary goal of this study is to enhance surface defect detection in steel manufacturing through advanced machine learning techniques. Traditional inspection methods often fall short in terms of accuracy and efficiency, necessitating more robust solutions. This paper presents DBCW-YOLO, an optimized version of the YOLOv5 framework, designed to improve defect detection by integrating attention mechanisms and enhanced feature extraction techniques. The model incorporates the BiFPN technique to maximize feature map fusion across multiple scales, and CARAFE upsampling expands the network’s receptive area, effectively utilizing neighboring data for better detection. Additionally, WIoU introduces a dynamic, non-monotonic focusing mechanism in the loss function, addressing the issue of accuracy degradation caused by sample inhomogeneity. The model's performance was evaluated on multiple defect categories: crazing (Cr), inclusions (In), patches (Pa), pits and scales (PS), roll scale (RS), and scratches (Sc). DBCW-YOLO demonstrated significant improvements in Average Precision (AP) compared to the baseline YOLOv5m model, with AP for Cr increasing from 35.69% to 70.25%, In from 60.25% to 76.85%, and PS from 59.74% to 92.36%. These results confirm that DBCW-YOLO is a highly effective and efficient tool for automating surface defect detection in the steel industry, significantly outperforming the baseline model.
Keywords:
DBCW-YOLO; YOLOv5; CARAFE; BiFPN; WIoU
1. INTRODUCTION
Surface defect detection is a critical process in the steel manufacturing industry, as the quality and integrity of steel products are paramount to ensuring their performance in various applications [1]. Traditional inspection methods, often based on manual examination or simple automated systems, are increasingly proving inadequate in meeting the high demands for accuracy, efficiency, and scalability in modern production environments [2, 3]. These limitations have driven the adoption of advanced machine learning approaches, particularly deep learning models, to enhance the precision and reliability of defect detection processes [4, 5]. The YOLO (You Only Look Once) family of models has gained widespread recognition for its real-time object detection capabilities, making it a promising candidate for detecting surface defects in steel [6]. However, the standard YOLOv5 model, while effective, faces challenges in handling the complex and diverse nature of steel defects, which often vary significantly in size, shape, and texture [7].
In recent years, several advanced machine learning models have emerged for object detection tasks, particularly in the field of surface defect detection. Notable models include YOLOv3, Faster R-CNN, and RetinaNet, each contributing unique strengths to the detection process. Following these, the YOLO series has evolved significantly, with YOLOv5s and YOLOv5I setting benchmarks in speed and accuracy. Further advancements are seen in YOLOv7 and YOLOv8, which continue to push the boundaries of detection capabilities. Finally, this study introduces DBCW-YOLO, an optimized variant of YOLOv5, specifically designed to enhance surface defect detection in steel manufacturing.
In order to overcome these obstacles, this work presents DBCW-YOLO, an enhanced version of YOLOv5 designed especially for the identification of surface flaws in steel [8]. DBCW-YOLO incorporates several advanced techniques to enhance the model’s performance [9, 10]. A new feature fusion strategy using the BiFPN (Bidirectional Feature Pyramid Network) method is employed to optimize the fusion of feature maps across multiple scales, while CARAFE (Content-Aware Reassembly of Features) up-sampling expands the network’s receptive field, enabling better utilization of surrounding contextual information [11, 12]. Additionally, to mitigate the accuracy deterioration brought on by sample inhomogeneity, the model incorporates a unique loss function based on WIoU (Weighted Intersection over Union), which contains a dynamic non-monotonic focusing mechanism [13].
The effectiveness of DBCW-YOLO is demonstrated through a series of experiments, where it significantly outperforms the baseline YOLOv5m model across various defect categories, such as cracks, inclusions, patches, pits and scales, roll scale, and scratches [14,15,16]. These improvements highlight the potential of DBCW-YOLO as a powerful tool for automated steel surface defect detection, offering enhanced accuracy and robustness for quality control in the steel industry [17, 18]. In the quest for enhancing surface defect detection in steel manufacturing, the integration of deep learning techniques has proven transformative [19, 20]. The Optimized YOLOv5 framework, particularly when enhanced with DBCW-YOLO (Defect-Balanced Contextual Weighted YOLO), represents a significant advancement in machine learning approaches for this task [20, 21].
YOLOv5, known for its efficiency and accuracy in real-time object detection, is further optimized in this framework to address the specific challenges associated with detecting subtle and diverse surface defects in steel [22, 23]. Incorporating the DBCW-YOLO approach, which balances defect class distribution and contextual information, the framework improves sensitivity and reduces false positives [24, 25]. The result is a robust and precise system that can effectively identify and classify various surface imperfections in steel, which is crucial for maintaining product quality and reducing waste in manufacturing processes [26]. The goal of this study is to enhance steel surface defect detection by optimizing the YOLOv5 framework with the DBCW-YOLO approach, improving accuracy and sensitivity in identifying and classifying defects [27, 28]. This aims to ensure higher quality control and reduce manufacturing errors in steel production.
1.1. RELEVANT RESEARCH
1.1.1. Conventional approach
Traditional machine-learning methods for defect detection involve two primary steps: developing feature extraction rules tailored to various defect types and then classifying these features with a machine-learning classifier [1, 13]. To extract features from uneven steel surface patterns, methods like the GCLBP and the ICNLP have been utilized [5, 29]. These features are classified using algorithms like the nearest neighbor classifier [7]. To refine feature extraction, traditional methods may employ contour transforms and kernel spectral regression within a multi-scale framework, enhancing the detection of surface defects in metals [9].
Approaches such as guiding templates and grayscale image sorting are used to identify strip surface defects by comparing the test image against a reference template [15]. Despite these advancements, traditional methods face challenges [19]. They rely on manually crafted feature extraction rules, which can limit their generalization ability and make them prone to noise and interference, resulting in decreased accuracy and adaptability [22, 23]. Combining multiple traditional techniques with advanced machine learning methods could potentially improve defect detection performance and address these limitations [26].
1.1.2. Deep learning techniques
The industry has embraced deep learning-based target identification algorithms because of their high speed and accuracy [9]. One-stage and two-stage detection techniques can be used to group these algorithms. Two-stage approaches often have slower detection rates but generally provide better localization and target identification accuracy [22, 23]. To identify steel surface imperfections, for example, a combination of an improved Faster R-CNN algorithm with ResNet50 has been proposed. This method incorporates three major enhancements to Faster R-CNN: matrix NMS methods, SPP, and FPNs, which improve performance overall [1]. To improve picture quality and avoid repeated detections, pre-processing techniques for tunnel surface photos have also been developed.
A multilayer feature fusion network combined with Faster R-CNN has been introduced for precise tunnel surface defect detection [29]. Even with these improvements, the detection speed of two-stage algorithms is often slower than that of one-stage techniques. On the other hand, one-stage detection techniques may lose some accuracy but offer quicker detection rates [4, 5]. It employs an adaptive localization loss function to calculate localization errors and enhance detection accuracy [26]. The model may adapt to objects of different sizes more effectively by integrating these traits with global data. YOLOv5 exemplifies such improvements, demonstrating enhanced detection performance.
2. MATERIALS AND METHODS
In this study, we employed seven machine learning models to evaluate and compare their effectiveness in detecting surface defects in steel. These models include YOLOv3, Faster R-CNN, RetinaNet, YOLOv5s, YOLOv5i, YOLOv7, and the proposed DBCW-YOLO. Each model was implemented using appropriate datasets and optimized for performance metrics to ensure a comprehensive analysis. The use of multiple models allows for a robust comparison, highlighting the strengths and weaknesses of each approach in the context of defect detection. The primary difference between YOLOv models and DBCW-YOLO lies in their architectural enhancements and performance optimization.
While YOLOv models, such as YOLOv3 and YOLOv5, utilize a single convolutional network to predict bounding boxes and class probabilities, DBCW-YOLO introduces advanced components, including the BiFPN for cross-scale feature fusion and the CARAFE module for improved upsampling. These enhancements enable DBCW-YOLO to achieve superior accuracy and robustness in detecting surface defects, particularly in complex scenarios. Additionally, DBCW-YOLO employs a dynamic weighting mechanism in the loss function, which addresses sample inhomogeneity, further distinguishing it from its predecessors. Overall, DBCW-YOLO is designed to provide enhanced performance for industrial applications compared to traditional YOLOv models. The Dy-Head module in DBCW-YOLO serves to dynamically adjust the attention weights during the detection process, enabling the model to focus more effectively on relevant features while suppressing less important information.
This dynamic adjustment enhances the model’s ability to accurately identify defects, especially in cluttered or complex backgrounds. Wise-IoU (Weighted Intersection over Union) is integrated into the loss function to address the issue of sample inhomogeneity. By assigning different weights to various samples based on their characteristics, Wise-IoU improves the model’s sensitivity to underrepresented classes and reduces the negative impact of outlier samples on the overall accuracy. Together, Dy-Head and Wise-IoU contribute to the DBCW-YOLO model’s enhanced performance in defect detection, ensuring higher precision and robustness in real-world applications.
2.1. YOLOv5 model
The YOLOv5 network architecture is a powerful, one-stage object detection framework known for its balance of speed and accuracy [9]. It consists of three main components shown in Figure 1: the backbone, the neck, and the head, each playing a crucial role in processing images and generating the final output [8]. The backbone is responsible for extracting essential features from the input image. It employs a Convolutional Neural Network (CNN) that processes the image through multiple layers, capturing different levels of detail and features such as edges, textures, and shapes. The neck of the YOLOv5 architecture is designed to enhance feature fusion across different scales [13].
It uses techniques like Feature Pyramid Networks (FPN) and Path Aggregation Networks (PAN) to combine features from different layers, ensuring that the network can detect objects of varying sizes and resolutions [1]. The head is where the final detection occurs. It predicts bounding boxes, object classes, and confidence scores. YOLOv5 uses anchor boxes and a custom loss function to fine-tune the accuracy of these predictions. The input image is processed through these stages, with the network identifying and localizing objects within the image [21]. The final output consists of the detected objects’ bounding boxes, class labels, and confidence scores, providing a complete and accurate representation of the objects within the image.
2.2. DBCW-YOLO model
The DBCW-YOLO network architecture is designed to achieve higher detection accuracy by enhancing feature extraction and improving the model’s adaptability to varying sample qualities [13]. The architecture begins by strengthening feature extraction through the use of BiFPN (Bidirectional Feature Pyramid Network) cross-scale connectivity, which allows for efficient and effective multi-scale feature integration [29]. Additionally, the YOLOv5 neck’s up-sampling algorithm is optimized using the CARAFE (Content-Aware ReAssembly of FEatures) module structure, which enhances feature representation shown in Figure 2 [1].
To address issues related to large variations in sample quality and detection performance, the WIoU (Weighted Intersection over Union) loss function is introduced [16]. This function reduces the impact of low-quality samples, thereby increasing the model’s overall efficiency [19]. Lastly, to enhance the model head’s ability to represent and detect steel defects, the Dy-Head (Dynamic Head) module is incorporated. This module further improves detection performance by refining the representation and decision-making capabilities of the model [30]. Together, these enhancements enable the DBCW-YOLO network to achieve superior performance in detecting surface defects in steel, combining speed, accuracy, and robustness.
Figure 2 illustrates the architecture of the DBCW-YOLO model, which is designed for enhanced surface defect detection. The diagram showcases various components, including convolutional layers (Conv), C3 modules, and feature fusion techniques like CARAFE and Con-cat. The flow begins with a series of convolutional layers followed by C3 modules that facilitate feature extraction. The CARAFE (Content-Aware ReAssembly of Feature Maps) enhances spatial feature representation by dynamically adjusting feature maps [31, 32]. The Con-cat layer merges features from different sources to improve the model’s learning capacity. The SPPF (Spatial Pyramid Pooling Fast) layer allows for multi-scale feature extraction, effectively pooling information from various resolutions. Finally, the Dy-Head (Dynamic Head) facilitates final predictions by incorporating dynamic adjustments to the detection outputs. Overall, this architecture emphasizes optimized feature extraction and fusion strategies to significantly improve the model’s performance in detecting various surface defects in steel manufacturing.
2.3. More effective feature fusion model
Feature fusion is used extensively in tasks related to target identification. While the PANet design in YOLOv5 allows for feature fusion, the detection accuracy is restricted since features are not fully used across various sizes [6]. Additionally, the original up-sampling algorithm in the YOLOv5 neck relies on the nearest neighbor interpolation method. This method, which depends on the values of adjacent pixels, fails to capture subtle image details, leading to a smaller feature-aware domain and a noticeable jagged effect along image edges [31]. To enhance the model’s detection capabilities, an improved feature fusion network is proposed, incorporating the BiFPN (Bidirectional Feature Pyramid Network) approach for various-scale feature fusion in the model. The more effective feature of fusion structural diagrams is shown in the Figure 3a and 3b.
Additionally, this technique presents the CARAFE lightweight up sampling module, which improves the up-sampling process without incurring additional processing expenses. BiFPN uses weighted feature map fusion and bidirectional cross-scale connection to improve the model [8]. In the backbone network, it creates bidirectional top-down and bottom-up channels to combine data from various sizes. In order to optimize feature fusion without raising computational cost, the fusion scales are up- and down-sampled to the same feature resolution scale, and horizontal connections are made between input and output nodes of the same feature. The model’s capacity to identify targets at different sizes is improved by this tactic, which strengthens semantic representation and distinction.
This study presents CARAFE, a small up-sampling module intended to improve YOLOv5’s up-sampling method, in order to solve the problem of losing up-sampling information [6]. Without adding to the computational burden, CARAFE enhances feature mapping capabilities and efficiently extracts semantic information from steel fault photos. Using feature adaptation and restructuring, CARAFE functions as an up-sampling generator [29]. A content-aware rearrangement component and a kernel forecasting unit make up its two primary parts. The module generates a characteristic map with the following form δH × δW × C, where δ is the up-sampling ratio, using input features of the shape H × W × CH [13]. This process of kernel prediction and feature reorganization generates a new feature map enriched with additional semantic information. Both network’s original and improved comparison of the left (L) and right (R) frameworks is shown in Figure 4.
The CARAFE (Content-Aware Reassembly of Features) module enhances feature resolution in neural networks [7]. It consists of two main components: the content-aware reassembly block and the up-sampling block. The content-aware reassembly block computes a feature map from a low-resolution input, adapting it to different scales. The up-sampling block then interpolates this feature map to a higher resolution, ensuring that fine details are preserved. By leveraging both spatial and channel-wise information, CARAFE improves feature map quality and facilitates more accurate object detection and segmentation [14]. This module is particularly effective in architectures requiring high-resolution output from low-resolution inputs shown in Figure 5. Eq. 1 shows the CARAFE-based calculation parameters,
2.4. Dy-Head
The Dy-Head (Dynamic Head) methodology enhances the YOLOv5 network’s ability to detect objects of varying scales by dynamically adjusting attention across scale, spatial, and task dimensions shown in Figure 6. Through applying attention methods to each distinct dimensionality of the characteristic tensor, Dy-Head enhances detection sensitivity in the identification of steel defects, where faults vary widely in size [22]. This enables more precise detection of small targets and enhances the integration of multi-scale features, ensuring that shallow feature maps contain stronger semantic and location information [19]. The result is a more comprehensive and accurate detection system, crucial for industrial inspections. The Dy-Head function is calculated by using Eq. 2,
In this method, W characterizes the consideration role, where L denotes the feature map level, S is the product of the feature map’s height and width, and C is the number of channels. The attention functions πL(·), (·) and (·) are applied to these dimensions. These consideration orders are used in the detection head and can be layered multiple times. In this study, two collections of these attention modules are stacked to enhance the detection head’s representation and improve the model’s ability to detect small flaws, while keeping computational demands manageable.
In Eq. 3, the activation function, δ(x), is a hard sigmoid, and f is a linear function composed of convolution operations intended to minimize feature dimensionality. K, or the small amount of sample places, is introduced in Eq. 4. A moveable location defined by a developed spatial movement is indicated by the expression pj + Δpj. Δpj, which aids in concentrating on important discriminating roles [1].
The importance of scalar Δmj at position pj is also self-learned from intermediate-level input features. In Eq. 5, the feature slice of channel C is represented as FC, with θ(·) being a superfunction that controls the learning of activation thresholds, similar to dynamic Relu. In this case, the learnable parameters α and β allow for the separate activation of multiple channels, therefore carrying out attention activities. The model applies these three attention processes sequentially, and it allows them to be stacked more than once to create the Dy-Head block [5].
2.5. Wise-IoU
The Wise Intersection over Union (WIoU) method enhances the bounding box regression loss function by introducing a dynamic measure of anchor box quality, which is crucial for improving detection accuracy. Unlike the CIoU loss function, which does not account for dataset balance or quality variation, WIoU distinguishes anchor boxes based on the degree of abnormality or outliers. High-quality anchor boxes are assigned a smaller degree of anomaly, while low-quality ones receive a larger degree, allowing the model to focus more on medium-quality anchor boxes [13]. This approach increases the accuracy and robustness of the detector by better-handling variations in data quality. The Wise-IoU data structure is shown in Figure 7a. To enhance the middle quality by using Eq. 6 and high-quality Eq. 7,
Wise-IoU data structure and image processing results using DBCW-YOLO machine learning techniques.
LIoU ϵ[0,1] significantly reduces the RWIoU of high-quality candidate boxes, emphasizing the distance between the prediction box and the applicant container’s centroid when the IoU is large. To prevent RWIoU from creating gradients that hinder convergence, Wg and Hg are separated from the computed graph. This separation eliminates the need to introduce new metrics to address convergence barriers [24].
Ablation testing outcomes are compared with NEU-DET to evaluate the effectiveness and contributions of each component in the DBCW-YOLO model. NEU-DET serves as a well-established benchmark in the field of surface defect detection, allowing us to assess how our modifications and enhancements improve performance relative to a recognized standard. By analyzing the results, we can identify which features and configurations yield significant gains in detection accuracy and efficiency. This comparison helps demonstrate the advantages of the DBCW-YOLO model and validates our approach in addressing the challenges associated with automated defect detection.
2.6. Information about CARAFE structure
The CARAFE (Content-Aware ReAssembly of Feature Maps) structure is designed to improve feature representation by dynamically adjusting feature maps based on their content.
Module 1 (Channel Compressor): This module compresses the input feature maps, reducing the number of channels while preserving essential spatial information. The process involves a content encoding step that generates a compact representation of the input, followed by a kernel normalization process to ensure consistent feature scaling across the network.
Module 2: This module focuses on the reassembly of the compressed features. It utilizes a kernel to facilitate the upsampling process, effectively integrating contextual information from neighboring features. The operation combines the compressed features with a learned spatial attention mechanism, resulting in a refined feature map that enhances the network’s ability to capture complex patterns and improve detection performance.
The models introduced in this study—SPPF, Conv, C3, and Yolo-head—are integral to optimizing defect detection capabilities. SPPF enhances feature map aggregation, Conv layers facilitate effective feature extraction, C3 improves spatial resolution, and Yolo-head processes final predictions, collectively ensuring high accuracy and efficiency in identifying surface defects in steel. The Conv layers are generated twice in this study to optimize feature extraction at varying stages of the architecture. This approach facilitates the model’s ability to capture complex patterns and details within the data, thereby enhancing overall accuracy and effectiveness in detecting surface defects in steel manufacturing processes.
The image processing procedure utilizing DBCW-YOLO involves multiple critical stages. Initially, steel surface images are acquired and subjected to pre-processing, which enhances their quality for subsequent analysis. The DBCW-YOLO model employs advanced feature extraction methods alongside attention mechanisms to accurately detect and classify surface defects. The results demonstrate substantial improvements in detection performance, reflected in key metrics such as Precision, Recall, and Average Precision (AP), showcasing the model’s efficacy in identifying various defect types within the steel industry.
In this study, the NEU-DET real-world benchmark dataset is utilized for the experiments. This dataset consists of six defect categories, with 452 instances per category. The six defect types include Crazing (CR), Inclusion (In), Patches (Pa), Rolled-in Scale (RS), and Scratches (Sc). A detection image from the dataset using a Machine learning technique is shown in Figure 7b. This work uses many assessment criteria to evaluate the performance of the ML-based algorithm in detail and compare it with alternative methods. These include frames per second (FPS) to gauge detection speed, recall (R), average precision (AP) for single-category accuracy, mean average precision (mAP) for multi-category accuracy, and precision (P). Equations 8 to 11 are utilized to compute the outcomes of P, R, AP, and mAP.
3. RESULTS AND DISCUSSION
3.1. Testing background setting
Table 1 summarizes the experimental configuration and key parameters used for training the machine learning model. The setup includes the use of Windows 10 as the OS and a GPU, known for its high-performance capabilities in deep learning tasks [12]. The model is built and trained using the PyTorch 1.10.0 framework, which is widely recognized for its flexibility and efficiency [10]. The SGD algorithm is chosen as the optimization method, with a momentum term of 0.876 to help improve convergence speed by maintaining momentum in the direction of the gradient [27].
A weight decay of 0.0008 is applied to prevent overfitting by discouraging excessively large weights [16]. The model is trained with a learning rate of 0.01, which controls how much the model’s weights are adjusted concerning the loss gradient. Training is conducted over 155 epochs, indicating that the complete training dataset is passed through the model 155 periods [13]. The batch size is set to 10, meaning that the model processes 10 samples at a time before updating its weights. Finally, the image dimensions used for training are 220 × 220 pixels, providing a standardized input size for the model [20].
3.2. Testing results
3.2.1. Contrast testing outcomes
To demonstrate the advantages of DBCW-YOLO, this paper compares its performance against numerous normal systems using the NEU-DET dataset. In manufacturing submissions, two factors are crucial: ensuring high detection accuracy and maintaining a sufficient detection speed to meet production demands [13]. To evaluate these aspects, metrics such as mAP for accuracy and FPS for detection speed are used. The testing results, summarized in Table 2, highlight the effectiveness of DBCW-YOLO in balancing both accuracy and rapidity [1]. Table 2 presents a comparative analysis of various object detection algorithms based on their performance on the NEU-DET dataset. Six defect categories are represented in the table, with metrics for detection accuracy for each: Cracking, Inclusion, Patches, Rolled-in Scale, and Scratches. Additionally, it shows the mean Average Precision (mAP) at an IoU threshold of 0.5 and the detection speed measured in Frames Per Second (FPS).
The results indicate that DBCW-YOLO outperforms most of the other models in terms of overall accuracy, achieving the highest mAP of 89.68%. It also performs strongly in specific categories like RS with 90.58% accuracy and Pa with 90.56%. While YOLOv7 delivers the highest detection accuracy for several categories, DBCW-YOLO still stands out as a well-rounded performer [20]. In terms of detection speed, YOLOv7 leads with an impressive 136.96 FPS, followed by YOLOv8 and YOLOv5I. DBCW-YOLO, while not the fastest, maintains a respectable 78.58 FPS, balancing speed with high accuracy, making it suitable for industrial applications where both performance and speed are critical. Figure 8 shows the overall algorithm testing outcomes [26].
Table 3 provides a comparative analysis between the baseline YOLOv5m model and the improved DBCW-YOLO model, focusing on P, R, F1-score, AP, and mAP across six defect types [1]. The baseline YOLOv5m achieves a mAP of 79.48%, with varying levels of performance across defect types [6]. For instance, the precision for (Cr) is 60.25%, with a recall of 45.25% and an AP of 35.69%. The highest AP in the baseline is observed for Pa at 84.56%. In contrast, the DBCW-YOLO model shows significant improvements in almost all metrics. The overall mAP increases to 84.66%. Precision and recall for Cr jump to 66.78% and 71.59%, respectively, with a corresponding AP of 70.25%.
RS sees the most substantial improvement, with an AP of 90.12% compared to 75.69% in the baseline [15]. The F1-scores and AP across other defect types also see notable enhancements, demonstrating the superiority of DBCW-YOLO over the baseline YOLOv5m in both accuracy and reliability across different defect categories [18]. The Comparison graph between YOLOv5m and DBCW-YOLO from AP%, P%, R%, and F-1 score is shown in Figure 9a, b, c, and d. Figures from 9(a) to 9(d) illustrate that the method introduced in this paper significantly boosts defect detection effectiveness, making it capable of meeting the real-time needs of industrial environments.
3.2.2. Ablation testing outcomes
Table 4 presents the performance metrics of various YOLO-based models, including Cr (Criticality), In (Inference Time), Pa (Precision), PS (Recall), RS (Robustness), Sc (Scalability), and mAP 0.5 (mean Average Precision at IoU threshold 0.5 [15]. From the data, it is clear that the DBCW-YOLO model outperforms the others in several key metrics. Specifically, DBCW-YOLO achieves the highest Criticality (70.25%) and Inference Time (76.85%), indicating its strong ability to handle complex and varied defect detection scenarios effectively [19]. Its Precision (84.12%) and Recall (92.36%) are also notably high, reflecting its robust performance in accurately identifying and classifying defects. The model’s Robustness (90.12%) and Scalability (88.74%) suggest that it maintains performance consistency across different conditions and scales well to larger datasets.
Although its mAP 0.5 score (84.66%) is slightly lower compared to some other models, the overall performance across the metrics highlights the DBCW-YOLO’s effectiveness in real-time defect detection applications. In comparison, models like YOLOv5m and W-YOLO exhibit lower performance in most metrics, while the BC-YOLO model excels in mAP 0.5 but does not match the DBCW-YOLO’s comprehensive performance. The Figure 10 shows the graph structure for ablation testing on NEU-DET. Experimental results show that our method enhances defect detection accuracy in steel structures compared to the base model and other network variants, thereby demonstrating the superiority of the DBCW-YOLO algorithm.
The DBCW-YOLO model is central to this study, providing enhanced defect detection in steel manufacturing. Its architecture, which incorporates advanced feature extraction and attention mechanisms, results in substantial improvements in key performance metrics. The findings demonstrate the model’s effectiveness in accurately identifying various defect types, proving its industrial applicability.
The results indicate that the proposed DBCW-YOLO model significantly improves defect detection compared to traditional methods. As noted by [1], effective detection is crucial for maintaining quality in steel manufacturing. The enhancements achieved by DBCW-YOLO can be attributed to advanced feature extraction techniques, aligning with the findings of [5] on the importance of dense connectivity in improving model performance. Furthermore, the incorporation of attention mechanisms has shown promise in refining feature representation, similar to the strategies employed in image classification tasks outlined by [12]. The improvements in Average Precision across various defect categories underscore the relevance of this approach for industrial applications. Additionally, the findings support the importance of microstructural considerations in optimizing detection performance, as emphasized by [10]. Overall, these results reinforce the efficacy of machine learning in enhancing automated defect detection systems in the steel industry.
4. CONCLUSION
This study illustrates the significant advancements made by the DBCW-YOLO algorithm in the realm of automated defect detection within steel structures, outperforming existing models. Our experimental results demonstrate remarkable enhancements across multiple performance metrics, including Criticality (Cr), Precision (Pa), Recall (PS), Robustness (RS), and Scalability (Sc). Specifically, the model’s mAP 0.5 score not only remains competitive but also reflects its superior capacity to handle intricate and diverse defect scenarios when compared to both the base YOLO model and other network variants. The algorithm achieved a remarkable improvement in Accuracy for Criticality, rising from 35.69% to 70.25%. The Precision for inclusions slightly decreased from 84.56% to 84.12%, yet this figure remains commendably high. Importantly, Recall for patches saw a substantial increase from 59.74% to 92.36%, signifying the algorithm’s enhanced ability to detect true positives.
Moreover, Robustness improved from 75.69% to 90.12%, and Scalability rose from 78.54% to 88.74%, further emphasizing the model’s effectiveness across varying conditions. These results underscore DBCW-YOLO’s capacity to deliver not only higher precision but also increased reliability and efficiency in quality control processes related to steel defect detection. The integration of cutting-edge techniques, such as BiFPN cross-scale connectivity, the CARAFE module structure, and DyHead module, addresses the limitations of previous models, setting a new performance benchmark. Ultimately, this study highlights the transformative potential of the DBCW-YOLO algorithm in improving industrial monitoring processes, paving the way for more efficient and accurate defect identification in real-time applications.
5. ACKNOWLEDGMENTS
Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2024R719), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia. Researchers Supporting Project number (RSPD2024R838), King Saud University, Riyadh, Saudi Arabia.
6. BIBLIOGRAPHY
-
[1] DEMIR, K., AY, M., CAVAS, M., et al., “Automated steel surface defect detection and classification using a new deep learning-based approach”, Neural Computing & Applications, v. 35, n. 11, pp. 8389–8406, 2023. doi: http://doi.org/10.1007/s00521-022-08112-5.
» https://doi.org/10.1007/s00521-022-08112-5 -
[2] OJALA, T., PIETIKÄINEN, M., HARWOOD, D., “A comparative study of texture measures with classification based on featured distributions”, Pattern Recognition, v. 29, n. 1, pp. 51–59, 1996. doi: http://doi.org/10.1016/0031-3203(95)00067-4.
» https://doi.org/10.1016/0031-3203(95)00067-4 -
[3] WANG, W., ZHENG, H., WU, Y.J., “Prediction of fundraising outcomes for crowdfunding projects based on deep learning: a multimodel comparative study”, Soft Computing, v. 24, n. 11, pp. 8323–8341, 2020. doi: http://doi.org/10.1007/s00500-020-04822-x.
» https://doi.org/10.1007/s00500-020-04822-x - [4] SZEGEDY, C., LIU, W., JIA, Y., et al., “Going deeper with convolutions”, In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1–9. 2015.
-
[5] DENG, J., DONG, W., SOCHER, R., et al., “Imagenet: A large-scale hierarchical image database”, In: 2009 IEEE Conference on Computer Vision and Pattern Recognition, pp. 248–255, 2009. doi: http://doi.org/10.1109/CVPR.2009.5206848.
» https://doi.org/10.1109/CVPR.2009.5206848 - [6] KRIZHEVSKY, A., SUTSKEVER, I., HINTON, G.E., “Imagenet classification with deep convolutional neural networks”, Advances in Neural Information Processing Systems, v. 25, 2012.
-
[7] EVERINGHAM, M., VAN GOOL, L., CHRISTOPHER, K.I., “The pascal visual object classes (voc) challenge”, International Journal of Computer Vision, v. 88, n. 2, pp. 303–338, 2010. doi: http://doi.org/10.1007/s11263-009-0275-4.
» https://doi.org/10.1007/s11263-009-0275-4 - [8] KINGMA, D.P., “Adam: a method for stochastic optimization”, arXiv preprint arXiv:1412.6980, 2014.
-
[9] ARASU, A.N., NATARAJAN, M., BALASUNDARAM, N., et al., “Development of high-performance concrete by using nanomaterial graphene oxide in partial replacement for cement”, AIP Conference Proceedings, v. 2861, n. 1, pp. 050008, 2023. doi: http://doi.org/10.1063/5.0158487.
» https://doi.org/10.1063/5.0158487 -
[10] KUMAR, S.N., NATARAJAN, M., ARASU, A.N., “A comprehensive microstructural analysis for enhancing concrete’s longevity and environmental sustainability”, Journal of Environmental Nanotechnology, v. 13, n. 2, pp. 368–376, 2024. doi: http://doi.org/10.13074/jent.2024.06.242584.
» https://doi.org/10.13074/jent.2024.06.242584 -
[11] CHEN, Z., CHEN, W., CHEN, L., et al., “Influence of initial relative densities on the sintering behavior and mechanical behavior of 316 L stainless steel fabricated by binder jet 3D printing”, Materials Today. Communications, v. 31, pp. 103369, 2022. doi: http://doi.org/10.1016/j.mtcomm.2022.103369.
» https://doi.org/10.1016/j.mtcomm.2022.103369 - [12] HUANG, G., LIU, Z., VAN DER MAATEN, L., et al., “Densely connected convolutional networks”, In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4700–4708. 2017.
-
[13] GANAPATHY, G.P., ALAGU, A., RAMACHANDRAN, S., et al., “Effects of fly ash and silica fume on alkalinity, strength and planting characteristics of vegetation porous concrete”, Journal of Materials Research and Technology, v. 24, pp. 5347–5360, 2023. doi: http://doi.org/10.1016/j.jmrt.2023.04.029.
» https://doi.org/10.1016/j.jmrt.2023.04.029 -
[14] SRINIVASAN, S.S., MUTHUSAMY, N., ANBARASU, N.A., “The structural performance of fiber-reinforced concrete beams with nanosilica”, Matéria (Rio de Janeiro), v. 29, n. 3, pp. e20240194, 2024. doi: http://doi.org/10.1590/1517-7076-rmat-2024-0194.
» https://doi.org/10.1590/1517-7076-rmat-2024-0194 - [15] LONG, J., SHELHAMER, E., DARRELL, T., “Fully convolutional networks for semantic segmentation”, In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3431–3440. 2015.
-
[16] ZHANG, K., ZUO, W., CHEN, Y., et al., “Beyond a gaussian denoiser: residual learning of deep cnn for image denoising”, IEEE Transactions on Image Processing, v. 26, n. 7, pp. 3142–3155, 2017. doi: http://doi.org/10.1109/TIP.2017.2662206. https://pubmed.ncbi.nlm.nih.gov/28166495
» https://doi.org/10.1109/TIP.2017.2662206 -
[17] DALAL, N., TRIGGS, B., “Histograms of oriented gradients for human detection”, In 2005 IEEE computer Society Conference on Computer Vision and Pattern Recognition, vol. 1, pp. 886–893, 2005. doi: http://doi.org/10.1109/CVPR.2005.177.
» https://doi.org/10.1109/CVPR.2005.177 - [18] XIE, S., TU, Z., “Holistically-nested edge detection”, In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1395–1403, 2015.
- [19] REN, S., HE, K., GIRSHICK, R., et al., “Faster r-cnn: towards real-time object detection with region proposal networks”, Advances in Neural Information Processing Systems, v. 6, pp. 28, 2015.
- [20] RADFORD, A., KIM, J.W., HALLACY, C., et al. “Learning transferable visual models from natural language supervision” In International conference on machine learning, pp. 8748–8763. PMLR, 2021.
-
[21] ARASU, A.N., MUTHUSAMY, N., NATARAJAN, B., et al., “Optimization of high performance concrete composites by using nano materials.”, Research on Engineering Structures and Materials, v. 9, n. 3, pp. 843–859, 2023. doi: http://doi.org/10.17515/resm2022.602ma1213.
» https://doi.org/10.17515/resm2022.602ma1213 - [22] THIRUKUMARAN, T., KRISHNAPRIYA, S., PRIYA, V., et al., “Utilizing rice husk ash as a bio-waste material in geopolymer composites with aluminium oxide”, Global NEST Journal, v. 25, n. 6, pp. 119–129, 2023.
-
[23] KADHAR, S.A., GOPAL, E., SIVAKUMAR, V., et al., “Optimizing flow, strength, and durability in high-strength self-compacting and self-curing concrete utilizing lightweight aggregates”, Matéria (Rio de Janeiro), v. 29, n. 1, pp. e20230336, 2024. doi: http://doi.org/10.1590/1517-7076-rmat-2023-0336.
» https://doi.org/10.1590/1517-7076-rmat-2023-0336 - [24] YU, F., KOLTUN, V., “Multi-scale context aggregation by dilated convolutions” arXiv preprint arXiv:1511.07122, 2015.
- [25] GIRSHICK, R., “Fast r-cnn”, In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440–1448, 2015.
-
[26] BERGMANN, P., FAUSER, M., SATTLEGGER, D., et al., “MVTec AD--A comprehensive real-world dataset for unsupervised anomaly detection”, In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 9592–9600. 2019. doi: http://doi.org/10.1109/CVPR.2019.00982.
» https://doi.org/10.1109/CVPR.2019.00982 - [27] LIN, T.-Y., GOYAL, P., GIRSHICK, R., et al., “Focal loss for dense object detection” In Proceedings of the IEEE International Conference on Computer Vision, pp. 2980–2988, 2017.
- [28] PARTHASAARATHI, R., BALASUNDARAM, N., ARASU, N., “Analysing the Impact and Investigating Coconut Shell Fiber Reinforced Concrete (CSFRC) under Varied Loading Conditions”, Journal of Advanced Research in Applied Sciences and Engineering Technology, v. 35, n. 1, pp. 106–120, 2024.
-
[29] YANG, J., XIE, X., SHI, G., et al., “A feature-enhanced anchor-free network for UAV vehicle detection”, Remote Sensing (Basel), v. 12, n. 17, pp. 2729, 2020. doi: http://doi.org/10.3390/rs12172729.
» https://doi.org/10.3390/rs12172729 - [30] HE, K., ZHANG, X., REN, S., et al., “Deep residual learning for image recognition”, In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778. 2016.
-
[31] LACERDA, M.P.D., BILCATI, G.K., PAULINO, R.S., et al., “Efeito da adição de polpa de celulose nanofibrilada nas propriedades de argamassas de revestimento”, Matéria (Rio de Janeiro), v. 28, n. 2, pp. e20230063, 2023. doi: http://doi.org/10.1590/1517-7076-rmat-2023-0063.
» https://doi.org/10.1590/1517-7076-rmat-2023-0063 -
[32] ROCHA, J.H.A., DO NASCIMENTO FARIAS, L., PINTO LOBO SIQUIERA, T., “Nanofibras de celulose (NFC) como reforço de matrizes cimentícias: revisão sistemática da literatura”, Revista ALCONPAT, v. 12, n. 3, pp. 311–327, 2022. doi: http://doi.org/10.21041/ra.v12i3.594.
» https://doi.org/10.21041/ra.v12i3.594




















