원시데이터 수집 시스템
선정목록으로

Modeling & Evaluating the Performance of Convolutional Neural Networks for Classifying Steel Surface Defects

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(17) 스펀본드 부직포

기본 정보

저자
  1. Nadeem Jabbar Chaudhry — Department of Computer Science, Superior University, Lahore, Pakistan
  2. Muhammad Bilal Khan — Department of Computer Science, University of Central Punjab, Lahore, Pakistan
  3. Muhammad Javaid Iqbal — Department of Computer Science, Superior University, Lahore, Pakistan
  4. Siddiqui Muhammad Yasir — Department of Mechanical System Engineering, Tongmyong University, Busan, Korea
DOI
10.32604/jai.2022.038875
저널
Journal on artificial intelligence
발행년도
2022
발행기관
–
피인용수
9
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.32604/jai.2022.038875
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4378190034

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (17) 스펀본드 부직포
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Convolutional Neural Networks, defect detection, image classification, transfer learning, quality control
판단 근거
본 논문은 철강 표면 결함 검출을 위한 CNN 모델링 연구이나, 여기서 사용된 딥러닝 기반의 비전 검사 및 결함 분류 기술은 코오롱인더스트리의 컴파운드(23) 제조 공정이나 자동차 인테리어 소재(3), 부직포(17) 등의 표면 품질 관리 자동화 시스템에 응용될 수 있습니다.
R&D 활용 포인트
제조 공정 중 발생하는 필름, 섬유, 또는 복합소재 표면의 미세 결함을 실시간으로 자동 검출하고 분류하는 AI 기반 품질 관리 시스템 구축에 활용 가능함.
평가 입력
본문 38,974자

초록

Recently, outstanding identification rates in image classification tasks were achieved by convolutional neural networks (CNNs). to use such skills, selective CNNs trained on a dataset of well-known images of metal surface defects captured with an RGB camera. Defects must be detected early to take timely corrective action due to production concerns. For image classification up till now, a model-based method has been utilized, which indicated the predicted reflection characteristics of surface defects in comparison to flaw-free surfaces. The problem of detecting steel surface defects has grown in importance as a result of the vast range of steel applications in end-product sectors such as automobiles, households, construction, etc. The manual processes for detections are time-consuming, labor-intensive, and expensive. Different strategies have been used to automate manual processes, but CNN models have proven to be the most effective rather than image processing and machine learning techniques. By using different CNN models with fine-tuning, easily compare their performance and select the best-performing model for the same kinds of tasks. However, it is important that using different CNN models either from fine tuning can be computationally expensive and time-consuming. Therefore, our study helps the upcoming researchers to choose the CNN without considering the issues of model complexity, performance, and computational resources. In this article, the performance of various CNN models like Visual Geometry Group, VGG16, VGG19, ResNet152, ResNet152V2, Xception, InceptionV3, InceptionResNetV2, NASNetLarge, MobileNetV2, and DenseNet201 with transfer learning techniques are evaluated. These models were chosen based on their popularity and impact in the field of computer vision research, as well as their performance on benchmark datasets. According to the outcomes, DenseNet201 outperformed the other CNN models and had the greatest detection rate on the NEU dataset, falling in at 98.37 percent.

본문 38,974자

본문 펼치기
Tech [Science](https://www.techscience.com/) Press [DOI: 10.32604/jai.2022.038875](http://dx.doi.org/10.32604/jai.2022.038875) _Article_ # Modeling & Evaluating the Performance of Convolutional Neural Networks for Classifying Steel Surface Defects Nadeem Jabbar Chaudhry <sup>1,</sup> *, M. Bilal Khan <sup>2</sup> , M. Javaid Iqbal <sup>1</sup> and Siddiqui Muhammad Yasir <sup>3</sup> 1Department of Computer Science, Superior University, Lahore, Pakistan 2Department of Computer Science, University of Central Punjab, Lahore, Pakistan 3Department of Mechanical System Engineering, Tongmyong University, Busan, Korea [*Corresponding Author: Nadeem Jabbar Chaudhry. Email: nadeem.ch@superior.edu.pk](mailto:nadeem.ch@superior.edu.pk) Received: 01 January 2023; Accepted: 07 April 2023; Published: 24 May 2023 Abstract: Recently, outstanding identification rates in image classification tasks were achieved by convolutional neural networks (CNNs). to use such skills, selective CNNs trained on a dataset of well-known images of metal surface defects captured with an RGB camera. Defects must be detected early to take timely corrective action due to production concerns. For image classification up till now, a model-based method has been utilized, which indicated the predicted reflection characteristics of surface defects in comparison to flaw-free surfaces. The problem of detecting steel surface defects has grown in importance as a result of the vast range of steel applications in end-product sectors such as automobiles, households, construction, etc. The manual processes for detections are time-consuming, labor-intensive, and expensive. Different strategies have been used to automate manual processes, but CNN models have proven to be the most effective rather than image processing and machine learning techniques. By using different CNN models with fine-tuning, easily compare their performance and select the best-performing model for the same kinds of tasks. However, it is important that using different CNN models either from fine tuning can be computationally expensive and time-consuming. Therefore, our study helps the upcoming researchers to choose the CNN without considering the issues of model complexity, performance, and computational resources. In this article, the performance of various CNN models like Visual Geometry Group, VGG16, VGG19, ResNet152, ResNet152V2, Xception, InceptionV3, InceptionResNetV2, NASNetLarge, MobileNetV2, and DenseNet201 with transfer learning techniques are evaluated. These models were chosen based on their popularity and impact in the field of computer vision research, as well as their performance on benchmark datasets. According to the outcomes, DenseNet201 outperformed the other CNN models and had the greatest detection rate on the NEU dataset, falling in at 98.37 percent. Keywords: Convolutional neural network; transfer learning; defect detection This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 246 JAI, 2022, vol.4, no.4 1 Introduction The tensile strength of the steel manufacturing business plays a significant role in the manufacturing industry. Steel is widely used in a variety of industries, including construction, infrastructure, trains, automobiles, bridges, machines, ships, household materials, tools, etc. Steel quality has a direct impact on the final result of the end product. Poor-quality steel might result in decreased strength, higher friction, and a poor look. So, to check the quality of produced steel, a variety of reasonable manual methods like an inspection by quality control personnel are used. These manual processes are laborintensive, expensive, and frustrating. The major problems in manual processes [1] are as follows: - The steel manufacturing companies are continuously 24 h in operational so quality control staff have to work at awkward timing like late at night. Which sooner or later creates a negative impact on defect detection and worker health. - The quality control personnel have to continuously look at the steel plates. It eventually becomes the cause of mental and visual tiredness and fatigue, turning to leads error [2,3]. - The quality control personnel have a very shortage. Time to identify the defeated piece of steel due to continuity in rolling steel strips. This may become the cause of overlooking the defective steel. The automation for the classification of the steel surface is not just for quality improvement but also used for speeding up the entire manufacturing process. Automation will help in; Consistency: Automated systems can perform the same task repeatedly without getting tired or making mistakes, ensuring consistent output. Efficiency: Automated systems can complete tasks faster and with higher accuracy than humans, leading to increased productivity and reduced costs. Scalability: Automated systems can easily scale up or down depending on the workload, eliminating the need for hiring additional staff. Cost-effectiveness: Automated systems can be more cost-effective in the long run than hiring and training human workers. Computer vision techniques are frequently employed to automate industrial problems and have become a quality control flag mark. In recent years, Fig. 1 convolution neural network (CNN) based approaches and techniques have not only produced outstanding results in the classification of a large number of objects [4–6] due to their entirely automatic solutions [7–10] but have also performed well in the classification of surface defects [11]. Figure 1: Basic architecture of convolutional neural network (CNN) [12] The results of the steel classification with CNN [13,14] show that CNN Fig. 1 base techniques perform well rather than the image processing-based methods and machine learning approaches. AlexNet, a CNN model, was the first to be introduced for large-size datasets and performed well [6], followed by VGG [15] and ResNet [16], which also improved the results on huge classes of the JAI, 2022, vol.4, no.4 247 dataset. The surface defect of Fabric [17–19], semiconductor [20], timber [21], and asphalt pavement [22,23] are solved using different CNN models as the backbone. They have the same kind of issue as steel defects classification. This work aims to do a systematic study of transfer learning effectiveness for steel surface defects classification. Transfer learning aims to reuse the learned feature of one domain for the same kind of other domain [24] for reducing the computation cost and resources. By using different CNN models with fine-tuning, easily compare their performance and select the best-performing model for such kinds of tasks. This approach can also help to identify the most important features and patterns in the data, as different CNN models may learn different representations of the data. However, it is important that using different CNN models with fine tuning can be computationally expensive and time-consuming. It also required a large amount of labeled data to train and fine-tune each model. Therefore, our study helps the upcoming researchers to choose the CNN without considering the issues of model complexity, performance, and computational resources when using this approach. The outcome of this article can be further improved in the future by fine-tuning and designing a new deep architecture for steel surface defects classification. This paper is organized as follows: Section 2 is about the literature review. Section 3 describes the used methodology in the article with some details of transfer learning and used CNN models. Section 4 discusses the dataset, pre-processing strategies, and the results. The last, Section 5, is describing the conclusion of the article. 2 Related Work Zhou et al. [25] created their own CNN model and applied it to a custom basis dataset. They were able to lower the error rate to 0.6292 percent. Fu et al. [26] suggested a multi-respective field module that achieved up to 100 percent accuracy on the benchmark NEU dataset using SqueezeNet as a base model. He et al. [27], suggested a hierarchical learning architecture based on CNN that achieved up to 97.2 percent accuracy using two separate custom-built datasets. The majority voting mechanism combined with CNN was utilized to detect hot-rolled steel strip datasets with 99.50 percent accuracy [28]. He et al. [16], the author employed a multi-group CNN model to achieve 94 percent accuracy on a dataset of hot-rolled steel strips. Masci et al. [29] purposed a multi-scale pyramidal pooling network approach based on CNN for defect classification of the steel surface. That approach can also perform on non-equal image sizes; this approach can be seen as a fully supervised hierarchical bag-of-features extension. Di et al. [30] suggested a semi-supervised generative adversarial network (GAN) for the classification of a dataset of hot-rolled steel strips and achieved good results with up to 98.2% accuracy. Hu et al. [31] suggested a genetic approach using a hybrid chromosome and a support vector machine (SVM) for classification on a dataset of hot-rolled steel strips, with a 95.04 percent accuracy. Liu et al. [32], used SVM and the shearlet transform to reach an accuracy of 97.71 percent. On the hot-rolled steel, Gong et al. [33] developed an adjustable hyper-sphere with SVM and achieved an accuracy of up to 93.08 percent. Chu et al. [34] author used quantile hyper-spheres and SVM to achieve 96.16 percent accuracy on a custom-built dataset. SVM and hyper-spheres with noise insensitivity were also used by Gong et al. [33] On the hot-rolled steel strip dataset, the accuracy was 97.18 percent. Zhao et al. [35] used the distance of the local descriptor with manifold to construct the linear models. They achieved up to 87.36% accuracy on Strip Steel Defect Dataset. Furthermore, Ongoing methods for detecting steel defects are thoroughly explained in Table 1. 248 JAI, 2022, vol.4, no.4 Ma et al. [36] used local and global features with neighborhood gray structures to achieve significant accuracy in detecting surface defects. Wang et al. [37] purposed a complex calculationbased method through a histogram of oriented gradient and gray level co-occurrence matrix, but that approach was noise sensitive. Bulnes et al. [38] purposed both the classification and detection of defects for steel surfaces and achieved 96.52 and 80.30 percent accuracy respectively. The detection was based on the division of the images into a set of overlapping areas and the optimum value for defect detection was automatically generated through a genetic algorithm. The neural network was used for classification. On the one hand, CNN models produce the best accuracy but at the same time training a model consumes a high number of resources and time. To beat these issues, transfer learning is the suggested strategy. Transfer learning is a machine learning technique throughwhich a pre-trained model on a large dataset will use for the same kind of other problem. Fine-tuning can be applied for enhancing the results. Table 1: An overview of recent steel surface defect classification techniques Year Author Dataset Results Classifier Zhou et al. (2017) [25] Hot-rolled steel sheet 0.62% error rate Custom base CNN Fu et al. (2019) [26] NEU 100% SqueezeNet + multi-respective field module He et al. (2019) [27] Custom build 97.2% Hierarchical learning framework + CNN Natarajan et al. (2017) [28] Hot-rolled steel strip 75.26% CNN with the mechanism of majority voting He et al. (2019) [16] Hot-rolled steel strip 96% Multi-group CNN Masci et al. (2013) [29] Columbia-Utrecht 75.3% CNN of multi-scale pyramidal pooling network Di et al. (2019) [30] Hot-rolled steel strip 98.8% Semi-supervised GAN Hu et al. (2016) [31] Hot-Rolled steel strip 95.04% SVM + hybrid chromosome genetic algorithm Liu et al. (2020) [32] Custom build 97.71% SVM + shearlet transform Chu et al. (2017) [34] Hot-rolled steel strip 96.16% Adjustable hyper-sphere + SVM Gong et al. (2019) [33] Hot-rolled steel strip 97.26% Hyper-spheres with insensitivity to noise + SVM Zhao et al. (2018) [35] Strip steel defect 99.82% The nearest neighbor classifier of the dataset local descriptor Ma et al. (2017) [36] Custom build 100% Local and global features with neighborhood gray structure Wang et al. (2018) [37] Custom build 91% Histogram of oriented gradient and gray level co-occurrence matrix Bulnes et al. (2016) [38] Custom build 95.5% Genetic algorithm and artificial neural <u>network</u> 3 Methodology In this article, the NEU dataset was used with an 80:20 split ratio after augmentation as mentioned in Section 4.2 for pre-trained CNN models. The ImageNet weights were used for all CNN models by using the transfer learning technique. The validation result of each retained model is shown in Table 2 for comparison. Fig. 2 shows the flowchart of the study. JAI, 2022, vol.4, no.4 249 Table 2: Loss and accuracy of pre-trained CNN models concerning the batch size Batch size 128 Batch size 64 Batch size 32 Model name Val loss Val accuracy Val loss Val accuracy Val loss Val accuracy VGG16 0.1647 0.9520 0.1378 0.9533 0.0996 0.9653 VGG19 0.2154 0.9332 0.1858 0.9325 0.1149 0.9628 ResNet152 1.4654 0.5115 1.2296 0.5684 1.0664 0.6261 ResNet152V2 0.2892 0.9496 0.3627 0.9583 0.4298 0.9543 Xception 0.1648 0.9613 0.2394 0.9514 0.2968 0.9506 InceptionV3 0.2160 0.9525 0.2338 0.9586 0.2922 0.9570 InceptionResNetV2 0.0938 0.9656 0.0774 0.9733 0.1462 0.9656 NASNetLarge 0.2362 0.9438 0.3008 0.9373 0.3885 0.9338 MobileNetV2 0.1521 0.9689 0.1496 0.9755 0.5596 0.9568 <u>DenseNet201</u> <u>0.0588</u> <u>0.9826</u> <u>0.0524</u> <u>0.9837</u> <u>0.1022</u> <u>0.9791</u> Figure 2: Flow chart of steel surface defect classification using transfer learning 250 JAI, 2022, vol.4, no.4 _3.1_ _Transfer Learning_ Transfer learning is a novel technique that is also used in classification problems [39]. In transfer learning the knowledge, optimized weights, of a pre-trained network, which was trained on a large scale publicly available dataset, is transferred to another model for prediction same kind of other problems. Fig. 3 illustrates the overall process of transfer learning explaining each step in flow chart. _3.1.1_ _CNN Models_ CNN is a kind of feed-forward neural network which consists of different convolutional and subsampling layers. The number of layers and size of each layer eventually depend on the complexity of the problem which is being evaluated. The CNN output for classification problems is the probability against each class. The motivation for selecting these models is based on their popularity and impact in the field of image classification. These models have been widely used in research and industry and have achieved state-of-the-art performance on benchmark datasets like ImageNet. Therefore, they serve as a good starting point for researchers who are interested in using pre-trained CNN models for steel defect detection. Additionally, each of these models has its unique architectural design and approach to optimizing performance, which can provide insights into the current trends and directions of CNN research. _3.1.2_ _Visual Geometry Group (VGG)_ Simonyan [40] proposed small kernel sizes for deep CNN models, such as 3 × 3 convolutional filters, and named them VGG. The VGG was built on the simple principle of homogeneous topologies and trained on a large-scale dataset. The first VGG was 19 layers deep and achieved the second position in ILSVRC 2014. The main reason behind its popularity was its simplicity and homogeneous topologies. The main limitation of VGG19 was its 138 million parameters. A reduced version of VGG19 was VGG16 which is 16 layers deep. _3.1.3_ _ResNet_ ResNet [16] introduced the concept of residual learning for deep networks. It supports multi-pathbased CNNs. The ResNet proposed a 152-layer deep network and won the ILSVRC 2015. Moreover, ResNet also perform well and won first place in the COCO-2015 dataset [41]. _3.1.4_ _Inception Networks_ InceptionV3 and Inception-ResNet are the improved versions of Inception V1. The inceptionV3 reduces the computational cost by replacing the large-size filters of previous versions like 5 × 5 and 7 × 7 with small-size filters of 1 × 5 and 1 × 7. It also used 1 × 1 convolution before the large filters which exertion like a cross-channel correlation [42]. The Inception-ResNet was developed by combining the power of the residual network and inception block. Google’s deep learning group introduces the inception block, a corresponding block, with the split, transform, and merge concept. It was observed that Inception-ResNet converges more quickly than Inception-V4 [43]. _3.1.5_ _Xception Networks_ Xception networks exploit the idea of depth-wise separable convolution [44]. Xception network replaces the spatial dimensions of the inception block of sizes 1 × 1, 5 × 5, and 3 × 3 with a single dimension of 3 × 3 followed by a 1 × 1 convolution. Xception network became more computationally efficient by decoupling spatial and feature map correlation. JAI, 2022, vol.4, no.4 251 _3.1.6_ _NASNetLarge Network_ NASNetLarge [45] is a convolutional neural network architecture developed by Google researchers in 2018. It consists of more than 88 million parameters and is deeper and wider than many popular CNN models like VGG16 and ResNet152. It uses a combination of normal and separable convolution layers, which reduces the computational complexity while maintaining a high level of accuracy. _3.1.7_ _MobileNet_ Although CNN uses high computational costs, some of them are used for machine learning-based embedded systems like MobileNet. It is highly applicable for mobile and other resource-limited devices [42,43]. The basic unit of the MobileNet network is also depth-wise separable convolution. Which means the network perform a single convolution against each color channel rather than combining all color channel and flatting them. MobileNet is a 30-layer deep network. _3.1.8_ _DenseNet_ The dense network has different variants like DenseNet121, DenseNet169, and DenseNet201. The DenseNet solves the vanishing gradient problem [46]. The vanishing gradient problem occurs when layers use more activation functions that are added to the neural network and eventually gradients of the loss function move toward zero and make the network hard to train. The DenseNet uses crosslayer connectivity in a modified fashion. Its passes all information from the previous layer to the next layer in a feed-forward fashion. So, the feature map of all preceding layers was used as inputs for all subsequent layers, as expressed in Eqs. (1) and (2). DenseNet concatenates the features rather than adding them. However, this approach makes the network parametrically expensive due to the increase in the number of feature maps at each layer [46]. The DenseNet-201 architecture consists of 4 dense blocks, each containing a series of convolutional layers with batch normalization and ReLU activation. The output of each dense block is passed through a transition layer, which reduces the spatial dimensions of the feature maps and increases the number of feature maps. The transition layer consists of a 1 × 1 convolutional layer, followed by a 2 × 2 average pooling layer. After the final dense block, a global average pooling layer is applied to the feature maps, followed by a fully connected layer with softmax activation to produce the final classification probabilities. Mathematically, the output of the kth layer in a DenseNet block can be written as: X_k = H_k _(_ [x_0, x_1, _. . ._, x_{k − 1}] _)_ (1) where x_i represents the output of the ith layer in the same block, and H_k is a composite function consisting of batch normalization, ReLU activation, and a 3 × 3 convolutional layer. The output of the final dense block is then passed through a transition layer, which can be written as: x = BN _(_ ReLU _(_ Conv _(_ x _)))_ ∗ pool_size (2) where BN represents batch normalization, ReLU is the rectified linear activation function, Conv is a 1 × 1 convolutional layer, and pool_size is the spatial downsampling factor in DenseNet-201. Finally, the output of the transition layer is passed through a global average pooling layer and a fully connected layer to produce the final classification probabilities using softmax activation. The softmax function 252 JAI, 2022, vol.4, no.4 computes the probability distribution y as: _<u>exi</u>_ _y_ = ~~�~~ _n_ _j_ =1 <sup>_exj_</sup> (3) Figure 3: Transfer learning example for steel defect classification 4 Performance Analysis and Discussion _4.1_ _Dataset_ Song et al. [47] of North Eastern University created the NEU Dataset. The NEU dataset is freely available to researchers, which encourages collaboration and knowledge sharing in the research community. This can lead to the development of new ideas and techniques for the analysis and processing of visual data in various fields. The NEU dataset provides a benchmark for researchers who are working on developing algorithms for the detection, classification, and recognition of metallic surfaces [48]. The NEU dataset is unique in that it includes images of various metallic surfaces under different lighting conditions, which makes it more realistic than other datasets [49]. As shown in Figs. 4 and 5, this dataset contains six different types of steel defects: rolled-in scale, patches, crazing, pitted surface, inclusion, and scratches. This dataset contains 1800 grayscale images with a size of 200 × 200 pixels. Each above-said class has 300 images, 240 (80%) images for training, and 60 images (20%) for testing. It is observed that: - Inter-class steel defects have the same kind of physical characteristics. - While intra-class reflects a clear and large difference in appearance [26]. - The illumination in the images becomes the cause of to change in the gray values of defected section and also becomes the possibility of noise [50] as shown in Fig. 4. The different data augmentation techniques, as mentioned in Section 4.2, were used for increasing the size of training data and making the model more robust and generalized. JAI, 2022, vol.4, no.4 253 Figure 4: Six types of steel defects in the NEU dataset _4.2_ _Pre-Processing_ Each class in the training dataset consists of only 240 images which are too small to train the CNN model as explained in Fig. 5. So different data augmentation techniques on training sets like vertical and horizontal flipping, rotation, height and width shift, and zooming are used to generate a large-scale unseen training dataset. The data augmentation techniques are not only used for artificially increasing the size of the data but also used for better generalization and avoiding over-fitting [6]. OpenCV (Open-Source Computer Vision) is a python library. Which was used for rescaling the images of steel in the experiment. Figure 5: NEU dataset with its different classes and per class distribution _4.3_ _Experimental Design_ The experiments are conducted by using python language because of its simplicity, which offers concise code and is suitable as a robust programing language. For developing the system, the KERAS API is used, which is supported by TensorFlow on the backend. 80% of the images of the dataset, as described in the above section, were used for training on NVIDIA Tesla T4 GPU and 20% of images were used for validation. The experiments were performed on different batch sizes like 128, 64, and 32 using Adam optimizer with a learning rate of 0.003. The pre-trained CNN models, as mentioned in Table 2, on the ImageNet dataset were used for performance evaluation. All the CNN models were fed with the same kind of data in respect of scaling, rotation, flipping, and zooming. 254 JAI, 2022, vol.4, no.4 _4.4_ _Results Analysis_ The experiments of all the models are shown in Table 2. All the mentioned models were trained on the same kind of data as mentioned in Section 4.2 using the transfer learning technique with ImageNet weights with three different batch sizes: 128,64, and 32. The result of each model against each batch size was recorded separately. The DenseNet201 shows a significant result and achieved 98.37 percent accuracy on the batch size of 64. The MobileNetV2 followed it with an accuracy of 97.55 percent on the same batch size of 64. Five models out of ten performed well on the batch size of 64 as compared to 128 and 32 batch sizes, highlighted values in Table 2. The ResNet152 shows the accuracy of 51.15, 56.84, and 62.61 on the batch size of 128, 64, and 32 respectively, which is significantly low among the others CNN models. The result also shows that ResNet152 performed well on small batch sizes rather than on large ones, Table 2. In the confusion matrix of DenseNet201 on a batch size 64 Table 3, the rows represent the actual class labels, while the columns represent the predicted class labels. The abbreviations in the first row and column correspond to the different types of defects in the NEU dataset: Cr (crack), In (inclusion), Pa (patches), PS (pitted surface), RS (rolled-in scale), and Sc (scratches). For example, the cell at row 1, column 1 (Cr/Cr) shows that 93 instances truly belong to the “Cr” class and have been correctly classified as belonging to the “Cr” class. The remaining cell row 2, shows that have been incorrectly classified as belonging to the “Cr” class. In total, the model has achieved a high accuracy of 98.37% on the NEU surface defect dataset. Table 3: The confusion matrix of DenseNet201 of batch size 64 Cr In Pa PS RS Sc Cr 93 1 2 1 0 3 In 0 98 0 2 0 0 Pa 2 0 97 1 0 0 PS 0 1 0 97 0 2 RS 1 0 0 0 98 1 <u>Sc</u> <u>2</u> <u>0</u> <u>0</u> <u>0</u> <u>0</u> <u>98</u> The DenseNet201 is a convolutional neural network (CNN) architecture that was introduced by Huang et al. in 2017. It consists of 201 layers, hence the name “DenseNet201”[51]. The architecture of the DenseNet201 model is based on the idea of dense connections between layers. In this architecture, each layer receives input not only from the previous layer but also from all the preceding layers. This creates a dense and efficient network that can learn features more effectively than traditional CNNs. The layered architecture is further explained in Fig. 6. The training accuracy and loss of DenseNet201 are shown in Fig. 8. JAI, 2022, vol.4, no.4 255 Figure 6: Layer architecture of DenseNet201 Figure 7: Accuracy of pre-trained CNN models with respect to batch size Figure 8: (Continued) 256 JAI, 2022, vol.4, no.4 Figure 8: Training accuracy and loss of DenseNet201 on a batch size 64 5 Conclusion The performance of different pre-trained CNN models for defect detection on the steel surface is being compared in this research article by using ImageNet weights on the NEU dataset with the split ratio of 80:20. The same kind of dataset for training all the models is used after applying different augmentation techniques as mentioned in Section 4.2. The models were trained using different batch sizes of 128, 64, and 32, as shown in Fig. 7. All the batches were used with the same learning rate of 0.003 and Adam optimizer. The results show that DenseNet201 performed significant results, with 98.37 percent accuracy on the batch size of 64. The training and loss graph of DenseNet201 is shown in Fig. 8. The MobileNetV2 likewise also produces remarkable results with an accuracy of 97.55 percent on the batch size of 64. These findings have important implications for the development of automated detection systems for steel surface defects, which can save time, reduce labor costs, and improve the quality of end products in various sectors. The study also contributes to the field of computer vision research by comparing the performance of different CNN models and providing guidance for researchers to select the most suitable model for similar tasks. Furthermore, future research can build on these findings by exploring the use of CNN models in other applications which are related to defect detection and quality control. Funding Statement: This research work did not receive any specific funding from government, commercial, or non-profit organizations. Conflicts of Interest: The authors declare that they have no conflicts of interest to report regarding the present study. References [1] X. Feng, X. Gao and L. Luo, “X-SDD: A new benchmark for hot rolled steel strip surface defects detection,” _Symmetry_, vol. 13, no. 4, pp. 706, 2021. [2] D. J. Mascord and R. A. Heath, “Behavioral and physiological indices of fatigue in a visual tracking task,” _Journal of Safety Research_, vol. 23, no. 1, pp. 19–25, 1992. JAI, 2022, vol.4, no.4 257 [3] J. Seghers, A. Jochem and A. Spaepen, “Posture, muscle activity and muscle fatigue in prolonged VDT work at different screen height settings,” _Ergonomics_, vol. 46, no. 7, pp. 714–730, 2003. [4] J. Deng, W. Dong, R. Socher, L. Li, K. Li _et al.,_ “Imagenet: A large-scale hierarchical image database,” in _2009 IEEE Conf. on Computer Vision and Pattern Recognition_, Miami, FL, USA, pp. 248–255, 2009. [5] O. Russakovsky _et_ _al.,_ “Imagenet large scale visual recognition challenge,” _International_ _Journal_ _of_ _Com-_ _puter Vision_, Santiago, Chile, vol. 115, pp. 211–252, 2015. [6] A. Krizhevsky, I. Sutskever and G. E. Hinton, “Imagenet classification with deep convolutional neural networks,” _Communication ACM_, vol. 60, no. 6, pp. 84–90, 2017. [7] Y. Xie, Y. Ye, J. Zhang, L. Liu and L. Liu, “A Physics-based defects model and inspection algorithm for automatic visual inspection,” _Optical Lasers Engineering_, vol. 52, pp. 218–223, 2014. [8] S. Ghorai, A. Mukherjee, M. Gangadaran and P. K. Dutta, “Automatic defect detection on hot-rolled flat steel products,” _IEEE Transactions_, vol. 62, no. 3, pp. 612–621, 2012. [9] C. Kuo, C. Lai, C. Kao and C. Chiu, “Integrating image processing and classification technology into automated polarizing film defect inspection,” _Optical Lasers Engineering_, vol. 104, pp. 204–219, 2018. [10] P. Kapsalas, P. Maravelaki, M. Zervakis, E. Delegou and A. Moropoulou, “Optical inspection for quantification of decay on stone surfaces,” _NDT & E International_, vol. 40, no. 1, pp. 2–11, 2007. [11] G. Krummenacher, C. Ong, S. Koller, S. Kobayashi and J. Buhmann, “Wheel defect detection with machine learning,” _IEEE Transections_, vol. 19, no. 4, pp. 1176–1187, 2017. [12] V. H. Phung and E. J. Rhee, “A High-accuracy model average ensemble of convolutional neural networks for classification of cloud image patches on small datasets,” _Applied Sciences_, vol. 9, no. 21, pp. 4500, 2019. [13] H. Dong, K. Song, Y. He, J. Xu, Y. Yan _et_ _al.,_ “PGA-Net: Pyramid feature fusion and global context attention network for automated surface defect detection,” _IEEE Transections_, vol. 16, no. 12, pp. 7448– 7458, 2019. [14] W. Chao, Y. Liu, Y. Yang, X. Xu and T. Zhang, “Research on classification of surface defects of hot-rolled steel strip based on deep learning,” _DEStech Transections on Compututer Science Engineering_, pp. 375–379, 2019. [15] D. Sarwinda, R. Paradisa, A. Bustamam and P. Anggia, “Deep learning in image classification using residual network (ResNet) variants for detection of colorectal cancer,” _Procedia_ _Computer_ _Science_, vol. 179, pp. 423–431, 2021. [16] D. He, K. Xu and P. Zhou, “Defect detection of hot rolled steels with a new object detection framework called classification priority network,” _Computer Industrial Engineering_, vol. 128, pp. 290–297, 2019. [17] K. Hanbay, M. Talu and Ö. Özgüven, “Fabric defect detection systems and methods—A systematic literature review,” _Optik_, vol. 127, no. 24, pp. 11960–11973, 2016. [18] A. Kumar, “Computer-vision-based fabric defect detection: A survey,” _IEEE Transections_, vol. 55, no. 1, pp. 348–363, 2008. [19] H. Ngan, G. Pang and N. Yung, “Automated fabric defect detection—A review,” _Image_ _and_ _Vision_ _Computing_, vol. 29, no. 7, pp. 442–458, 2011. [20] S. Huang and Y. Pan, “Automated visual inspection in the semiconductor industry: A survey,” _Computers_ _in Industry_, vol. 66, pp. 1–10, 2015. [21] U. Hashim, S. Hashim and A. Muda, “Automated vision inspection of timber surface defect: A review,” _Journal Teknologi_, vol. 77, no. 20, pp. 6562, 2015. [22] C. Koch, K. Georgieva, V. Kasireddy, B. Akinci and P. Fieguth, “A review on computer vision based defect detection and condition assessment of concrete and asphalt civil infrastructure,” _Advanced_ _Engineering_ _Information_, vol. 29, no. 2, pp. 196–210, 2015. [23] H. Zakeri, F. Nejad and A. Fahimifar, “Image based techniques for crack detection, classification and quantification in asphalt pavement: A review,” _Archives of Computational Methods in Engineering_, vol. 24, pp. 935–977, 2017. [24] R. Sun, X. Zhu, C. Wu, C. Huang, J. Shi _et_ _al.,_ “Not all areas are equal: Transfer learning for semantic segmentation via hierarchical region selection,” in _Proc._ _of_ _the IEEE/CVF_ _Conf. on_ _Computer Vision and_ _Pattern Recognition_, Long Beach, CA, USA, pp. 4360–4369, 2019. 258 JAI, 2022, vol.4, no.4 [25] S. Zhou, Y. Chen, D. Zhang, J. Xie and Y. Zhou, “Classification of surface defects on steel sheet using convolutional neural networks,” _Mater. Technol._, vol. 51, no. 1, pp. 123–131, 2017. [26] G. Fu, P. Sun, W. Zhu, J. Yang, Y. Cao _et al.,_ “A Deep-learning-based approach for fast and robust steel surface defects classification,” _Optical Lasers Engineering_, vol. 121, pp. 397–405, 2019. [27] D. He, K. Xu and D. Wang, “Design of multi-scale receptive field convolutional neural network for surface inspection of hot rolled steels,” _Image & Vision Computing_, vol. 89, pp. 12–20, 2019. [28] V. Natarajan, T. Hung, S. Vaikundam and L. Chia, “Convolutional networks for voting-based anomaly classification in metal surface inspection,” in _2017_ _IEEE_ _Int._ _Conf._ _on_ _Industrial_ _Technology_, Ontario, Canada, pp. 986–991, 2017. [29] J. Masci, U. Meier, G. Fricout and J. Schmidhuber, “Multi-scale pyramidal pooling network for generic steel defect classification,” in _The 2013 Int. Joint Conf. on Neural Networks_, AK, USA, pp. 1–8, 2013. [30] H. Di, X. Ke, Z. Peng and Z. Dongdong, “Surface defect classification of steels with a new semi-supervised learning method,” _Optical Lasers Engineering_, vol. 117, pp. 40–48, 2019. [31] H. Hu, Y. Liu, M. Liu and L. Nie, “Surface defect classification in large-scale strip steel image collection via hybrid chromosome genetic algorithm,” _Neurocomputing_, vol. 181, pp. 86–95, 2016. [32] X. Liu, K. Xu, P. Zhou, D. Zhou and Y. Zhou, “Surface defect identification of aluminium strips with non-subsampled shearlet transform,” _Optical Lasers Engineering_, vol. 127, pp. 105986, 2020. [33] R. Gong, M. Chu, Y. Yang and Y. Feng, “A Multi-class classifier based on support vector hyper-spheres for steel plate surface defects,” _Chemometrics and Intelligent Laboratory Systems_, vol. 188, pp. 70–78, 2019. [34] M. Chu, J. Zhao, X. Liu and R. Gong, “Multi-class classification for steel surface defects based on machine learning with quantile hyper-spheres,” _Chemometrics and Intelligent Laboratory Systems_, vol. 168, pp. 15– 27, 2017. [35] J. Zhao, Y. Peng and Y. Yan, “Steel surface defect classification based on discriminant manifold regularized local descriptor,” _IEEE Access_, vol. 6, pp. 71719–71731, 2018. [36] Y. Ma, Q. Li, Y. Zhou, F. He and S. Xi, “A surface defects inspection method based on multidirectional gray level fluctuation,” _International Journal of Advanced Robotic Systems_, vol. 14, no. 3, pp. 1729881417703114, 2017. [37] Y. Wang, H. Xia, X. Yuan, L. Li and B. Sun, “Distributed defect recognition on steel surfaces using an improved random forest algorithm with optimal multi-feature-set fusion,” _Multimedia Tools Applications_, vol. 77, pp. 16741–16770, 2018. [38] F. Bulnes, D. García, F. Calle, R. Usamentiaga and J. Molleda, “A Non-invasive technique for online defect detection on steel strip surfaces,” _Journal of Nondestructive Evaluation_, vol. 35, pp. 1–18, 2016. [39] F. Zhuang, Z. Qi, K. Duan, D. Xi, Y. Zhu _et al.,_ “A comprehensive survey on transfer learning,” _Proceeding_ _IEEE_, vol. 109, no. 1, pp. 43–76, 2020. [40] K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” _ArXiv Prepr. ArXiv_ 14091556, 2014. [41] T. Lin, M. Maire, S. Belongie, J. Hays, P. Perona _et al.,_ “Microsoft coco: Common objects in context,” in _Compututer Vision–ECCV 2014 13th European Conf._, Switzerland, vol. V 13, pp. 740–755, 2014. [42] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens and Z. Wojna, “Rethinking the inception architecture for computer vision,” in _Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition_, NV, USA, pp. 2818–2826, 2016. [43] C. Szegedy, S. Ioffe, V. Vanhoucke and A. Alemi, “Inception-v4, inception-resnet and the impact of residual connections on learning,” _AAAI Conf. Artificial Intelligence_, California, USA, vol. 31, 2017. [44] F. Chollet, “Xception: Deep learning with depthwise separable convolutions,” in _Proc. of the IEEE Conf._ _on Computer Vision and Pattern Recognition_, Honolulu, HI, USA, pp. 1251–1258, 2017. [45] B. Zoph, V. Vasudevan, J. Shlens and Q. Le, “Learning transferable architectures for scalable image recognition,” in _Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition_, Salt Lake City, UT, USA, pp. 8697–8710, 2018. [46] Y. Yang, X. Li, X. Pan, Y. Zhang and C. Cao, “Downscaling land surface temperature in complex regions by using multiple scale factors with adaptive thresholds,” _Sensors_, vol. 17, no. 4, pp. 744, 2017. JAI, 2022, vol.4, no.4 259 [47] K. Song and Y. Yan, “A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects,” _Applied Surface Science_, vol. 285, pp. 858–864, 2013. [48] T. Schlagenhauf, M. Landwehr and J. Fleischer, “Industrial Machine Tool Element Surface Defect Dataset,” 2021. [49] X. Lv, F. Duan, J. Jiang, X. Fu and L. Gan, “Deep metallic surface defect detection: The new benchmark and detection network,” _Sensors_, vol. 20, no. 6, pp. 1562, 2020. [50] F. Saiz, I. Serrano, I. Barandiarán and J. Sánchez, “A robust and fast deep learning-based method for defect classification in steel surfaces,” in _2018 Int. Conf. on Intelligent Systems_, Funchal, Portugal, IEEE, pp. 455–460, 2018. [51] A. Khan, A. Sohail, U. Zahoora and A. S. Qureshi, “A survey of the recent architectures of deep convolutional neural networks,” _Artificial Intelligence Review_, vol. 53, pp. 5455–5516, 2020.

섹션 본문 38문단 · 22,981자

(제목 없음)

1Recently, outstanding identification rates in image classification tasks were achieved by convolutional neural networks (CNNs).to use such skills, selective CNNs trained on a dataset of well-known images of metal surface defects captured with an RGB camera.Defects must be detected early to take timely corrective action due to production concerns.For image classification up till now, a model-based method has been utilized, which indicated the predicted reflection characteristics of surface defects in comparison to flaw-free surfaces.The problem of detecting steel surface defects has grown in importance as a result of the vast range of steel applications in end-product sectors such as automobiles, households, construction, etc.The manual processes for detections are time-consuming, labor-intensive, and expensive.Different strategies have been used to automate manual processes, but CNN models have proven to be the most effective rather than image processing and machine learning techniques.By using different CNN models with fine-tuning, easily compare their performance and select the best-performing model for the same kinds of tasks.However, it is important that using different CNN models either from fine tuning can be computationally expensive and time-consuming.Therefore, our study helps the upcoming researchers to choose the CNN without considering the issues of model complexity, performance, and computational resources.In this article, the performance of various CNN models like Visual Geometry Group, VGG16, VGG19, ResNet152, ResNet152V2, Xception, InceptionV3, InceptionResNetV2, NASNetLarge, MobileNetV2, and DenseNet201 with transfer learning techniques are evaluated.These models were chosen based on their popularity and impact in the field of computer vision research, as well as their performance on benchmark datasets.According to the outcomes, DenseNet201 outperformed the other CNN models and had the greatest detection rate on the NEU dataset, falling in at 98.37 percent.

Introduction

2The tensile strength of the steel manufacturing business plays a significant role in the manufacturing industry.Steel is widely used in a variety of industries, including construction, infrastructure, trains, automobiles, bridges, machines, ships, household materials, tools, etc. Steel quality has a direct impact on the final result of the end product.Poor-quality steel might result in decreased strength, higher friction, and a poor look.So, to check the quality of produced steel, a variety of reasonable manual methods like an inspection by quality control personnel are used.These manual processes are laborintensive, expensive, and frustrating.The major problems in manual processes [1] are as follows:

3• The steel manufacturing companies are continuously 24 h in operational so quality control staff have to work at awkward timing like late at night.Which sooner or later creates a negative impact on defect detection and worker health.• The quality control personnel have to continuously look at the steel plates.It eventually becomes the cause of mental and visual tiredness and fatigue, turning to leads error [2,3].• The quality control personnel have a very shortage.Time to identify the defeated piece of steel due to continuity in rolling steel strips.This may become the cause of overlooking the defective steel.

4The automation for the classification of the steel surface is not just for quality improvement but also used for speeding up the entire manufacturing process.Automation will help in; Consistency: Automated systems can perform the same task repeatedly without getting tired or making mistakes, ensuring consistent output.Efficiency: Automated systems can complete tasks faster and with higher accuracy than humans, leading to increased productivity and reduced costs.Scalability: Automated systems can easily scale up or down depending on the workload, eliminating the need for hiring additional staff.Cost-effectiveness: Automated systems can be more cost-effective in the long run than hiring and training human workers.

5Computer vision techniques are frequently employed to automate industrial problems and have become a quality control flag mark.In recent years, Fig. 1 convolution neural network (CNN) based approaches and techniques have not only produced outstanding results in the classification of a large number of objects [4][5][6] due to their entirely automatic solutions [7][8][9][10] but have also performed well in the classification of surface defects [11].The results of the steel classification with CNN [13,14] show that CNN Fig. 1 base techniques perform well rather than the image processing-based methods and machine learning approaches.AlexNet, a CNN model, was the first to be introduced for large-size datasets and performed well [6], followed by VGG [15] and ResNet [16], which also improved the results on huge classes of the dataset.The surface defect of Fabric [17][18][19], semiconductor [20], timber [21], and asphalt pavement [22,23] are solved using different CNN models as the backbone.They have the same kind of issue as steel defects classification.This work aims to do a systematic study of transfer learning effectiveness for steel surface defects classification.Transfer learning aims to reuse the learned feature of one domain for the same kind of other domain [24] for reducing the computation cost and resources.By using different CNN models with fine-tuning, easily compare their performance and select the best-performing model for such kinds of tasks.This approach can also help to identify the most important features and patterns in the data, as different CNN models may learn different representations of the data.However, it is important that using different CNN models with fine tuning can be computationally expensive and time-consuming.It also required a large amount of labeled data to train and fine-tune each model.Therefore, our study helps the upcoming researchers to choose the CNN without considering the issues of model complexity, performance, and computational resources when using this approach.The outcome of this article can be further improved in the future by fine-tuning and designing a new deep architecture for steel surface defects classification.This paper is organized as follows: Section 2 is about the literature review.Section 3 describes the used methodology in the article with some details of transfer learning and used CNN models.Section 4 discusses the dataset, pre-processing strategies, and the results.The last, Section 5, is describing the conclusion of the article.

Related Work

6Zhou et al. [25] created their own CNN model and applied it to a custom basis dataset.They were able to lower the error rate to 0.6292 percent.Fu et al. [26] suggested a multi-respective field module that achieved up to 100 percent accuracy on the benchmark NEU dataset using SqueezeNet as a base model.He et al. [27], suggested a hierarchical learning architecture based on CNN that achieved up to 97.2 percent accuracy using two separate custom-built datasets.The majority voting mechanism combined with CNN was utilized to detect hot-rolled steel strip datasets with 99.50 percent accuracy [28].He et al. [16], the author employed a multi-group CNN model to achieve 94 percent accuracy on a dataset of hot-rolled steel strips.Masci et al. [29] purposed a multi-scale pyramidal pooling network approach based on CNN for defect classification of the steel surface.That approach can also perform on non-equal image sizes; this approach can be seen as a fully supervised hierarchical bag-of-features extension.

7Di et al. [30] suggested a semi-supervised generative adversarial network (GAN) for the classification of a dataset of hot-rolled steel strips and achieved good results with up to 98.2% accuracy.Hu et al. [31] suggested a genetic approach using a hybrid chromosome and a support vector machine (SVM) for classification on a dataset of hot-rolled steel strips, with a 95.04 percent accuracy.Liu et al. [32], used SVM and the shearlet transform to reach an accuracy of 97.71 percent.On the hot-rolled steel, Gong et al. [33] developed an adjustable hyper-sphere with SVM and achieved an accuracy of up to 93.08 percent.Chu et al. [34] author used quantile hyper-spheres and SVM to achieve 96.16 percent accuracy on a custom-built dataset.SVM and hyper-spheres with noise insensitivity were also used by Gong et al. [33] On the hot-rolled steel strip dataset, the accuracy was 97.18 percent.Zhao et al. [35] used the distance of the local descriptor with manifold to construct the linear models.They achieved up to 87.36% accuracy on Strip Steel Defect Dataset.Furthermore, Ongoing methods for detecting steel defects are thoroughly explained in Table 1.

8Ma et al. [36] used local and global features with neighborhood gray structures to achieve significant accuracy in detecting surface defects.Wang et al. [37] purposed a complex calculationbased method through a histogram of oriented gradient and gray level co-occurrence matrix, but that approach was noise sensitive.Bulnes et al. [38] purposed both the classification and detection of defects for steel surfaces and achieved 96.52 and 80.30 percent accuracy respectively.The detection was based on the division of the images into a set of overlapping areas and the optimum value for defect detection was automatically generated through a genetic algorithm.The neural network was used for classification.

9On the one hand, CNN models produce the best accuracy but at the same time training a model consumes a high number of resources and time.To beat these issues, transfer learning is the suggested strategy.Transfer learning is a machine learning technique throughwhich a pre-trained model on a large dataset will use for the same kind of other problem.Fine-tuning can be applied for enhancing the results.

Methodology

10In this article, the NEU dataset was used with an 80:20 split ratio after augmentation as mentioned in Section 4.2 for pre-trained CNN models.The ImageNet weights were used for all CNN models by using the transfer learning technique.The validation result of each retained model is shown in Table 2 for comparison.Fig. 2 shows the flowchart of the study.

Transfer Learning

11Transfer learning is a novel technique that is also used in classification problems [39].In transfer learning the knowledge, optimized weights, of a pre-trained network, which was trained on a large scale publicly available dataset, is transferred to another model for prediction same kind of other problems.Fig. 3 illustrates the overall process of transfer learning explaining each step in flow chart.

CNN Models

12CNN is a kind of feed-forward neural network which consists of different convolutional and subsampling layers.The number of layers and size of each layer eventually depend on the complexity of the problem which is being evaluated.The CNN output for classification problems is the probability against each class.The motivation for selecting these models is based on their popularity and impact in the field of image classification.These models have been widely used in research and industry and have achieved state-of-the-art performance on benchmark datasets like ImageNet.Therefore, they serve as a good starting point for researchers who are interested in using pre-trained CNN models for steel defect detection.Additionally, each of these models has its unique architectural design and approach to optimizing performance, which can provide insights into the current trends and directions of CNN research.

Visual Geometry Group (VGG)

13Simonyan [40] proposed small kernel sizes for deep CNN models, such as 3 × 3 convolutional filters, and named them VGG.The VGG was built on the simple principle of homogeneous topologies and trained on a large-scale dataset.The first VGG was 19 layers deep and achieved the second position in ILSVRC 2014.The main reason behind its popularity was its simplicity and homogeneous topologies.The main limitation of VGG19 was its 138 million parameters.A reduced version of VGG19 was VGG16 which is 16 layers deep.

ResNet

14ResNet [16] introduced the concept of residual learning for deep networks.It supports multi-pathbased CNNs.The ResNet proposed a 152-layer deep network and won the ILSVRC 2015.Moreover, ResNet also perform well and won first place in the COCO-2015 dataset [41].

Inception Networks

15InceptionV3 and Inception-ResNet are the improved versions of Inception V1.The inceptionV3 reduces the computational cost by replacing the large-size filters of previous versions like 5 × 5 and 7 × 7 with small-size filters of 1 × 5 and 1 × 7. It also used 1 × 1 convolution before the large filters which exertion like a cross-channel correlation [42].The Inception-ResNet was developed by combining the power of the residual network and inception block.Google's deep learning group introduces the inception block, a corresponding block, with the split, transform, and merge concept.It was observed that Inception-ResNet converges more quickly than Inception-V4 [43].

Xception Networks

16Xception networks exploit the idea of depth-wise separable convolution [44].Xception network replaces the spatial dimensions of the inception block of sizes 1 × 1, 5 × 5, and 3 × 3 with a single dimension of 3 × 3 followed by a 1 × 1 convolution.Xception network became more computationally efficient by decoupling spatial and feature map correlation.

NASNetLarge Network

17NASNetLarge [45] is a convolutional neural network architecture developed by Google researchers in 2018.It consists of more than 88 million parameters and is deeper and wider than many popular CNN models like VGG16 and ResNet152.It uses a combination of normal and separable convolution layers, which reduces the computational complexity while maintaining a high level of accuracy.

MobileNet

18Although CNN uses high computational costs, some of them are used for machine learning-based embedded systems like MobileNet.It is highly applicable for mobile and other resource-limited devices [42,43].The basic unit of the MobileNet network is also depth-wise separable convolution.Which means the network perform a single convolution against each color channel rather than combining all color channel and flatting them.MobileNet is a 30-layer deep network.

DenseNet

19The dense network has different variants like DenseNet121, DenseNet169, and DenseNet201.The DenseNet solves the vanishing gradient problem [46].The vanishing gradient problem occurs when layers use more activation functions that are added to the neural network and eventually gradients of the loss function move toward zero and make the network hard to train.The DenseNet uses crosslayer connectivity in a modified fashion.Its passes all information from the previous layer to the next layer in a feed-forward fashion.So, the feature map of all preceding layers was used as inputs for all subsequent layers, as expressed in Eqs. ( 1) and ( 2).DenseNet concatenates the features rather than adding them.However, this approach makes the network parametrically expensive due to the increase in the number of feature maps at each layer [46].

20The DenseNet-201 architecture consists of 4 dense blocks, each containing a series of convolutional layers with batch normalization and ReLU activation.The output of each dense block is passed through a transition layer, which reduces the spatial dimensions of the feature maps and increases the number of feature maps.The transition layer consists of a 1 × 1 convolutional layer, followed by a 2 × 2 average pooling layer.After the final dense block, a global average pooling layer is applied to the feature maps, followed by a fully connected layer with softmax activation to produce the final classification probabilities.Mathematically, the output of the kth layer in a DenseNet block can be written as:

21where x_i represents the output of the ith layer in the same block, and H_k is a composite function consisting of batch normalization, ReLU activation, and a 3 × 3 convolutional layer.The output of the final dense block is then passed through a transition layer, which can be written as:

22where BN represents batch normalization, ReLU is the rectified linear activation function, Conv is a 1 × 1 convolutional layer, and pool_size is the spatial downsampling factor in DenseNet-201.Finally, the output of the transition layer is passed through a global average pooling layer and a fully connected layer to produce the final classification probabilities using softmax activation.The softmax function computes the probability distribution y as: Song et al. [47] of North Eastern University created the NEU Dataset.The NEU dataset is freely available to researchers, which encourages collaboration and knowledge sharing in the research community.This can lead to the development of new ideas and techniques for the analysis and processing of visual data in various fields.The NEU dataset provides a benchmark for researchers who are working on developing algorithms for the detection, classification, and recognition of metallic surfaces [48].The NEU dataset is unique in that it includes images of various metallic surfaces under different lighting conditions, which makes it more realistic than other datasets [49].As shown in Figs.

Experimental Design

23The experiments are conducted by using python language because of its simplicity, which offers concise code and is suitable as a robust programing language.For developing the system, the KERAS API is used, which is supported by TensorFlow on the backend.80% of the images of the dataset, as described in the above section, were used for training on NVIDIA Tesla T4 GPU and 20% of images were used for validation.The experiments were performed on different batch sizes like 128, 64, and 32 using Adam optimizer with a learning rate of 0.003.The pre-trained CNN models, as mentioned in Table 2, on the ImageNet dataset were used for performance evaluation.All the CNN models were fed with the same kind of data in respect of scaling, rotation, flipping, and zooming.

Results Analysis

24The experiments of all the models are shown in Table 2.All the mentioned models were trained on the same kind of data as mentioned in Section 4.2 using the transfer learning technique with ImageNet weights with three different batch sizes: 128,64, and 32.The result of each model against each batch size was recorded separately.

25The DenseNet201 shows a significant result and achieved 98.37 percent accuracy on the batch size of 64.The MobileNetV2 followed it with an accuracy of 97.55 percent on the same batch size of 64.Five models out of ten performed well on the batch size of 64 as compared to 128 and 32 batch sizes, highlighted values in Table 2.The ResNet152 shows the accuracy of 51.15, 56.84, and 62.61 on the batch size of 128, 64, and 32 respectively, which is significantly low among the others CNN models.The result also shows that ResNet152 performed well on small batch sizes rather than on large ones, Table 2.

26In the confusion matrix of DenseNet201 on a batch size 64 Table 3, the rows represent the actual class labels, while the columns represent the predicted class labels.The abbreviations in the first row and column correspond to the different types of defects in the NEU dataset: Cr (crack), In (inclusion), Pa (patches), PS (pitted surface), RS (rolled-in scale), and Sc (scratches).For example, the cell at row 1, column 1 (Cr/Cr) shows that 93 instances truly belong to the "Cr" class and have been correctly classified as belonging to the "Cr" class.The remaining cell row 2, shows that have been incorrectly classified as belonging to the "Cr" class.In total, the model has achieved a high accuracy of 98.37% on the NEU surface defect dataset.[51].The architecture of the DenseNet201 model is based on the idea of dense connections between layers.In this architecture, each layer receives input not only from the previous layer but also from all the preceding layers.This creates a dense and efficient network that can learn features more effectively than traditional CNNs.The layered architecture is further explained in Fig. 6.The training accuracy and loss of DenseNet201 are shown in Fig. 8.The performance of different pre-trained CNN models for defect detection on the steel surface is being compared in this research article by using ImageNet weights on the NEU dataset with the split ratio of 80:20.The same kind of dataset for training all the models is used after applying different augmentation techniques as mentioned in Section 4.2.The models were trained using different batch sizes of 128, 64, and 32, as shown in Fig. 7.All the batches were used with the same learning rate of 0.003 and Adam optimizer.The results show that DenseNet201 performed significant results, with 98.37 percent accuracy on the batch size of 64.The training and loss graph of DenseNet201 is shown in Fig. 8.The MobileNetV2 likewise also produces remarkable results with an accuracy of 97.55 percent on the batch size of 64.These findings have important implications for the development of automated detection systems for steel surface defects, which can save time, reduce labor costs, and improve the quality of end products in various sectors.The study also contributes to the field of computer vision research by comparing the performance of different CNN models and providing guidance for researchers to select the most suitable model for similar tasks.Furthermore, future research can build on these findings by exploring the use of CNN models in other applications which are related to defect detection and quality control.

Figure 1 :

27Figure 1: Basic architecture of convolutional neural network (CNN)[12]

Figure 2 :

28Figure 2: Flow chart of steel surface defect classification using transfer learning

Figure 3 :

29Figure 3: Transfer learning example for steel defect classification

4 and 5 ,

30this dataset contains six different types of steel defects: rolled-in scale, patches, crazing, pitted surface, inclusion, and scratches.This dataset contains 1800 grayscale images with a size of 200 × 200 pixels.Each above-said class has 300 images, 240 (80%) images for training, and 60 images (20%) for testing.It is observed that: − Inter-class steel defects have the same kind of physical characteristics.− While intra-class reflects a clear and large difference in appearance [26].− The illumination in the images becomes the cause of to change in the gray values of defected section and also becomes the possibility of noise [50] as shown in Fig. 4. The different data augmentation techniques, as mentioned in Section 4.2, were used for increasing the size of training data and making the model more robust and generalized.

Figure 4 :

31Figure 4: Six types of steel defects in the NEU dataset

Figure 5 :

32Figure 5: NEU dataset with its different classes and per class distribution

Figure 6 :

33Figure 6: Layer architecture of DenseNet201

Figure 7 :Figure 8 :

34Figure 7: Accuracy of pre-trained CNN models with respect to batch size

Figure 8 :

35Figure 8: Training accuracy and loss of DenseNet201 on a batch size 64

Table 1 :

36An overview of recent steel surface defect classification techniques

Table 2 :

37Loss and accuracy of pre-trained CNN models concerning the batch size

Table 3 :

38The confusion matrix of DenseNet201 of batch size 64

참고문헌 53건

  1. Very Deep Convolutional Networks for Large-Scale Image Recognition Computer Vision and Pattern Recognition · 2014
  2. Microsoft COCO: Common Objects in Context Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-10602-1_48
  3. Behavioral and physiological indices of fatigue in a visual tracking task Journal of Safety Research · Elsevier BV · 1992 10.1016/0022-4375(92)90036-9
  4. Optical inspection for quantification of decay on stone surfaces NDT & E International · Elsevier BV · 2006 10.1016/j.ndteint.2006.07.012
  5. Automated fabric defect detection—A review Image and Vision Computing · Elsevier BV · 2011 10.1016/j.imavis.2011.02.002
  6. Multi-scale pyramidal pooling network for generic steel defect classification 2022 International Joint Conference on Neural Networks (IJCNN) · 2013 10.1109/ijcnn.2013.6706920
  7. Posture, muscle activity and muscle fatigue in prolonged VDT work at different screen height settings Ergonomics · Taylor & Francis · 2003 10.1080/0014013031000090107
  8. A physics-based defects model and inspection algorithm for automatic visual inspection Optics and Lasers in Engineering · Elsevier BV · 2013 10.1016/j.optlaseng.2013.06.006
  9. Automatic Defect Detection on Hot-Rolled Flat Steel Products IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2012 10.1109/tim.2012.2218677
  10. A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects Applied Surface Science · Elsevier BV · 2013 10.1016/j.apsusc.2013.09.002
  11. Automated visual inspection in the semiconductor industry: A survey Computers in Industry · Elsevier BV · 2014 10.1016/j.compind.2014.10.006
  12. ImageNet: A large-scale hierarchical image database 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2009 10.1109/cvpr.2009.5206848
  13. 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
  14. ImageNet Large Scale Visual Recognition Challenge International Journal of Computer Vision · Springer Science+Business Media · 2015 10.1007/s11263-015-0816-y
  15. A review on computer vision based defect detection and condition assessment of concrete and asphalt civil infrastructure Advanced Engineering Informatics · Elsevier BV · 2015 10.1016/j.aei.2015.01.008
  16. Rethinking the Inception Architecture for Computer Vision 2016 10.1109/cvpr.2016.308
  17. Surface defect classification in large-scale strip steel image collection via hybrid chromosome genetic algorithm Neurocomputing · Elsevier BV · 2015 10.1016/j.neucom.2015.05.134
  18. AUTOMATED VISION INSPECTION OF TIMBER SURFACE DEFECT: A REVIEW Jurnal Teknologi · Muhammadiyah University of Jakarta · 2015 10.11113/jt.v77.6562
  19. A Non-Invasive Technique for Online Defect Detection on Steel Strip Surfaces Journal of Nondestructive Evaluation · Springer Science+Business Media · 2016 10.1007/s10921-016-0370-8
  20. Image Based Techniques for Crack Detection, Classification and Quantification in Asphalt Pavement: A Review Archives of Computational Methods in Engineering · Springer Science+Business Media · 2016 10.1007/s11831-016-9194-z
  21. Fabric defect detection systems and methods—A systematic literature review Optik · Elsevier BV · 2016 10.1016/j.ijleo.2016.09.110
  22. Xception: Deep Learning with Depthwise Separable Convolutions 2017 10.1109/cvpr.2017.195
  23. Classification of surface defects on steel sheet using convolutional neural networks Materiali in tehnologije · Institute of Metals and Technology · 2017 10.17222/mit.2015.335
  24. Downscaling Land Surface Temperature in Complex Regions by Using Multiple Scale Factors with Adaptive Thresholds Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17040744
  25. Convolutional networks for voting-based anomaly classification in metal surface inspection 2022 IEEE International Conference on Industrial Technology (ICIT) · 2017 10.1109/icit.2017.7915495
  26. A surface defects inspection method based on multidirectional gray-level fluctuation International Journal of Advanced Robotic Systems · SAGE Publishing · 2017 10.1177/1729881417703114
  27. ImageNet classification with deep convolutional neural networks Communications of the ACM · Association for Computing Machinery · 2017 10.1145/3065386
  28. Multi-class classification for steel surface defects based on machine learning with quantile hyper-spheres Chemometrics and Intelligent Laboratory Systems · Elsevier BV · 2017 10.1016/j.chemolab.2017.07.008
  29. Wheel Defect Detection With Machine Learning IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tits.2017.2720721
  30. Integrating image processing and classification technology into automated polarizing film defect inspection Optics and Lasers in Engineering · Elsevier BV · 2017 10.1016/j.optlaseng.2017.09.017
  31. Distributed defect recognition on steel surfaces using an improved random forest algorithm with optimal multi-feature-set fusion Multimedia Tools and Applications · Springer Science+Business Media · 2017 10.1007/s11042-017-5238-0
  32. Steel Surface Defect Classification Based on Discriminant Manifold Regularized Local Descriptor IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2881962
  33. Defect detection of hot rolled steels with a new object detection framework called classification priority network Computers & Industrial Engineering · Elsevier BV · 2018 10.1016/j.cie.2018.12.043
  34. A survey of the recent architectures of deep convolutional neural networks Artificial Intelligence Review · Springer Science+Business Media · 2020 10.1007/s10462-020-09825-6
  35. Surface defect classification of steels with a new semi-supervised learning method Optics and Lasers in Engineering · Elsevier BV · 2019 10.1016/j.optlaseng.2019.01.011
  36. A multi-class classifier based on support vector hyper-spheres for steel plate surface defects Chemometrics and Intelligent Laboratory Systems · Elsevier BV · 2019 10.1016/j.chemolab.2019.03.010
  37. A Robust and Fast Deep Learning-Based Method for Defect Classification in Steel Surfaces 2018 10.1109/is.2018.8710501
  38. A deep-learning-based approach for fast and robust steel surface defects classification Optics and Lasers in Engineering · Elsevier BV · 2019 10.1016/j.optlaseng.2019.05.005
  39. Not All Areas Are Equal: Transfer Learning for Semantic Segmentation via Hierarchical Region Selection 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00449
  40. Design of multi-scale receptive field convolutional neural network for surface inspection of hot rolled steels Image and Vision Computing · Elsevier BV · 2019 10.1016/j.imavis.2019.06.008
  41. Learning Transferable Architectures for Scalable Image Recognition 2018 10.1109/cvpr.2018.00907
  42. Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2017 10.1609/aaai.v31i1.11231
  43. Research on Classification of Surface Defects of Hot-rolled Steel Strip Based on Deep Learning DEStech Transactions on Computer Science and Engineering · Destech Publications · 2019 10.12783/dtcse/ica2019/30756
  44. A High-Accuracy Model Average Ensemble of Convolutional Neural Networks for Classification of Cloud Image Patches on Small Datasets Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9214500
  45. 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
  46. Surface defect identification of aluminium strips with non-subsampled shearlet transform Optics and Lasers in Engineering · Elsevier BV · 2019 10.1016/j.optlaseng.2019.105986
  47. Deep Metallic Surface Defect Detection: The New Benchmark and Detection Network Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20061562
  48. A Comprehensive Survey on Transfer Learning Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2020 10.1109/jproc.2020.3004555
  49. A survey of the recent architectures of deep convolutional neural networks Artificial Intelligence Review · Springer Science+Business Media · 2020 10.1007/s10462-020-09825-6
  50. Industrial Machine Tool Element Surface Defect Dataset 2021 10.5445/ir/1000129520
  51. Deep Learning in Image Classification using Residual Network (ResNet) Variants for Detection of Colorectal Cancer Procedia Computer Science · Elsevier BV · 2021 10.1016/j.procs.2021.01.025
  52. X-SDD: A New Benchmark for Hot Rolled Steel Strip Surface Defects Detection Symmetry · Multidisciplinary Digital Publishing Institute · 2021 10.3390/sym13040706
  53. Industrial machine tool component surface defect dataset Data in Brief · Elsevier BV · 2021 10.1016/j.dib.2021.107643