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

Unveiling Patterns: A Study on Semi-Supervised Classification of Strip Surface Defects

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(9) 타이어코드

기본 정보

저자
  1. Yongfei Liu — Departments of Mathematics, Qinghai College of Architectural Technology, Xining, China
  2. Haoyu Yang — College of Computing, Georgia Institute of Technology, Atlanta, GA, USA
  3. Chenwei Wu — Goergen Institute for Data Science, University of Rochester, Rochester, NY, USA
DOI
10.1109/access.2023.3326843
저널
IEEE Access
발행년도
2023
발행기관
Institute of Electrical and Electronics Engineers
피인용수
31
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2023.3326843
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4387885947

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (9) 타이어코드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
surface defects, semi-supervised learning, deep learning, image classification, strip steel
판단 근거
본 논문은 철강 스트립 표면 결함을 딥러닝으로 분류하는 기술을 다루고 있습니다. 이는 코오롱인더스트리의 직접적인 제품(철강)은 아니나, 산업용 필름, 타이어코드, 자동차 소재 등 표면 결함 검출 및 품질 관리가 필수적인 제조 공정의 분석/검사 기술로 전이 가능합니다.
R&D 활용 포인트
필름, 아라미드, 타이어코드 등 고부가가치 산업용 소재의 제조 공정 내 자동화된 표면 결함 검출 및 품질 관리 AI 모델 개발에 활용 가능합니다.
평가 입력
본문 62,710자 중 30,032자 발췌

초록

As a critical intermediate material in the iron and steel industry, strip steel will inevitably have various surface defects during its processing, which directly affects the service performance and life of the material. Therefore, the classification technology of strip surface defects has always been the focus of research. Currently, combining computer vision with deep learning is often used to classify the surface defects of strip steel, which usually runs in full supervision mode. However, the performance of the complete supervision method depends mainly on the quality and quantity of labeled samples. At the same time, in industrial scenes, there are few labeled samples available, and most even have no labels, which seriously restricts the performance of the traditional full supervision model. This paper introduces the idea of semi-supervised learning, and a new semi-supervised classification model of strip surface defects is proposed to alleviate the degradation of model classification performance caused by insufficient labeled samples. Specifically, a new image synthesis model (ISM) is proposed in this paper. By improving the loss function of the discriminator, the generated false samples are more realistic. In addition, this paper also presents a double uncertainty weighting technique (DUW), which weighs the loss of misclassified samples in a more detailed way, thus realizing fine adjustment of the model. This method can fully mine the potential feature information in unlabeled samples and further improve the performance and generalization ability of the model. In this paper, we use the NEU-CLS dataset to test our model. When only 10% and 90% of labeled and unlabeled samples are used for training, the classification accuracy reaches 91.14%, fully proving this method's practicability and superiority.

본문 62,710자

본문 펼치기
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000. _Digital Object Identifier 10.1109/ACCESS.2023.0322000_ ## Unveiling Patterns: A Study on Semi-Supervised Classification of Strip Surface Defects YONGFEI LIU <sup>1,*</sup>, HAOYU YANG <sup>2,*</sup> and CHENWEI WU <sup>3</sup> . 1Departments of Mathematics, Qinghai College of Architectural Technology, Xining 810012, China (e-mail: lyfltf0109@126.com) 2College of Computing, Georgia Institute of Technology, Atlanta, GA 30332, USA (e-mail: hyang645@gatech.edu) 3Goergen Institute for Data Science, University of Rochester, NY 14627, USA (e-mail: chenweiwu99@gmail.com) *These authors contributed to the work equally and should be regarded as co-first authors. Corresponding author: Chenwei Wu (e-mail: chenweiwu99@gmail.com). This paragraph of the first footnote will contain support information, including sponsor and financial support acknowledgment. For example, ‘‘This work was supported in part by the U.S. Department of Commerce under Grant BS123456.’’ ABSTRACT As a critical intermediate material in the iron and steel industry, strip steel will inevitably have various surface defects during its processing, which directly affects the service performance and life of the material. Therefore, the classification technology of strip surface defects has always been the focus of research. Currently, combining computer vision with deep learning is often used to classify the surface defects of strip steel, which usually runs in full supervision mode. However, the performance of the complete supervision method depends mainly on the quality and quantity of labeled samples. At the same time, in industrial scenes, there are few labeled samples available, and most even have no labels, which seriously restricts the performance of the traditional full supervision model. This paper introduces the idea of semisupervised learning, and a new semi-supervised classification model of strip surface defects is proposed to alleviate the degradation of model classification performance caused by insufficient labeled samples. Specifically, a new image synthesis model (ISM) is proposed in this paper. By improving the loss function of the discriminator, the generated false samples are more realistic. In addition, this paper also presents a double uncertainty weighting technique (DUW), which weighs the loss of misclassified samples in a more detailed way, thus realizing fine adjustment of the model. This method can fully mine the potential feature information in unlabeled samples and further improve the performance and generalization ability of the model. In this paper, we use the NEU-CLS dataset to test our model. When only 10% and 90% of labeled and unlabeled samples are used for training, the classification accuracy reaches 91.14%, fully proving this method’s practicability and superiority. INDEX TERMS Semi-supervised learning, Deep learning, Semi-supervised classification, Double uncertainty weighting technique, Image synthesis model. I. INTRODUCTION N the evolution of the iron and steel industry, strip steel, as one of the essential raw materials, plays an indispens# I able role in many related sectors [1], such as machining manufacturing, the construction industry, shipbuilding, and automobile manufacturing. However, in the process of strip steel processing and production, many factors, such as production environment, machine wear, and improper transportation, will lead to various defects on the surface of strip steel [2], such as rolled-in scale, patches, crazing, pitted surface, inclusion, and scratches, as shown in Fig 1. These defects significantly reduce the service performance and service life of materials. Therefore, in the manufacturing process of strip steel, it is imperative to accurately classify and detect these defects and then give feedback on the weaknesses [3]. In the initial stage, the identification of strip surface defects mainly depends on artificial vision detection; that is, the staff directly observes the strip surface with naked eyes and judges whether there are defects and their types by personal experience and subjective consciousness. However, many things could be improved in this manual detection method: limited detection accuracy, low efficiency, complex management and preservation of monitoring data, and inability to guide future product production. Because of the apparent weakness of manual detection, combined with the continuous progress of computer technology, image processing technology [4], and artificial intelligence [5], today’s strip surface defect detection and classification technology can be summarized into the FIGURE 1. Examples of defects on the surface of strip steel during actual processing. following two categories: Strip Steel Surface Defect Categorization Approaches based on traditional image processing technology and Strip Steel Surface Defect Categorization Approaches based on deep learning. Traditional digital image processing methods usually only focus on designing the features of one or a few defects in defect classification technology, which limits its generalization ability when the target to be detected contains multiple types of defects. In contrast, the surface defect classification method based on deep learning technology enables the model to independently detect and classify defects using many labeled samples for feature learning. Compared with traditional image detection methods, this method eliminates the shortcomings of manual design features, has more robust generalization performance and robustness, and is easier to realize migration applications in different scenes. However, there are still two problems in the industrial field that are applied to the task of surface defect classification of strip steel [6], which limits the application of surface defect classification and detection methods based on deep learning technology: _•_ The number of samples is limited. Surface defects of strip steel are usually caused by processing technical errors. However, with the continuous improvement of strip processing technology, the number of defects has decreased significantly, so obtaining many samples of strip surface defects is more complicated. _•_ The annotation task is tedious. Unmarked samples of strip surface defects cannot be used for model training. Still, labeling samples usually requires experienced professional workers to judge, consuming a lot of time and labor costs. Although more examples can be accumulated over time, they still need to be marked manually, which has caused vast expenses for human resources. The traditional fully supervised deep learning method is challenging to cope with the influence of the above two problems on the classification model. Even if some large scale networks with good performance and wide application are selected, trying to improve the classification accuracy of strip surface defect samples under the condition that the number of label samples is minimal may lead to the instability of the network and the over-fitting phenomenon. Therefore, for the limited number of label samples, we can introduce the framework idea of semi-supervised learning to use unlabeled samples to assist label samples in model training, thus reducing the workload of manual labeling in industrial scenes [7]. To sum up, the image data set of strip surface defects in industrial scenes faces multiple challenges, including the limited number of samples, most of which are unlabeled and have low image quality. The traditional classification model of strip surface defects based on image processing technology and the traditional fully supervised depth model makes it challenging to learn the sample characteristics fully and effectively, so it shows some difficulties in practical application. This paper proposes a new semi-supervised classification method of strip surface defects based on a semi-supervised learning idea. This method can make more effective use of the sample characteristics of unlabeled data and learn the mapping relationship between unlabeled data and tagged data so that the model can independently complete the strip surface defects classification task, thus reducing the labeling work. At the same time, it is committed to improving the classification performance, robustness, and generalization of the system. The contribution of this paper includes the following aspects: 1) In this paper, a new semi-supervised classification method of surface defects of strip steel is proposed and verified by experiments on the NEU-CLS data set. Experiments show that this method can better use unlabeled data under limited labeled samples, thus improving the classification performance. 2) Building upon the foundation of deep convolutional generative adversarial networks (DCGAN), this paper introduces a novel image synthesis model. By apply 2 VOLUME 11 2023 ing a weighted loss function to the discriminator, the generator can produce even more "convincing" fake images. This process supplements a limited number of actual samples, effectively enhancing the diversity and quantity of training data. 3) The paper proposes a novel double uncertainty weighting technique, which can be applied to the supervised loss of labeled samples and seamlessly extended to the unsupervised loss of unlabeled samples. This technique enables more comprehensive learning of sample features from labeled and unlabeled instances, facilitating a better understanding of the mapping relationship between unlabeled and labeled samples. The rest of this article will be organized as follows. "Related Work" will briefly introduce the existing classification methods of strip surface defects based on traditional image processing technology and deep learning. "Our approach" will first summarize the general situation of our semi-supervised surface defect classification model and then introduce the principles of image synthesis model (ISM) and double uncertainty weighting technique (DUW) in detail. "Experiment and result analysis" will verify the classification accuracy and feasibility of the proposed method through a series of experiments. This part will also provide a visual presentation of the false samples generated by the image synthesis model and the best and worst results of the model on the data set. In the "Discussion" section, the limitations of the semi-supervised surface defect classification model of strip steel are explained, and the potential strategies to solve these limitations in future work are discussed. Finally, in the "Conclusion" section, the main findings and contributions of the study are summarized, and the practical impact of the proposed method and possible future work are discussed. II. RELATED WORK As an essential part of the intermediate products of heavy industry, the production quality requirements of strip steel are stringent. The detection and classification of strip surface defects are significant for monitoring strip production quality. Solving the strip surface defects classification problem has undergone a long development process, which can be summarized into two main stages. _A._ _DEFECT CLASSIFICATION METHOD BASED ON_ _TRADITIONAL DIGITAL IMAGE PROCESSING_ With the continuous progress of sensor technology, highsensitivity and customized detection equipment has been widely used, combined with traditional digital image processing algorithms. This machine-aided automatic strip surface defect detection technology is gradually becoming the trend of the industry, which makes strip surface defect detection take a new step [8]. This method improves defect detection efficiency and eliminates the tedious visual inspection process one by one [9]. The defect classification method based on traditional digital image processing is the study of image classification algorithms [10]. It mainly includes two critical tasks: feature extraction and classification. Researchers have developed many classic feature extraction algorithms, such as Scale Invariant Feature Transform (SIFT), Local Binary Pattern (LBP), Directional Gradient Histogram (HOG), and wavelet features. In terms of classification algorithms, standard methods include K-nearest neighbor (KNN) [11], support vector machine (SVM) [12], and random forest (RF) [13]. Liu et al. [14] proposed a new Haar-Weibull variance model to solve the problems of complex defect patterns, low contrast between defect and background, and false defects. Song et al. [15] proposed a segmentation method of silicon steel surface defects based on structural tensor and active contour. MB Gharsallah et al. [16] proposed a defect detection image segmentation algorithm based on level set active contour and saliency map. This algorithm can detect surface defects with low contrast and small shapes affected by uneven illumination. In addition, Wang et al. [17] proposed an image classification method of strip surface defects based on a supervised double-restricted connection Isomap algorithm. Liu et al. [18] monitored the surface defects of strip steel by machine vision technology and using the texture information of the machined surface. Boudiaf et al. [19] proposed using a convolutional neural network and support vector machine to classify strip surface defect images, and the results showed that remarkable good results were achieved. _B._ _CLASSIFICATION METHOD OF STRIP SURFACE DEFECTS_ _BASED ON DEEP LEARNING_ With the continuous improvement of neural networks and computing power, the neural network has shown excellent performance in feature extraction and generalization under its self-learning characteristics and superior generalization ability. Therefore, it has attracted extensive academic research attention in various fields. Nowadays, machine vision detection algorithm based on deep learning has become a research field of great concern. 1) Classification method of surface defects of fully supervised strip steel In the past ten years, the neural network has experienced rapid development, and many models with great influence have emerged. These models include AlexNet [20], R-CNN [21], GoogleNet [22], VG Net [23], ResNet [24], Mask RCNN [25], FCN [26], U-Net [27] and other networks. They have made remarkable breakthroughs in computer vision and promoted the wide application of deep learning in image classification tasks. For example, Zhou et al. [28] proposed a sparse automatic encoder to learn the filter to initialize the convolution kernel, which was used to classify the surface defects of steel plates by convolutional neural networks. Li et al. [29] designed an end-to-end defect classification system. They used the deep convolution neural network, symmetric surrounding saliency map, and defect image as inputs to output seven kinds of classification results of strip steel defects. Ren et al. [30] trained the input image by convolution VOLUME 11 2023 3 FIGURE 2. The overall framework of the semi-supervised classification model for surface defects of strip steel. to obtain pixel-by-pixel prediction and developed a general automatic surface detection method based on deep learning. Li et al. [31] proposed a hybrid framework (CNN-T) based on CNN and Transformer to classify the surface defects of strip steel, which improved the classification accuracy by 0.28–2.23%. Zhang et al. [32] proposed a surface defect classification of strip steel with few samples based on a doubleflow neural network, and the model has excellent stability and robustness. Zhang et al. [33] improved on PP-YOLOE-m and proposed a new strip surface defect detection model with fast and real-time detection ability. However, when dealing with a limited number of labeled samples, the enhancement of supervised learning methods’ effectiveness becomes constrained. The need for more training data makes it challenging to successfully train a deep neural network model with a robust representation capacity solely through supervised learning. In the absence of adequate training, the network model might struggle to grasp the distribution characteristics of the data precisely, consequently impacting the ultimate model’s classification performance in the strip steel surface defect classification task. 2) Classification method of semi-supervised strip surface defects Semi-supervised deep learning can skillfully use limited labeled samples and rich unlabeled samples to train deep neural networks, thus reducing the burden of sample labeling and effectively improving the accuracy of classification tasks. Therefore, semi-supervised deep learning has attracted wide attention in academia and industry. In recent decades, semi-supervised deep learning has made remarkable breakthroughs in many natural image classifica tion tasks [34]. Self-training or pseudo-labeling [35] generates pseudo-labels for unlabeled data by using the model’s prediction in the training process. _π_ model [36] adopts a consistent regularization strategy [37], and even if the input is disturbed, the network can still produce the same results as the original output. Temporal Ensembling [36] uses multiple previously predicted exponential moving averages (EMAs) as prediction labels instead of gathering the exact model under different regularization and input enhancement conditions, providing more robust semantic information. Tarvainen and Valpola put forward Mean Teacher (MT) [38], which stores the exponential average moving weight of the model instead of the label prediction. Recently, Berthelot put forward MixMatch [39], which integrates the three mainstream paradigms of consistency regularization, entropy minimization, and traditional regularization into semi-supervised learning and has achieved remarkable results in image classification. Sohn et al. proposed a more concise and efficient method called FixMatch [40]. Di et al. [41] proposed a new semi-supervised learning method to classify steel surface defects by combining a convolutional automatic encoder with a semi-supervised generation countermeasure network. He et al. [42] proposed a multi-training semi-supervised rigid body surface defect classification method based on two networks and achieved high classification accuracy. Gao et al. [43] proposed a semisupervised learning method based on a convolutional neural network for steel surface defect identification. Jing et al. [44] put forward a semi-supervised steel plate defect prediction algorithm based on a conjoined denoising automatic encoder and convolutional neural network (DAE-CNN), which helps improve the production quality and intelligent level of hot strip rolling. Xiao et al. [45] enhanced based on soft teachers 4 VOLUME 11 2023 and proposed a semi-supervised defect detection method to meet the needs of preliminary defect detection and marking. Liu et al. [46] used multi-scale feature fusion and semisupervised learning to classify defects of limited labeled samples to improve defect detection accuracy when marked models were scarce. III. OUR APPROACH _A._ _OVERALL ARCHITECTURE_ As shown in Fig 2, the training data of this paper’s semisupervised strip surface defect classification model consists of actual training data and synthetic data generated by the image synthesis model. Its loss function comprises the fully supervised loss _LTC_ of labeled samples and the unsupervised loss _LTU_ of unlabeled samples. More specifically, data set _D_ = _DL_ _∪DU_ for surface defects of strip steel includes N labeled data sets _DL_ = �� _x_ <sup>_i_</sup> _, y_ <sup>_i_</sup> <sup>��</sup> <sup>_N_</sup> _i_ =1 and M unlabeled data sets D _U_ = - _x_ <sup>_i_</sup> <sup>�</sup> <sup>_N_</sup> _i_ = <sup>+</sup> _N_ <sup>_M_</sup> +1 <sup>.</sup> <sup>Firstly,</sup> <sup>some</sup> same image after other disturbance methods should be consistent; the difference between the two prediction values is narrowed by mean square error. The specific formula is as follows: _LU_ = _N_ + _M_ _i_ =1 _Eη,η′ ∥f_ ( _xi, θ_ <sup>_′_</sup> _, η_ <sup>_′_</sup> ) _−_ _f_ ( _xi, θ, η_ ) _∥_ <sup>2</sup> 2 (3) _Eη,η′ ∥f_ ( _xi, θ_ <sup>_′_</sup> _, η_ <sup>_′_</sup> ) _−_ _f_ ( _xi, θ, η_ ) _∥_ <sup>2</sup> 2 �� _x_ <sup>_i_</sup> _, y_ <sup>_i_</sup> <sup>��</sup> <sup>_N_</sup> - _x_ <sup>_i_</sup> <sup>�</sup> <sup>_N_</sup> <sup>+</sup> <sup>_M_</sup> _i_ = _N_ and M unlabeled data sets D _U_ = - _x_ <sup>_i_</sup> <sup>�</sup> <sup>_N_</sup> _i_ = <sup>+</sup> _N_ <sup>_M_</sup> +1 <sup>.</sup> <sup>Firstly,</sup> <sup>some</sup> synthetic unmarked examples are generated by inputting the actual strip surface defect samples into the image generation model to supplement the actual unmarked strip surface defect samples. Then, the labeled data set _DL_ is input into the student model after the data processing stage, and features are extracted to obtain the prediction results of each sample. Then, the differences between them are calculated by comparing the prediction results of these samples with their authentic labels using the cross entropy function. In the training process, the student model is committed to reducing this difference, thus adjusting the model parameters so that the student model can correctly assign labels to each input sample. Therefore, the supervision loss of marked pieces can be expressed as: _f_ ( _xi, θ, η_ ) and _f_ ( _xi, θ_ <sup>_′_</sup> _, η_ <sup>_′_</sup> ) represent the output vectors of the same sample after passing through the student and teacher models, respectively, and _LU_ represents the mean square error loss. We think that the traditional cross entropy function in supervised loss and the mean square error loss in unsupervised loss only make general statistics on the difference between the predicted value and the actual value of the sample, which may lead to the model’s inability to accurately adjust the pieces with wrong classification during the training process, thus possibly affecting the classification performance of the model. To solve this problem, this paper proposes an innovative double uncertainty weighting technology to weigh the traditional and unsupervised losses. The core goal of this technology is to learn the characteristics of labeled and unlabeled samples more effectively to improve the model’s performance further. The target loss function of the final semi-supervised strip surface defect classification model is defined as: min _θ_ - - _Ni_ =1 <sup>_LTC_</sup> <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>;</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_, yi_</sup> <sup>)</sup> + _λLTU_ (4) �� _x_ <sup>_i_</sup> <sup>�</sup> <sup>_N_</sup> _i_ = <sup>+</sup> _N_ <sup>_M_</sup> <sup>_N_</sup> _i_ = <sup>+</sup> _N_ <sup>_M_</sup> +1 <sup>;</sup> <sup>_f_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_, θ, η, θ′, η′_</sup> <sup>�</sup> _i_ _LC_ = <sup><u>1</u></sup> _N_ _i_ _Li_ = _−_ <sup><u>1</u></sup> _N_ _N_ _i_ =1 _yic_ log ( _pic_ ) (1) Here, _xi_ and _yi_ represent the labeled samples and their corresponding labels in the strip surface defect data set. And _x_ <sup>_i_</sup> represents the unlabeled samples in the strip surface defect data set. _LTC_ and _LTU_ represent the new supervised loss and unsupervised loss obtained using the dual uncertainty weighting technique for the original supervised loss and unsupervised loss. _f_ ( _xi_ ; _θ_ ) and _f_ ( _·_ ) represent the student and teacher models. _η_ and _η_ <sup>_′_</sup> respectively represent different ways of disturbing unlabeled samples. _λ_ is a parameter that balances supervised and unsupervised losses. _B._ _IMAGE SYNTHESIS MODEL_ As shown in Fig 3. (a), DCGAN (Deep Convolutional Generative Adversarial Networks) successfully integrated the Deep convolutional neural network (DCNN) and the Generative Adversarial Network (GAN) for the first time and creatively combined them. This fusion dramatically enhances the stability of the Generative Adversarial Network and significantly improves the quality and reliability of the generated artificial samples. Consistent with the core idea of GAN, DCGAN still relies on the game process of two key components, the generator, and discriminator, to realize the manual sample generation of the required tasks. Fig 3. (b) shows the specific structure of the generator in DCGAN. Put, a 100-dimensional random noise Z is sent to Where N represents the total number of actual training samples, _yic_ is a symbolic function (0 or 1), and if the real class of the i-th example is equal to class C, take 1; otherwise, take 0. _pic_ is the prediction probability that the i-th sample belongs to category C. We reconstruct our teacher model by exponentially weighted average (EMA) from the student model trained by labeled sample data _DL_, and the formula is as follows: _θt_ <sup>_′_</sup> _t_ <sup>_′_</sup> <sup>=</sup> <sup>_aθ_</sup> _t_ <sup>_′_</sup> _t_ <sup>_′_</sup> _−_ 1 <sup>+ (1</sup> <sup>_−_</sup> <sup>_a_</sup> <sup>)</sup> <sup>_θt_</sup> (2) Among them, _θt_ <sup>_′_</sup> <sup>represents</sup> <sup>the</sup> <sup>parameters</sup> <sup>of</sup> <sup>the</sup> <sup>teacher</sup> model, _θt_ defines the parameters of the student model, and _a_ is the smoothing coefficient superparameter used to adjust the weight update rate. Next, the unlabeled sample _DU_ and the synthesized sample generated by the generation model are input into the student and teacher models through different noise disturbances (data preprocessing), and two different prediction results are obtained. According to the assumption of consistency regularization, the prediction results of the VOLUME 11 2023 5 FIGURE 3. (a) The general framework of Deep Convolutional Generative Adversarial Networks (DCGAN). (b) The specific structure of the generator and discriminator. the generating network, and the generating network generates a specific image G(z) through the up-sampling operation. Specifically, the generating network G first receives a 100dimensional random noise signal Z then converts it into a 4*4*1024 feature map through the dimension conversion layer and finally generates an image with a size of 64*64*3 through several deconvolution layers. The loss function of this process is: <u>1</u> _N_ _N_ _i_ =1 (6) log _D_ - _x_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup> + log - - 1 _−_ _D_ _G_ _z_ <sup>(</sup> <sup>_i_</sup> <sup>)����</sup> <u>1</u> _N_ _N_ _i_ =1 (5) - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)���</sup> log - 1 _−_ _D_ _G_ In this context, _N_ represents the total number of marked samples in the strip steel surface defect samples. _D_ - _x_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup> means the probability that the discriminator determines the i-th actual image’s accuracy. In this study, improving the loss function of the discriminator can further enhance the fidelity of the false image generated by Deep Convolutional Generative Adversarial Networks (DCGAN). In traditional Deep Convolutional Generative Adversarial Networks, the confrontation training between the generator and discriminator is the key to developing high-quality images. However, in some cases, the generator may not produce enough realistic pictures. We improve the loss function of the discriminator to overcome this challenge, which is announced as follows: Here, _z_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> represents the generated 100-dimensional random noise. _D_ - _G_ - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)��</sup> means the probability that the dis criminator determines the i-th false image generated by the generator as false. _G_ - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup> represents the i-th artificial sample generated by the generator. The structure of the discriminator in DCGAN is shown in Fig 3. (b). Input any image in the actual or artificially generated sample into the discriminator, perform a downsampling operation through multiple convolution layers, and then obtain the feature map 4*4*1024 through complete connection layer processing. The above process is similar to the reverse procedure of generating the network and, finally, processing the feature map through the Sigmoid function to obtain the true and false probability of the current image. The discriminator loss function is as follows. By adding the parameter 1 _−_ _D_ - _x_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup> before the actual sample loss of the discriminator, the discriminator can enlarge the log �1 _−_ _D_ - _G_ - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)��</sup> in the subsequent training process. The purpose of this step is to guide the discriminator to maximize the log �1 _−_ _D_ - _G_ - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)��</sup> more effectively in the training process so that the generator will be more challenged when generating false samples, thus causing more realistic - _G_ - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)��</sup> - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup> <u>1</u> _N_ - _N_ _i_ =1 ��1 _−_ _D_ - _x_ <sup>(</sup> <sup>_i_</sup> <sup>)��</sup> log _D_ - _x_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup> - _Z_ <sup>(</sup> <sup>_i_</sup> <sup>)����</sup> (7) + log �1 _−_ _D_ - _G_ By adding the parameter 1 _−_ _D_ - _x_ <sup>(</sup> <sup>_i_</sup> <sup>)�</sup> �1 _−_ _D_ - _G_ - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)��</sup> �1 _−_ _D_ - _G_ - _z_ <sup>(</sup> <sup>_i_</sup> <sup>)��</sup> 6 VOLUME 11 2023 FIGURE 4. The double uncertain weighting method framework for supervised loss of labeled samples. wrong examples. To sum up, our improved method is expected to improve the generator’s performance further and enhance the realism of the generated image. _C._ _DOUBLE UNCERTAINTY WEIGHTING TECHNIQUE_ Recently, scholars put forward some variants of the loss function in the image target detection and classification task, aiming at solving the problems of imbalance between complex and challenging samples and difficult sample classification. Focal Loss [47] is a loss function that reduces the influence of easy-to-classify pieces. It can suppress the loss value of difficult-to-classify samples by dynamically adjusting the sample weight. Reduced Focal Loss [48] introduces an adaptive sample selection mechanism based on Focal Loss to improve complex examples’ processing effect. However, both Focal Loss and Reduced Focal Loss only weigh the supervision loss of labeled samples, and both consider the whole batch of samples uniformly, which cannot be specific to each piece. Therefore, this paper proposes an innovative dual uncertainty weighting technique suitable for weighted supervised losses of labeled examples and can be extended to unsupervised losses of unlabeled samples. More importantly, this technology can weigh the Loss of each misclassified piece more finely, thus realizing fine adjustment of the model. Through this method, we can fully mine the potential feature information in unlabeled examples and further improve the performance and generalization ability of the model. As shown in Fig 4, this paper adopts a strategy in the supervision of labeling samples and compares the label of each piece with its actual brand. For the case that the predicted label of the model is consistent with the natural label, we assign a smaller weight; For the case that the prediction is inconsistent with the actual brand, a more significant weight Similarly, this paper adopts a double uncertainty weighting technique in the unsupervised part of unlabeled samples to weigh the original unsupervised losses. As shown in Fig 5, the processing method of each unlabeled example in this paper is as follows: First, each unlabeled sample is predicted by the student model and the teacher model, respectively, and two groups of predicted values are obtained. Then, compare the deals of these two groups of predicted values. If the two sets of predicted values are consistent, we assign a lower weight, _WL_, to the loss of the sample; Conversely, if the predicted values are inconsistent, we post a higher weight, _WH_ . The specific weight calculation formula is as follows: is transferred. The formula for calculating the weight is as follows: Weight = - _WL_ = (1 _−_ _p_ max) <sup>2</sup> _,_ if _C_ ( _p_ max) = _Ci_ (8) _WH_ = 1 _,_ otherwise Such weight design aims to strengthen the model’s attention to the prediction error samples to pay more attention to correcting errors in the training process and improve the generalization performance of the model. In this way, we expect to introduce a sample-related trade-off in the model’s training to optimize the model’s learning process. _C_ ( _p_ max) represents the prediction label of the student model for the i-th sample, and _Ci_ represents the actual label of the i-th sample. _p_ max represents the probability of predicting the label for the ith example, _WL_ is the weight assigned before the loss of the correctly predicted sample, and _WH_ is the weight given to the loss of the incorrectly predicted sample. The final supervision loss is as follows: LTC = - WL _×_ LC if _C_ ( _p_ max) = Ci (9) WH _×_ LC otherwise VOLUME 11 2023 7 FIGURE 5. The framework of using the double uncertain weighting method for unsupervised loss of unlabeled samples. Weight = - _WL_ = (1 _−_ _pSm_ ) <sup>2</sup> _,_ if _C_ ( _pSm_ ) = _C_ ( _pTm_ ) _WH_ = 1 _,_ otherwise (10) Such weight design aims to emphasize those samples with uncertainties in model prediction, especially when there are differences between the student and teacher models. In this way, we expect the model to pay more attention to those uncertain samples, thus improving the robustness and generalization performance of the model. Where _pSm_ represents the probability that the student model predicts the label for the i-th sample, and _C_ ( _pSm_ ) and _C_ ( _pTm_ ) represent the prediction labels of the student model and the teacher model for the i-th unlabeled sample, respectively. The final unsupervised loss formula is as follows: set, which was widely verified, and the experimental results were deeply analyzed. We also compare the experimental results with several different models in detail to objectively evaluate the performance improvement effect of our proposed semi-supervised method. _A._ _DATA SET_ The NEU-CLS [49] data set used in this study was collected and produced by Northeastern University, containing 1800 images. These images are divided into six categories, rolled-in scale, patches, crazing, pitted surface, inclusion, and scratches, and each class has 300 images. As shown in Fig 1, these images are 200 _×_ 200 pixels. In this paper, the NEU-CLS data set is divided into training sets and test sets according to the ratio of 6:4 to facilitate the training and testing of the models involved later. The distribution of sample numbers in the NEU-CLS data set is shown in Table 1. _B._ _EXPERIMENTAL RESULTS_ In this paper, firstly, the training set in the NEU-CLS data set is divided into labeled and mixed samples (unlabeled and labeled samples) according to different proportions. Then, the traditional and semi-supervised models are trained using labeled and composite samples. Then, the classification accuracy of these two models is tested using the test set, and the performance comparison results are presented in Table 2. This experiment aims to verify the feasibility of introducing the semi-supervised learning idea in the strip steel surface defect classification task. By comparing the two models with the same proportion of _LTU_ = - _WL_ _× LU_ _,_ if _C_ ( _pSm_ ) = _C_ ( _pTm_ ) (11) _WH_ _× LU_ _,_ otherwise Adopting the above methods makes the model more robust and can better cope with noise and abnormal situations. In addition, for semi-supervised learning scenarios, these strategies can also strengthen the model’s generalization ability and make it better adapt to the characteristics of unlabeled data, thus achieving better generalization performance. IV. EXPERIMENT AND RESULT ANALYSIS This paper aimed at the existing fully supervised and semisupervised classification models of strip surface defects; a series of experiments were carried out on the NEU-CLS data 8 VOLUME 11 2023 TABLE 1. Number of samples for initial partition of NEU-CLS data set. Category number Category name Data set name Divide proportion Number of training set Number of test set Total number of categories 1 Rolled-in scale NEU-CLS 6:4 180 120 300 2 Patches NEU-CLS 6:4 180 120 300 3 crazing NEU-CLS 6:4 180 120 300 4 pitted surface NEU-CLS 6:4 180 120 300 5 inclusion NEU-CLS 6:4 180 120 300 6 scratches NEU-CLS 6:4 180 120 300 Total number NEU-CLS 6:4 1080 720 1800 TABLE 2. Accuracy of traditional supervised and semi-supervised models trained with different proportions of labeled and mixed samples on the test set. Labeled sample ratio Loss function Traditional semi-supervised model Training data (Mixed sample) Backbone epoch Traditional supervision model Training data (Marked sample) Loss function 5% ResNet-34 100 74.54 54 _LC_ 85.73 1080 _LC_ + _λLU_ 25% ResNet-34 100 82.67 270 _LC_ 89.92 1080 _LC_ + _λLU_ 50% ResNet-34 100 86.72 540 _LC_ 91.44 1080 _LC_ + _λLU_ 75% ResNet-34 100 91.37 810 _LC_ 92.06 1080 _LC_ + _λLU_ 100% ResNet-34 100 94.45 1080 _LC_ 92.87 1080 _LC_ + _λLU_ labeled samples, we can observe the advantages of the semisupervised training mode, which makes extra use of unlabeled samples, thus significantly improving the classification accuracy on the test set. In particular, when the label samples are incredibly scarce (only 5% of the total samples), the semi-supervised model performs well, and its classification accuracy on the test set is 11.19% higher than that of the fully supervised model. This result shows that combining semi-supervised and deep learning can achieve remarkable outcomes. In addition, because of the close relationship between the performance of the deep learning model and the number of samples in the training set, this paper proposes a brandnew image synthesis model based on DCGAN. This model is designed to generate additional examples of strip surface defects, aiming at expanding the training set and further optimizing the performance of the semi-supervised strip surface defect classification model. The generated sample is shown in Fig 6. (c). By observing Fig 6, it is easy to find that the samples generated by the image synthesis model proposed in this paper are more realistic than those caused by DCGAN in detail. Especially in the types of defects such as inclusion, patches, pitted surface, and scratches, the artificially generated images perform well, which may be because these defects are rela tively simple. However, in the complex defect types such as crazing and rolled-in scale, although the generated samples show the corresponding defect categories as a whole, the generation effect of the details is not as good as that of the actual samples, so it is difficult for the naked eye to identify them accurately. Overall, these examples reveal the potential advantages and disadvantages of the image synthesis model in defect detection, which provides a valuable reference for improving model performance and popularizing its application. To verify the effectiveness of applying the image synthesis model in the semi-supervised model, this paper selects different percentages of labeled samples from the training set as the initial labeled data set and uses these samples to train the image synthesis model to generate artificial samples to fill the remaining unlabeled data in the training set. Subsequently, we will use the labeled data with the percentage of R in the training set, the remaining unlabeled data in the training set, and k times unlabeled data generated by the image synthesis model to train the traditional semi-supervised model. Finally, we will use the test set to verify the classification accuracy of the semi-supervised model. Specifically, Table 3 shows the number of mixed data sets with different multiples k generated when the image synthesis model is trained using labeled samples with different ratios r. VOLUME 11 2023 9 FIGURE 6. (a)Real samples in NEU-CLS data set. (b)NEU-CLS samples generated by DCGAN. (c)NEU-CLS samples generated by image synthesis model. TABLE 3. The number of labeled and unlabeled samples under different labeled sample ratios r and different expansion multiples k. ratio/multiples 0 1 2 3 4 5 5% 54/1026 54/2106 54/3186 54/4266 54/5346 54/6426 25% 270/810 270/1890 270/2970 270/4050 270/5130 270/6210 50% 540/540 540/1620 540/2700 540/3780 540/4860 540/5940 75% 810/270 810/1350 810/2430 810/3510 810/4590 810/5670 100% 1080/0 1080/1080 1080/2160 1080/3240 1080/4320 1080/5400 Total number 1080 2160 3240 4320 5400 6480 TABLE 4. Accuracy of traditional semi-supervised classification models with different labeled sample ratios r and expansion multiples k on test sets. ratio/multiples 0 1 2 3 4 5 5% 85.73 83.47 84.68 87.81 84.67 83.37 25% 89.92 88.79 89.77 91.73 90.32 90.61 50% 91.44 91.12 91.39 92.84 91.28 92.44 75% 92.06 93.57 93.75 94.71 93.57 94.53 100% 92.87 95.43 95.57 96.35 95.14 94.92 Table 4 shows that the accuracy of the semi-supervised model on the test set is generally improved by using the image synthesis model to expand the number of unlabeled samples. This fact proves that the artificial samples generated by the image synthesis model have the essential characteristics of each category, which helps assist the training process of the semi-supervised model. Specifically, when the number of artificial samples generated by the image synthesis model is k=1-5 times that of the total training set, the accuracy of the test set of the semi-supervised model is improved, especially TABLE 5. Accuracy of different semi-supervised strip surface defect classification models on the test set under the training of different proportions of labeled samples. Accuracy rate Method 5% 10% 25% 50% 100% Di et.al [41] 85.83 94.89 98.37 He al.et [42] 89.58 96.06 98.32 PlCNN [43] 90.74 Ours(TE[38]+ISM+SUW) 89.57 91.14 92.87 97.06 98.85 when k=3 times; it usually reaches the highest classification accuracy. However, with the increase of expansion factor k, the model’s performance begins to decline. This may be because the samples generated by the image synthesis model are fictitious and may contain noise in addition to practical information. With the increase in the proportion of generated samples, the semi-supervised model may also begin to learn this noise information, affecting its accurate discrimination of strip surface sample characteristics, thus leading to a decline in classification accuracy. In practical application, a feasible 10 VOLUME 11 2023 TABLE 6. Influence of image synthesis model (ISM) and double uncertainty weighting technology (DUW) on model classification accuracy. Accuracy rate Method 5% 10% 25% 50% 100% TE [38] 85.73 87.17 89.92 91.44 92.87 TE+ISM 87.81 89.55 91.73 92.84 96.35 TE+SUW 88.07 89.76 91.58 94.35 96.79 Ours(TE+ISM+SUW) 89.57 91.14 92.87 96.77 98.85 TABLE 7. Accuracy of different fully supervised models on test sets under different labeled sample training proportions. Accuracy rate Method 25% 50% 100% Zhou et.al [28] 78.12 81.73 87.64 Li et.al [29] 82.81 88.39 95.10 Ren et al [30] 84.15 87.91 95.38 ResNet [24] 82.67 86.72 94.45 ResNet+ISM+ DUW(Ours) 84.81 88.32 95.72 strategy is to label all samples first, then generate additional unlabeled samples using an image synthesis model, and finally improve the model’s classification performance using a semi-supervised learning method. We set the number of artificial samples generated by the image synthesis model to k = 3 times the number of training samples. Then we trained our semi-supervised model with these expanded samples. Subsequently, we compared the performance of this model with the current three semi-supervised methods in terms of accuracy on the test set. As shown in Table 5. It is evident that, in comparison with the other three models, our proposed semi-supervised model consistently exhibits the most impressive classification results. Specifically, when utilizing 25% of the training set as labeled data and the remaining 75% as unlabeled data, our method achieved a commendable accuracy of 92.87%. Table 6 shows the influence of the image synthesis model and the double uncertainty weighting method proposed in this study on strip steel’s semi-supervised surface defect classification model. No matter what mixed sample ratio is used to train the model, compared with the traditional semisupervised model, the image synthesis model, and the double uncertainty weighting method can significantly improve the model’s classification accuracy on the test set. Fig 7 shows the best and worst classification results of the semi-supervised strip surface defect classification model in this paper on the test set. It can be observed from the figure that the model presents a satisfactory performance in the classification of samples, such as patches and scratches. However, the model’s results differ in the category of pieces, such as rolled-in scale and inclusion. This may be because the characteristics of defect samples, such as iron scales and inclusions, are relatively small and similar. This further shows that our semi-supervised model still has room for improvement in classification performance. We used different proportions of labeled samples for training in the experiment to further verify the effectiveness of the image synthesis model proposed in this paper and its accompanying uncertainty weighting technology. We compared the experimental results with the results of previous complete supervision methods. The detailed data are presented in Table 7. It is particularly noteworthy that no matter how muchlabeled data we use to train the fully supervised model, after applying the image synthesis model and uncertainty weighting technology proposed in this paper, the accuracy of the obtained model is significantly higher than other models, and the improvement range is between 1% and 2%. This series of experimental results strongly verify the effectiveness of the image synthesis model and uncertainty weighting technology proposed in this paper and confirm its robustness under different training data ratios. V. DISCUSSION Although the semi-supervised deep learning model designed in this paper is excellent in classifying strip surface defect data sets, many problems still need further study and improvement. Firstly, given the characteristics of the strip surface defect data set, this paper adopts a relatively simple ResNet network as the backbone network, so it is necessary to explore the application effect of choosing other network models as the backbone network. In addition, regarding the influence of sample expansion, although this paper mentioned that it may affect the training time of the network, the experimental part did not compare and analyze it in detail, which is also an aspect that needs further study. More crucially, if we intend to apply the model directly to the strip processing line, we need to consider whether the classification effect of the model will be affected in different environments and harsh conditions and whether it will slow down the speed of defect classification. Future research should include the erection of actual hardware equipment, image transmission, labeling of samples by operators, model training, and new defect image classification and detection. These works will help to realize the rapid application and further optimization of the model to meet the needs of actual industrial scenes. VI. CONCLUSION In recent years, due to the rapid development of deep learning technology and the emergence of large-scale data sets, the semi-supervised deep learning method has made notable achievements in image classification. This study explores the application of semi-supervised deep learning technology in solving the image classification problem of strip surface VOLUME 11 2023 11 FIGURE 7. The semi-supervised classification model of strip surface defects predicts the best and worst classification results on some samples in the test set. defects. At present, the task of image classification of strip surface defects faces multiple challenges: _•_ The total number of samples in the existing strip surface defect data set is small; most are samples without labels. _•_ The speed of manual data marking is limited, and the noise problem is often introduced in the marking process. _•_ The existing strip surface defects classification model needs more robustness and generalization ability. This paper proposes a new semi-supervised surface defect classification model of strip steel, which aims to effectively deal with the model’s poor performance caused by the limited number of labeled samples. Specifically, this study suggests a new image synthesis model, which ensures that the generated false examples are more realistic by improving the loss function of the discriminator. At the same time, this study also proposes a double uncertainty weighting technique, which can allocate loss weight to each misclassified sample more finely, thus realizing fine adjustment of the model. This method can not only mine the potential feature information in unlabeled samples more comprehensively but also further improve the performance and generalization ability of the model. We have carried out experiments on the data set of NEU-CLS, and through the in-depth analysis of the experimental results, the effectiveness of our method is fully proven. This study provides a new approach to solving the image classification problem of strip surface defects. In the future, we should test the model in the strip processing line to understand the model’s performance in different environments and harsh conditions. CONFLICT OF INTEREST STATEMENT The authors declare that the research was conducted without any commercial or financial relationships that could be construed as a potential conflict of interest. AUTHOR CONTRIBUTIONS YL: conceptualization. YL and CW: methodology and writing. HY and CW: validation. HY and CW: writing—original draft preparation. All authors contributed to the manuscript revision and read and approved the submitted version. ACKNOWLEDGMENTS This short text acknowledges the contributions of specific colleagues, institutions, or agencies that aided the authors’ efforts. REFERENCES [1] S. Jain, G. Seth, A. Paruthi, U. Soni, and G. Kumar, ‘‘Synthetic data augmentation for surface defect detection and classification using deep learning,’’ _Journal of Intelligent Manufacturing_, pp. 1–14, 2022. [2] N. K. Gyimah, A. Girma, M. N. Mahmoud, S. Nateghi, A. Homaifar, and D. Opoku, ‘‘A robust completed local binary pattern (rclbp) for surface defect detection,’’ in _2021_ _IEEE_ _International_ _Conference_ _on_ _Systems,_ _Man, and Cybernetics (SMC)_, pp. 1927–1934. IEEE, 2021. [3] T. Kurita and M. Hattori, ‘‘Development of new-concept desk top size machine tool,’’ _International Journal of Machine Tools and Manufacture_, vol. 45, no. 7-8, pp. 959–965, 2005. [4] H. Chen, Y. Wan, and G. Wang, ‘‘Research progress of digital image processing technology [j],’’ _Industrial_ _control_ _computer_, vol. 26, no. 01, pp. 72–74, 2013. [5] R. Patel and S. Patel, ‘‘A comprehensive study of applying convolutional neural network for computer vision,’’ _International_ _Journal_ _of_ _Advanced_ _Science and Technology_, vol. 6, no. 6, pp. 2161–2174, 2020. [6] K. Yu, T. R. Lin, H. Ma, X. Li, and X. Li, ‘‘A multi-stage semi-supervised learning approach for intelligent fault diagnosis of rolling bearing using data augmentation and metric learning,’’ _Mechanical_ _Systems_ _and_ _Signal_ _Processing_, vol. 146, p. 107043, 2021. [7] H. Li, Y. Wang, Y. Li, G. Xiao, P. Hu, R. Zhao, and B. Li, ‘‘Learning adaptive criteria weights for active semi-supervised learning,’’ _Information_ _Sciences_, vol. 561, pp. 286–303, 2021. [8] W. Zhang, Q. Zhao, and D. Wang, ‘‘Actualities and developing trend of machine vision,’’ _Journal of zhongyuan university of technology_, vol. 19, no. 1, pp. 9–12, 2008. [9] B. Liu, S. Wu, and S. Zou, ‘‘Automatic detection technology of surface defects on plastic products based on machine vision,’’ in _2010 International_ _Conference on Mechanic Automation and Control Engineering_, pp. 2213– 2216. IEEE, 2010. [10] E. Qu, M. Li, and R. Li, ‘‘Deformation behavior in multi-point forming using a strip steel pad,’’ _Proceedings_ _of_ _the_ _Institution_ _of_ _Mechanical_ _Engineers, Part C: Journal of Mechanical Engineering Science_, vol. 234, no. 9, pp. 1775–1785, 2020. [11] G. Amato and F. Falchi, ‘‘knn based image classification relying on local feature similarity,’’ in _Proceedings_ _of_ _the_ _Third_ _International_ _Conference_ _on Similarity Search and Applications_, pp. 101–108, 2010. [12] K.-S. Goh, E. Chang, and K.-T. Cheng, ‘‘Svm binary classifier ensembles for image classification,’’ in _Proceedings of the tenth international confer-_ _ence on Information and knowledge management_, pp. 395–402, 2001. 12 VOLUME 11 2023 [13] P. Du, A. Samat, B. Waske, S. Liu, and Z. Li, ‘‘Random forest and rotation forest for fully polarized sar image classification using polarimetric and spatial features,’’ _ISPRS_ _journal_ _of_ _photogrammetry_ _and_ _remote_ _sensing_, vol. 105, pp. 38–53, 2015. [14] K. Liu, H. Wang, H. Chen, E. Qu, Y. Tian, and H. Sun, ‘‘Steel surface defect detection using a new haar–weibull-variance model in unsupervised manner,’’ _IEEE transactions on instrumentation and measurement_, vol. 66, no. 10, pp. 2585–2596, 2017. [15] K. Song, Y. Yan, Z. Wang, and C. Hu, ‘‘Research on segmentation method for silicon steel surface defect based on structure tensor and active contour,’’ _Jisuanji Gongcheng yu Yingyong(Computer Engineering and Appli-_ _cations)_, vol. 48, no. 32, pp. 224–228, 2012. [16] M. B. Gharsallah and E. B. Braiek, ‘‘Image segmentation for defect detec tion based on level set active contour combined with saliency map,’’ in _2015_ _16th_ _International_ _Conference_ _on_ _Sciences_ _and_ _Techniques_ _of_ _Automatic_ _Control and Computer Engineering (STA)_, pp. 388–392. IEEE, 2015. [17] D. Wang, S. Gan, W. Zhang, and W. Lei, ‘‘Strip surface defect image classification based on double-limited and supervised-connect isomap algorithm,’’ _Acta Automatica Sinica_, vol. 40, no. 5, pp. 883–891, 2014. [18] Y. Liu, L. Guo, H. Gao, Z. You, Y. Ye, and B. Zhang, ‘‘Machine vision based condition monitoring and fault diagnosis of machine tools using information from machined surface texture: A review,’’ _Mechanical Systems_ _and Signal Processing_, vol. 164, p. 108068, 2022. [19] A. Boudiaf, S. Benlahmidi, K. Harrar, and R. Zaghdoudi, ‘‘Classification of surface defects on steel strip images using convolution neural network and support vector machine,’’ _Journal of Failure Analysis and Prevention_, vol. 22, no. 2, pp. 531–541, 2022. [20] J. Cao, H. Cui, Q. Zhang, and Z. Zhang, ‘‘Ancient mural classification method based on improved alexnet network,’’ _Studies_ _in_ _Conservation_, vol. 65, no. 7, pp. 411–423, 2020. [21] X. Dai, Y. Zhao, and C. Zhu, ‘‘A study of an improved rcnn network model for surface defect detection algorithm of precision workpiece and its realisation,’’ _International Journal of Wireless and Mobile Computing_, vol. 19, no. 1, pp. 95–105, 2020. [22] G. Hirano, M. Nemoto, Y. Kimura, Y. Kiyohara, H. Koga, N. Yamazaki, G. Christensen, C. Ingvar, K. Nielsen, A. Nakamura _et_ _al._, ‘‘Automatic diagnosis of melanoma using hyperspectral data and googlenet,’’ _Skin_ _Research and Technology_, vol. 26, no. 6, pp. 891–897, 2020. [23] Y. Pu, H. Yang, X. Ma, and X. Sun, ‘‘Recognition of voltage sag sources based on phase space reconstruction and improved vgg transfer learning,’’ _Entropy_, vol. 21, no. 10, p. 999, 2019. [24] S. Lu, S.-H. Wang, and Y.-D. Zhang, ‘‘Detecting pathological brain via resnet and randomized neural networks,’’ _Heliyon_, vol. 6, no. 12, 2020. [25] M. Sebai, X. Wang, and T. Wang, ‘‘Maskmitosis: a deep learning frame work for fully supervised, weakly supervised, and unsupervised mitosis detection in histopathology images,’’ _Medical_ _&_ _Biological_ _Engineering_ _& Computing_, vol. 58, pp. 1603–1623, 2020. [26] H. Wang, N. Gao, Y. Xiao, and Y. Tang, ‘‘Image feature extraction based on improved fcn for uuv side-scan sonar,’’ _Marine Geophysical Research_, vol. 41, pp. 1–17, 2020. [27] Y. Cao, S. Liu, Y. Peng, and J. Li, ‘‘Denseunet: densely connected unet for electron microscopy image segmentation,’’ _IET Image Processing_, vol. 14, no. 12, pp. 2682–2689, 2020. [28] S. Zhou, Y. Chen, D. Zhang, J. Xie, Y. Zhou _et_ _al._, ‘‘Classification of surface defects on steel sheet using convolutional neural networks,’’ _Mater._ _Technol_, vol. 51, no. 1, pp. 123–131, 2017. [29] L. Yi, G. Li, and M. Jiang, ‘‘An end-to-end steel strip surface defects recognition system based on convolutional neural networks,’’ _steel research_ _international_, vol. 88, no. 2, p. 1600068, 2017. [30] R. Ren, T. Hung, and K. C. Tan, ‘‘A generic deep-learning-based approach for automated surface inspection,’’ _IEEE_ _transactions_ _on_ _cybernetics_, vol. 48, no. 3, pp. 929–940, 2017. [31] S. Li, C. Wu, and N. Xiong, ‘‘Hybrid architecture based on cnn and trans former for strip steel surface defect classification,’’ _Electronics_, vol. 11, no. 8, p. 1200, 2022. [32] Y. Zhang, X. Liu, J. Guo, and P. Zhou, ‘‘Surface defect detection of strip steel based on an improved pp-yoloe-m detection network,’’ _Electronics_, vol. 11, no. 16, p. 2603, 2022. [33] J. Zhang, S. Li, Y. Yan, Z. Ni, and H. Ni, ‘‘Surface defect classification of steel strip with few samples based on dual-stream neural network,’’ _steel_ _research international_, vol. 93, no. 5, p. 2100554, 2022. [34] D. Yarowsky, ‘‘Unsupervised word sense disambiguation rivaling super vised methods,’’ in _33rd_ _annual_ _meeting_ _of_ _the_ _association_ _for_ _computa-_ _tional linguistics_, pp. 189–196, 1995. [35] A. Rasmus, M. Berglund, M. Honkala, H. Valpola, and T. Raiko, ‘‘Semi supervised learning with ladder networks,’’ _Advances in neural information_ _processing systems_, vol. 28, 2015. [36] S. Laine and T. Aila, ‘‘Temporal ensembling for semi-supervised learning,’’ _arXiv preprint arXiv:1610.02242_, 2016. [37] A. Oliver, A. Odena, C. A. Raffel, E. D. Cubuk, and I. Goodfellow, ‘‘Re alistic evaluation of deep semi-supervised learning algorithms,’’ _Advances_ _in neural information processing systems_, vol. 31, 2018. [38] A. Tarvainen and H. Valpola, ‘‘Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results,’’ _Advances in neural information processing systems_, vol. 30, 2017. [39] D. Berthelot, N. Carlini, I. Goodfellow, N. Papernot, A. Oliver, and C. A. Raffel, ‘‘Mixmatch: A holistic approach to semi-supervised learning,’’ _Advances in neural information processing systems_, vol. 32, 2019. [40] K. Sohn, D. Berthelot, N. Carlini, Z. Zhang, H. Zhang, C. A. Raffel, E. D. Cubuk, A. Kurakin, and C.-L. Li, ‘‘Fixmatch: Simplifying semisupervised learning with consistency and confidence,’’ _Advances in neural_ _information processing systems_, vol. 33, pp. 596–608, 2020. [41] H. Di, X. Ke, Z. Peng, and Z. Dongdong, ‘‘Surface defect classification of steels with a new semi-supervised learning method,’’ _Optics and Lasers in_ _Engineering_, vol. 117, pp. 40–48, 2019. [42] Y. He, K. Song, H. Dong, and Y. Yan, ‘‘Semi-supervised defect classifi cation of steel surface based on multi-training and generative adversarial network,’’ _Optics and Lasers in Engineering_, vol. 122, pp. 294–302, 2019. [43] Y. Gao, L. Gao, X. Li, and X. Yan, ‘‘A semi-supervised convolutional neural network-based method for steel surface defect recognition,’’ _Robotics and_ _Computer-Integrated Manufacturing_, vol. 61, p. 101825, 2020. [44] F. Jing, M. Zhang, J. Li, G. Xu, and J. Wang, ‘‘Coil shape defects prediction algorithm for hot strip rolling based on siamese semi-supervised dae-cnn model,’’ _Assembly Automation_, vol. 42, no. 6, pp. 773–781, 2022. [45] H. Xiao, C. Zhao, Z. Zhang _et_ _al._, ‘‘A semi-supervised method for steel surface defect detection based on soft-teacher,’’ _Academic Journal of Com-_ _puting & Information Science_, vol. 6, no. 3, pp. 11–19, 2023. [46] J. Liu, F. Guo, Y. Zhang, B. Hou, and H. Zhou, ‘‘Defect classification on limited labeled samples with multiscale feature fusion and semi-supervised learning,’’ _Applied Intelligence_, pp. 1–16, 2022. [47] T.-Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár, ‘‘Focal loss for dense object detection,’’ in _Proceedings of the IEEE international conference on_ _computer vision_, pp. 2980–2988, 2017. [48] N. Sergievskiy and A. Ponamarev, ‘‘Reduced focal loss: 1st place so lution to xview object detection in satellite imagery,’’ _arXiv_ _preprint_ _arXiv:1903.01347_, 2019. [49] 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, p. 706, 2021. YONGFEI LIU received an M.S. from the School of Mathematics and Statistics, Qinghai Normal University, in 2014 and is now a Ph.D. Student at the School of Computer, Qinghai Normal University. He is also currently a Lecturer in the Department of Mathematics at Qinghai College of Architectural Technology, China. His research interests include compressed sensing, digital signal processing, and algorithm design. VOLUME 11 2023 13 HAOYU YANG received a B.S. from the School of Gifted Young, University of Science and Technology of China, in 2023 and now is an M.S. Student at the College of Computing, Georgia Institute of Technology. He has cooperated with researcher Feilong Ma and Associate Professor Weiwei Zhuang. His research interests include Digital Image Processing, Computer Vision, and Autonomous Driving. CHENWEI WU earned his Bachelor of Science in Data Science from the University of Rochester and will join the University of Michigan as an Electrical & Computer Engineering Ph.D. His research interests include robust self-supervised computer vision models and real-life applications of deep learning models. Chenwei’s application domain spans electrical engineering, precision medicine, and brain cognitive science. 14 VOLUME 11 2023

섹션 본문 75문단 · 41,707자

(제목 없음)

1As a critical intermediate material in the iron and steel industry, strip steel will inevitably have various surface defects during its processing, which directly affects the service performance and life of the material.Therefore, the classification technology of strip surface defects has always been the focus of research.Currently, combining computer vision with deep learning is often used to classify the surface defects of strip steel, which usually runs in full supervision mode.However, the performance of the complete supervision method depends mainly on the quality and quantity of labeled samples.At the same time, in industrial scenes, there are few labeled samples available, and most even have no labels, which seriously restricts the performance of the traditional full supervision model.This paper introduces the idea of semisupervised learning, and a new semi-supervised classification model of strip surface defects is proposed to alleviate the degradation of model classification performance caused by insufficient labeled samples.Specifically, a new image synthesis model (ISM) is proposed in this paper.By improving the loss function of the discriminator, the generated false samples are more realistic.In addition, this paper also presents a double uncertainty weighting technique (DUW), which weighs the loss of misclassified samples in a more detailed way, thus realizing fine adjustment of the model.This method can fully mine the potential feature information in unlabeled samples and further improve the performance and generalization ability of the model.In this paper, we use the NEU-CLS dataset to test our model.When only 10% and 90% of labeled and unlabeled samples are used for training, the classification accuracy reaches 91.14%, fully proving this method's practicability and superiority.

I. INTRODUCTION

2In the evolution of the iron and steel industry, strip steel, as one of the essential raw materials, plays an indispensable role in many related sectors [1], such as machining manufacturing, the construction industry, shipbuilding, and automobile manufacturing.However, in the process of strip steel processing and production, many factors, such as production environment, machine wear, and improper transportation, will lead to various defects on the surface of strip steel [2], such as rolled-in scale, patches, crazing, pitted surface, inclusion, and scratches, as shown in Fig 1 .The associate editor coordinating the review of this manuscript and approving it for publication was Donato Impedovo .

3These defects significantly reduce the service performance and service life of materials.Therefore, in the manufacturing process of strip steel, it is imperative to accurately classify and detect these defects and then give feedback on the weaknesses [3].

4In the initial stage, the identification of strip surface defects mainly depends on artificial vision detection; that is, the staff directly observes the strip surface with naked eyes and judges whether there are defects and their types by personal experience and subjective consciousness.However, many things could be improved in this manual detection method: limited detection accuracy, low efficiency, complex management and preservation of monitoring data, and inability to guide future product production.Because of the apparent weakness of manual detection, combined with the continuous progress of computer technology, image processing technology [4], and artificial intelligence [5] Traditional digital image processing methods usually only focus on designing the features of one or a few defects in defect classification technology, which limits its generalization ability when the target to be detected contains multiple types of defects.In contrast, the surface defect classification method based on deep learning technology enables the model to independently detect and classify defects using many labeled samples for feature learning.Compared with traditional image detection methods, this method eliminates the shortcomings of manual design features, has more robust generalization performance and robustness, and is easier to realize migration applications in different scenes.However, there are still two problems in the industrial field that are applied to the task of surface defect classification of strip steel [6], which limits the application of surface defect classification and detection methods based on deep learning technology:

5• The number of samples is limited.Surface defects of strip steel are usually caused by processing technical errors.However, with the continuous improvement of strip processing technology, the number of defects has decreased significantly, so obtaining many samples of strip surface defects is more complicated.

6• The annotation task is tedious.Unmarked samples of strip surface defects cannot be used for model training.

7Still, labeling samples usually requires experienced professional workers to judge, consuming a lot of time and labor costs.Although more examples can be accumulated over time, they still need to be marked manually, which has caused vast expenses for human resources.

8The traditional fully supervised deep learning method is challenging to cope with the influence of the above two problems on the classification model.Even if some largescale networks with good performance and wide application are selected, trying to improve the classification accuracy of strip surface defect samples under the condition that the number of label samples is minimal may lead to the instability of the network and the over-fitting phenomenon.Therefore, for the limited number of label samples, we can introduce the framework idea of semi-supervised learning to use unlabeled samples to assist label samples in model training, thus reducing the workload of manual labeling in industrial scenes [7].

9To sum up, the image data set of strip surface defects in industrial scenes faces multiple challenges, including the limited number of samples, most of which are unlabeled and have low image quality.The traditional classification model of strip surface defects based on image processing technology and the traditional fully supervised depth model makes it challenging to learn the sample characteristics fully and effectively, so it shows some difficulties in practical application.This paper proposes a new semi-supervised classification method of strip surface defects based on a semi-supervised learning idea.This method can make more effective use of the sample characteristics of unlabeled data and learn the mapping relationship between unlabeled data and tagged data so that the model can independently complete the strip surface defects classification task, thus reducing the 119934 VOLUME 11, 2023 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.labeling work.At the same time, it is committed to improving the classification performance, robustness, and generalization of the system.The contribution of this paper includes the following aspects:

101) In this paper, a new semi-supervised classification method of surface defects of strip steel is proposed and verified by experiments on the NEU-CLS data set.Experiments show that this method can better use unlabeled data under limited labeled samples, thus improving the classification performance.2) Building upon the foundation of deep convolutional generative adversarial networks (DCGAN), this paper introduces a novel image synthesis model.By applying a weighted loss function to the discriminator, the generator can produce even more ''convincing'' fake images.This process supplements a limited number of actual samples, effectively enhancing the diversity and quantity of training data.

113) The paper proposes a novel double uncertainty weighting technique, which can be applied to the supervised loss of labeled samples and seamlessly extended to the unsupervised loss of unlabeled samples.This technique enables more comprehensive learning of sample features from labeled and unlabeled instances, facilitating a better understanding of the mapping relationship between unlabeled and labeled samples.The rest of this article will be organized as follows.''Related Work'' will briefly introduce the existing classification methods of strip surface defects based on traditional image processing technology and deep learning.''Our approach'' will first summarize the general situation of our semi-supervised surface defect classification model and then introduce the principles of image synthesis model (ISM) and double uncertainty weighting technique (DUW) in detail.''Experiment and result analysis'' will verify the classification accuracy and feasibility of the proposed method through a series of experiments.This part will also provide a visual presentation of the false samples generated by the image synthesis model and the best and worst results of the model on the data set.In the ''Discussion'' section, the limitations of the semi-supervised surface defect classification model of strip steel are explained, and the potential strategies to solve these limitations in future work are discussed.Finally, in the ''Conclusion'' section, the main findings and contributions of the study are summarized, and the practical impact of the proposed method and possible future work are discussed.

II. RELATED WORK

12As an essential part of the intermediate products of heavy industry, the production quality requirements of strip steel are stringent.The detection and classification of strip surface defects are significant for monitoring strip production quality.Solving the strip surface defects classification problem has undergone a long development process, which can be summarized into two main stages.

A. DEFECT CLASSIFICATION METHOD BASED ON TRADITIONAL DIGITAL IMAGE PROCESSING

13With the continuous progress of sensor technology, highsensitivity and customized detection equipment has been widely used, combined with traditional digital image processing algorithms.This machine-aided automatic strip surface defect detection technology is gradually becoming the trend of the industry, which makes strip surface defect detection take a new step [8].This method improves defect detection efficiency and eliminates the tedious visual inspection process one by one [9].

14The defect classification method based on traditional digital image processing is the study of image classification algorithms [10].It mainly includes two critical tasks: feature extraction and classification.Researchers have developed many classic feature extraction algorithms, such as Scale Invariant Feature Transform (SIFT), Local Binary Pattern (LBP), Directional Gradient Histogram (HOG), and wavelet features.In terms of classification algorithms, standard methods include K-nearest neighbor (KNN) [11], support vector machine (SVM) [12], and random forest (RF) [13].Liu et al. [14] proposed a new Haar-Weibull variance model to solve the problems of complex defect patterns, low contrast between defect and background, and false defects.Song et al. [15] proposed a segmentation method of silicon steel surface defects based on structural tensor and active contour.MB Gharsallah et al. [16] proposed a defect detection image segmentation algorithm based on level set active contour and saliency map.This algorithm can detect surface defects with low contrast and small shapes affected by uneven illumination.In addition, Wang et al. [17] proposed an image classification method of strip surface defects based on a supervised double-restricted connection Isomap algorithm.Liu et al. [18] monitored the surface defects of strip steel by machine vision technology and using the texture information of the machined surface.Boudiaf et al. [19] proposed using a convolutional neural network and support vector machine to classify strip surface defect images, and the results showed that remarkable good results were achieved.

B. CLASSIFICATION METHOD OF STRIP SURFACE DEFECTS BASED ON DEEP LEARNING

15With the continuous improvement of neural networks and computing power, the neural network has shown excellent performance in feature extraction and generalization under its self-learning characteristics and superior generalization ability.Therefore, it has attracted extensive academic research attention in various fields.Nowadays, machine vision detection algorithm based on deep learning has become a research field of great concern.

1) CLASSIFICATION METHOD OF SURFACE DEFECTS OF FULLY SUPERVISED STRIP STEEL

16In the past ten years, the neural network has experienced rapid development, and many models with great influence have emerged.These models include AlexNet [20], R-CNN [21], GoogleNet [22], VG Net [23], ResNet [24], Mask R-CNN [25], FCN [26], U-Net [27] and other networks.They have made remarkable breakthroughs in computer vision and promoted the wide application of deep learning in image classification tasks.For example, Zhou et al. [28] proposed a sparse automatic encoder to learn the filter to initialize the convolution kernel, which was used to classify the surface defects of steel plates by convolutional neural networks.Li et al. [29] designed an end-to-end defect classification system.They used the deep convolution neural network, symmetric surrounding saliency map, and defect image as inputs to output seven kinds of classification results of strip steel defects.Ren et al. [30] trained the input image by convolution to obtain pixel-by-pixel prediction and developed a general automatic surface detection method based on deep learning.Li et al. [31] proposed a hybrid framework (CNN-T) based on CNN and Transformer to classify the surface defects of strip steel, which improved the classification accuracy by 0.28×2.23%.Zhang et al. [32] proposed a surface defect classification of strip steel with few samples based on a double-flow neural network, and the model has excellent stability and robustness.Zhang et al. [33] improved on PP-YOLOE-m and proposed a new strip surface defect detection model with fast and real-time detection ability.

17However, when dealing with a limited number of labeled samples, the enhancement of supervised learning methods' effectiveness becomes constrained.The need for more training data makes it challenging to successfully train a deep neural network model with a robust representation capacity solely through supervised learning.In the absence of adequate training, the network model might struggle to grasp the distribution characteristics of the data precisely, consequently impacting the ultimate model's classification performance in the strip steel surface defect classification task.

2) CLASSIFICATION METHOD OF SEMI-SUPERVISED STRIP SURFACE DEFECTS

18Semi-supervised deep learning can skillfully use limited labeled samples and rich unlabeled samples to train deep neural networks, thus reducing the burden of sample labeling and effectively improving the accuracy of classification tasks.Therefore, semi-supervised deep learning has attracted wide attention in academia and industry.

19In recent decades, semi-supervised deep learning has made remarkable breakthroughs in many natural image classification tasks [34].Self-training or pseudo-labeling [35] generates pseudo-labels for unlabeled data by using the model's prediction in the training process.π model [36] adopts a consistent regularization strategy [37], and even if the input is disturbed, the network can still produce the same results as the original output.Temporal Ensembling [36] uses multiple previously predicted exponential moving averages (EMAs) as prediction labels instead of gathering the exact model under different regularization and input enhancement conditions, providing more robust semantic information.Tarvainen and Valpola put forward Mean Teacher (MT) [38], which stores the exponential average moving weight of the model instead of the label prediction.Recently, Berthelot put forward MixMatch [39], which integrates the three mainstream paradigms of consistency regularization, 119936 VOLUME 11, 2023 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

20entropy minimization, and traditional regularization into semi-supervised learning and has achieved remarkable results in image classification.Sohn et al. proposed a more concise and efficient method called FixMatch [40].Di et al. [41] proposed a new semi-supervised learning method to classify steel surface defects by combining a convolutional automatic encoder with a semi-supervised generation countermeasure network.He et al. [42] proposed a multi-training semisupervised rigid body surface defect classification method based on two networks and achieved high classification accuracy.Gao et al. [43] proposed a semi-supervised learning method based on a convolutional neural network for steel surface defect identification.Jing et al. [44] put forward a semi-supervised steel plate defect prediction algorithm based on a conjoined denoising automatic encoder and convolutional neural network (DAE-CNN), which helps improve the production quality and intelligent level of hot strip rolling.Xiao et al. [45] enhanced based on soft teachers and proposed a semi-supervised defect detection method to meet the needs of preliminary defect detection and marking.Liu et al. [46] used multi-scale feature fusion and semisupervised learning to classify defects of limited labeled samples to improve defect detection accuracy when marked models were scarce.and M unlabeled data sets D U = x i N +M i=N +1 .Firstly, some synthetic unmarked examples are generated by inputting the actual strip surface defect samples into the image generation model to supplement the actual unmarked strip surface defect samples.Then, the labeled data set D L is input into the student model after the data processing stage, and features are extracted to obtain the prediction results of each sample.Then, the differences between them are calculated by comparing the prediction results of these samples with their authentic labels using the cross entropy function.In the training process, the student model is committed to reducing this difference, thus adjusting the model parameters so that the student model can correctly assign labels to each input sample.Therefore, the supervision loss of marked pieces can be expressed as:

As shown in

21where N represents the total number of actual training samples, y ic is a symbolic function (0 or 1), and if the real class of the i-th example is equal to class C, take 1; otherwise, take 0. p ic is the prediction probability that the i-th sample belongs to category C. We reconstruct our teacher model by exponentially weighted average (EMA) from the student model trained by labeled sample data D L , and the formula is as follows:

22Among them, θ ′ t represents the parameters of the teacher model, θ t defines the parameters of the student model, and a is the smoothing coefficient superparameter used to adjust the weight update rate.Next, the unlabeled sample D U and the synthesized sample generated by the generation model are input into the student and teacher models through different noise disturbances (data preprocessing), and two different prediction results are obtained.According to the assumption of consistency regularization, the prediction results of the same image after other disturbance methods should be consistent; the difference between the two prediction values is narrowed by mean square error.The specific formula is as follows:

23(3) f (x i , θ, η) and f x i , θ ′ , η ′ represent the output vectors of the same sample after passing through the student and teacher models, respectively, and L U represents the mean square error loss.

24We think that the traditional cross entropy function in supervised loss and the mean square error loss in unsupervised loss only make general statistics on the difference between the predicted value and the actual value of the sample, which may lead to the model's inability to accurately adjust the pieces with wrong classification during the training process, thus possibly affecting the classification performance of the model.To solve this problem, this paper proposes an innovative double uncertainty weighting technology to weigh the traditional and unsupervised losses.The core goal of this technology is to learn the characteristics of labeled and unlabeled samples more effectively to improve the model's performance further.

25The target loss function of the final semi-supervised strip surface defect classification model is defined as:

26Here, x i and y i represent the labeled samples and their corresponding labels in the strip surface defect data set.And x i represents the unlabeled samples in the strip surface defect data set.L TC and L TU represent the new supervised loss and unsupervised loss obtained using the dual uncertainty weighting technique for the original supervised loss and unsupervised loss.f (x i ; θ) and f (•) represent the student and teacher models.η and η ′ respectively represent different ways of disturbing unlabeled samples.λ is a parameter that balances supervised and unsupervised losses.

27Here, z (i) represents the generated 100-dimensional random noise.D G z (i) means the probability that the discriminator determines the i-th false image generated by the generator as false.G z (i) represents the i-th artificial sample generated by the generator.

28The structure of the discriminator in DCGAN is shown in Fig 3 . (b).Input any image in the actual or artificially generated sample into the discriminator, perform a downsampling operation through multiple convolution layers, and then obtain the feature map 4*4*1024 through complete connection layer processing.The above process is similar to the reverse procedure of generating the network and, finally, processing the feature map through the Sigmoid function to obtain the true and false probability of the current image.The discriminator loss function is as follows.

291

30In this context, N represents the total number of marked samples in the strip steel surface defect samples.D x (i) means the probability that the discriminator determines the i-th actual image's accuracy.

31In this study, improving the loss function of the discriminator can further enhance the fidelity of the false image generated by Deep Convolutional Generative Adversarial Networks (DCGAN).In traditional Deep Convolutional Generative Adversarial Networks, the confrontation training between the generator and discriminator is the key to developing high-quality images.However, in some cases, the generator may not produce enough realistic pictures.We improve the loss function of the discriminator to overcome this challenge, which is announced as follows:

321

33By adding the parameter 1 − D x (i) before the actual sample loss of the discriminator, the discriminator can enlarge the log 1 − D G z (i) in the subsequent training process.The purpose of this step is to guide the discriminator to maximize the log 1 − D G z (i) more effectively in the training process so that the generator will be more challenged when generating false samples, thus causing more realistic wrong examples.To sum up, our improved method is expected to improve the generator's performance further and enhance the realism of the generated image.

C. DOUBLE UNCERTAINTY WEIGHTING TECHNIQUE

34Recently, scholars put forward some variants of the loss function in the image target detection and classification task, aiming at solving the problems of imbalance between complex and challenging samples and difficult sample classification.Focal Loss [47] is a loss function that reduces the influence of easy-to-classify pieces.It can suppress the loss value of difficult-to-classify samples by dynamically adjusting the sample weight.Reduced Focal Loss [48] introduces an adaptive sample selection mechanism based on Focal Loss to improve complex examples' processing effect.However, both Focal Loss and Reduced Focal Loss only weigh the supervision loss of labeled samples, and both consider the whole batch of samples uniformly, which cannot be specific to each piece.Therefore, this paper proposes an innovative dual uncertainty weighting technique suitable for weighted supervised losses of labeled examples and can be extended to unsupervised losses of unlabeled samples.More importantly, this technology can weigh the Loss of each misclassified piece more finely, thus realizing fine adjustment of the model.Through this method, we can fully mine the potential feature information in unlabeled examples and further improve the performance and generalization ability of the model.

35As shown in Fig 4, this paper adopts a strategy in the supervision of labeling samples and compares the label of each piece with its actual brand.For the case that the predicted label of the model is consistent with the natural label, we assign a smaller weight; For the case that the prediction is inconsistent with the actual brand, a more significant weight is transferred.

36The formula for calculating the weight is as follows:

37Such weight design aims to strengthen the model's attention to the prediction error samples to pay more attention to correcting errors in the training process and improve the generalization performance of the model.In this way, we expect to introduce a sample-related trade-off in the model's training to optimize the model's learning process.

38C (p max ) represents the prediction label of the student model for the i-th sample, and C i represents the actual label of the i-th sample.p max represents the probability of predicting the label for the ith example, W L is the weight assigned before the loss of the correctly predicted sample, and W H is the weight given to the loss of the incorrectly predicted sample.The final supervision loss is as follows:

39Similarly, this paper adopts a double uncertainty weighting technique in the unsupervised part of unlabeled samples to weigh the original unsupervised losses.As shown in Fig 5, the processing method of each unlabeled example in this paper is as follows: First, each unlabeled sample is predicted by the student model and the teacher model, respectively, and two groups of predicted values are obtained.Then, compare the deals of these two groups of predicted values.If the two sets of predicted values are consistent, we assign a lower weight, W L , to the loss of the sample; Conversely, if the predicted values are inconsistent, we post a higher weight, W H .The specific weight calculation formula is as follows:

40Such weight design aims to emphasize those samples with uncertainties in model prediction, especially when there are differences between the student and teacher models.In this way, we expect the model to pay more attention to those uncertain samples, thus improving the robustness and generalization performance of the model.

41Where p Sm represents the probability that the student model predicts the label for the i-th sample, and C (p Sm ) and C (p Tm ) represent the prediction labels of the student model and the teacher model for the i-th unlabeled sample, respectively.The final unsupervised loss formula is as follows:

42Adopting the above methods makes the model more robust and can better cope with noise and abnormal situations.In addition, for semi-supervised learning scenarios, these strategies can also strengthen the model's generalization ability and make it better adapt to the characteristics of unlabeled data, thus achieving better generalization performance.

IV. EXPERIMENT AND RESULT ANALYSIS

43This paper aimed at the existing fully supervised and semisupervised classification models of strip surface defects; a series of experiments were carried out on the NEU-CLS data set, which was widely verified, and the experimental results were deeply analyzed.We also compare the experimental results with several different models in detail to objectively evaluate the performance improvement effect of our proposed semi-supervised method.

A. DATA SET

44The NEU-CLS [49] data set used in this study was collected and produced by Northeastern University, containing 1800 images.These images are divided into six categories, rolled-in scale, patches, crazing, pitted surface, inclusion, and scratches, and each class has 300 images.As shown in Fig 1 , 119940 VOLUME 11, 2023 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.these images are 200×200 pixels.In this paper, the NEU-CLS data set is divided into training sets and test sets according to the ratio of 6:4 to facilitate the training and testing of the models involved later.The distribution of sample numbers in the NEU-CLS data set is shown in Table 1.

B. EXPERIMENTAL RESULTS

45In this paper, firstly, the training set in the NEU-CLS data set is divided into labeled and mixed samples (unlabeled and labeled samples) according to different proportions.Then, the traditional and semi-supervised models are trained using labeled and composite samples.Then, the classification accuracy of these two models is tested using the test set, and the performance comparison results are presented in Table 2.This experiment aims to verify the feasibility of introducing the semi-supervised learning idea in the strip steel surface defect classification task.

46By comparing the two models with the same proportion of labeled samples, we can observe the advantages of the semi-supervised training mode, which makes extra use of unlabeled samples, thus significantly improving the classification accuracy on the test set.In particular, when the label samples are incredibly scarce (only 5% of the total samples), the semi-supervised model performs well, and its classification accuracy on the test set is 11.19% higher than that of the fully supervised model.This result shows that combining semi-supervised and deep learning can achieve remarkable outcomes.

47In addition, because of the close relationship between the performance of the deep learning model and the number of samples in the training set, this paper proposes a brandnew image synthesis model based on DCGAN.This model is designed to generate additional examples of strip surface defects, aiming at expanding the training set and further optimizing the performance of the semi-supervised strip surface defect classification model.The generated sample is shown in Fig 6 . (c).

48By observing Fig 6, it is easy to find that the samples generated by the image synthesis model proposed in this paper are more realistic than those caused by DCGAN in detail.Especially in the types of defects such as inclusion, patches, pitted surface, and scratches, the artificially generated images perform well, which may be because these defects are relatively simple.However, in the complex defect types such as crazing and rolled-in scale, although the generated samples show the corresponding defect categories as a whole, the generation effect of the details is not as good as that of the actual samples, so it is difficult for the naked eye to identify them accurately.Overall, these examples reveal the potential advantages and disadvantages of the image synthesis model in defect detection, which provides a valuable reference for improving model performance and popularizing its application.

49To verify the effectiveness of applying the image synthesis model in the semi-supervised model, this paper selects different percentages of labeled samples from the training set as the initial labeled data set and uses these samples to train the image synthesis model to generate artificial samples to fill the remaining unlabeled data in the training set.Subsequently, we will use the labeled data with the percentage of R in the training set, the remaining unlabeled data in the training set, and k times unlabeled data generated by the image synthesis model to train the traditional semi-supervised model.Finally, we will use the test set to verify the classification accuracy of the semi-supervised model.Specifically, Table 3 shows the number of mixed data sets with different multiples k generated when the image synthesis model is trained using labeled samples with different ratios r.Table 4 shows that the accuracy of the semi-supervised model on the test set is generally improved by using the image synthesis model to expand the number of unlabeled samples.This fact proves that the artificial samples generated by the image synthesis model have the essential characteristics of each category, which helps assist the training process of the semi-supervised model.Specifically, when the number of artificial samples generated by the image synthesis model is k=1-5 times that of the total training set, the accuracy of the test set of the semi-supervised model is improved, especially when k=3 times; it usually reaches the highest classification accuracy.However, with the increase of expansion factor k, the model's performance begins to decline.This may be because the samples generated by the image synthesis model are fictitious and may contain noise in addition to practical information.With the increase in the proportion of generated samples, the semi-supervised model may also begin to learn this noise information, affecting its accurate discrimination of strip surface sample characteristics, thus leading to a decline in classification accuracy.In practical application, a feasible strategy is to label all samples first, then generate additional unlabeled samples using an image synthesis model, and finally improve the model's classification performance using a semi-supervised learning method.

50We set the number of artificial samples generated by the image synthesis model to k = 3 times the number of training samples.Then we trained our semi-supervised model with these expanded samples.Subsequently, we compared the performance of this model with the current three semisupervised methods in terms of accuracy on the test set.As shown in Table 5.It is evident that, in comparison with the other three models, our proposed semi-supervised model consistently exhibits the most impressive classification results.Specifically, when utilizing 25% of the training set as labeled data and the remaining 75% as unlabeled data, our method achieved a commendable accuracy of 92.87%.

51Table 6 shows the influence of the image synthesis model and the double uncertainty weighting method proposed in this study on strip steel's semi-supervised surface defect classification model.No matter what mixed sample ratio is used to train the model, compared with the traditional semisupervised model, the image synthesis model, and the double uncertainty weighting method can significantly improve the model's classification accuracy on the test set.

52Fig 7 shows the best and worst classification results of the semi-supervised strip surface defect classification model in this paper on the test set.It can be observed from the figure that the model presents a satisfactory performance in the classification of samples, such as patches and scratches.However, the model's results differ in the category of pieces, such as rolled-in scale and inclusion.This may be because the characteristics of defect samples, such as iron scales and inclusions, are relatively small and similar.This further shows that our semi-supervised model still has room for improvement in classification performance.

53We used different proportions of labeled samples for training in the experiment to further verify the effectiveness of the image synthesis model proposed in this paper and its accompanying uncertainty weighting technology.We compared the experimental results with the results of previous complete supervision methods.The detailed data are presented in Table 7.It is particularly noteworthy that no matter how much-labeled data we use to train the fully supervised model, after applying the image synthesis model and uncertainty weighting technology proposed in this paper, the accuracy of the obtained model is significantly higher than other models, and the improvement range is between 1% and 2%.This series of experimental results strongly verify the effectiveness of the image synthesis model and uncertainty weighting technology proposed in this paper and confirm its robustness under different training data ratios.

V. DISCUSSION

54Although the semi-supervised deep learning model designed in this paper is excellent in classifying strip surface defect data sets, many problems still need further study and improvement.Firstly, given the characteristics of the strip surface defect data set, this paper adopts a relatively simple ResNet network as the backbone network, so it is necessary to explore the application effect of choosing other network models as the backbone network.In addition, regarding the influence of sample expansion, although this paper mentioned that it may affect the training time of the network, the experimental part did not compare and analyze it in detail, which is also an aspect that needs further study.More crucially, if we intend to apply the model directly to the strip processing line, we need to consider whether the classification effect of the model will be affected in different environments and harsh conditions and whether it will slow down the speed of defect classification.

55Future research should include the erection of actual hardware equipment, image transmission, labeling of samples by operators, model training, and new defect image classification and detection.These works will help to realize the rapid application and further optimization of the model to meet the needs of actual industrial scenes.

VI. CONCLUSION

56In recent years, due to the rapid development of deep learning technology and the emergence of large-scale data sets, the semi-supervised deep learning method has made notable achievements in image classification.This study explores the application of semi-supervised deep learning technology in solving the image classification problem of strip surface defects.At present, the task of image classification of strip surface defects faces multiple challenges:

57• The total number of samples in the existing strip surface defect data set is small; most are samples without labels.

58• The speed of manual data marking is limited, and the noise problem is often introduced in the marking process.

59• The existing strip surface defects classification model needs more robustness and generalization ability.This paper proposes a new semi-supervised surface defect classification model of strip steel, which aims to effectively deal with the model's poor performance caused by the limited number of labeled samples.Specifically, this study suggests a new image synthesis model, which ensures that the generated false examples are more realistic by improving the loss function of the discriminator.At the same time, this study also proposes a double uncertainty weighting technique, which can allocate loss weight to each misclassified sample more finely, thus realizing fine adjustment of the model.This method can not only mine the potential feature information in unlabeled samples more comprehensively but also further improve the performance and generalization ability of the model.We have carried out experiments on the data set of NEU-CLS, and through the in-depth analysis of the experimental results, the effectiveness of our method is fully proven.This study provides a new approach to solving the image classification problem of strip surface defects.In the future, we should test the model in the strip processing line to understand the model's performance in different environments and harsh conditions.

FIGURE 1 .

60FIGURE 1. Examples of defects on the surface of strip steel during actual processing.

61, today's strip surface defect detection and classification technology can be summarized into the following two categories: Strip Steel Surface Defect Categorization Approaches based on traditional image processing technology and Strip Steel Surface Defect Categorization Approaches based on deep learning.

FIGURE 2 .

62FIGURE 2. The overall framework of the semi-supervised classification model for surface defects of strip steel.

63Fig 2, the training data of this paper's semisupervised strip surface defect classification model consists of actual training data and synthetic data generated by the image synthesis model.Its loss function comprises the fully supervised loss L TC of labeled samples and the unsupervised loss L TU of unlabeled samples.More specifically, data set D = D L ∪D U for surface defects of strip steel includes N labeled data sets D L = x i , y i N i=1

FIGURE 3 .

64FIGURE 3. (a) The general framework of Deep Convolutional Generative Adversarial Networks (DCGAN).(b) The specific structure of the generator and discriminator.

FIGURE 4 .

65FIGURE 4. The double uncertain weighting method framework for supervised loss of labeled samples.

FIGURE 5 .

66FIGURE 5.The framework of using the double uncertain weighting method for unsupervised loss of unlabeled samples.

FIGURE 6 .

67FIGURE 6.(a) Real samples in NEU-CLS data set.(b) NEU-CLS samples generated by DCGAN.(c) NEU-CLS samples generated by image synthesis model.

TABLE 6 .

68Influence of image synthesis model (ISM) and double uncertainty weighting technology (DUW) on model classification accuracy.

FIGURE 7 .

69FIGURE 7. The semi-supervised classification model of strip surface defects predicts the best and worst classification results on some samples in the test set.

TABLE 1 .

70Number of samples for initial partition of NEU-CLS data set.

TABLE 2 .

71Accuracy of traditional supervised and semi-supervised models trained with different proportions of labeled and mixed samples on the test set.

TABLE 3 .

72The number of labeled and unlabeled samples under different labeled sample ratios r and different expansion multiples k.

TABLE 4 .

73Accuracy of traditional semi-supervised classification models with different labeled sample ratios r and expansion multiples k on test sets.

TABLE 5 .

74Accuracy of different semi-supervised strip surface defect classification models on the test set under the training of different proportions of labeled samples.

TABLE 7 .

75Accuracy of different fully supervised models on test sets under different labeled sample training proportions.

참고문헌 47건

  1. Random Forest and Rotation Forest for fully polarized SAR image classification using polarimetric and spatial features ISPRS Journal of Photogrammetry and Remote Sensing · Elsevier BV · 2015 10.1016/j.isprsjprs.2015.03.002
  2. Automatic detection technology of surface defects on plastic products based on machine vision International Conference on Mechanic Automation and Control Engineering · 2010 10.1109/mace.2010.5536470
  3. Development of new-concept desk top size machine tool International Journal of Machine Tools and Manufacture · Elsevier BV · 2004 10.1016/j.ijmachtools.2004.10.009
  4. kNN based image classification relying on local feature similarity 2010 10.1145/1862344.1862360
  5. Unsupervised word sense disambiguation rivaling supervised methods 1995 10.3115/981658.981684
  6. An End‐to‐End Steel Strip Surface Defects Recognition System Based on Convolutional Neural Networks steel research international · Wiley · 2016 10.1002/srin.201600068
  7. Research on segmentation method for silicon steel surface defect based on structure tensor and active contour Computer Engineering and Applications Journal · Sriwijaya University · 2012
  8. Actualities and Developing Trend Of Machine Vision Journal of Zhongyuan University of Technology · 2008
  9. Strip Surface Defect Image Classification Based on Double-limited and Supervised-connect Isomap Algorithm 2014
  10. Image segmentation for defect detection based on level set active contour combined with saliency map 2015 10.1109/sta.2015.7505146
  11. A Generic Deep-Learning-Based Approach for Automated Surface Inspection IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcyb.2017.2668395
  12. 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
  13. Steel Surface Defect Detection Using a New Haar–Weibull-Variance Model in Unsupervised Manner IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2017 10.1109/tim.2017.2712838
  14. 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
  15. Reduced Focal Loss: 1st Place Solution to xView object detection in Satellite Imagery arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1903.01347
  16. Temporal Ensembling for Semi-Supervised Learning arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1610.02242
  17. Semi-Supervised Learning with Ladder Networks 2015
  18. Mean teachers are better role models: Weight-averaged consistency\n targets improve semi-supervised deep learning results arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1703.01780
  19. Semi-supervised defect classification of steel surface based on multi-training and generative adversarial network Optics and Lasers in Engineering · Elsevier BV · 2019 10.1016/j.optlaseng.2019.06.020
  20. Focal Loss for Dense Object Detection 2017 10.1109/iccv.2017.324
  21. Realistic Evaluation of Deep Semi-Supervised Learning Algorithms arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1804.09170
  22. A semi-supervised convolutional neural network-based method for steel surface defect recognition Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2019 10.1016/j.rcim.2019.101825
  23. MixMatch: A Holistic Approach to Semi-Supervised Learning arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1905.02249
  24. Recognition of Voltage Sag Sources Based on Phase Space Reconstruction and Improved VGG Transfer Learning Entropy · Multidisciplinary Digital Publishing Institute · 2019 10.3390/e21100999
  25. Ancient Mural Classification Method Based on Improved AlexNet Network Studies in Conservation · Taylor & Francis · 2020 10.1080/00393630.2019.1706304
  26. Deformation behavior in multi-point forming using a strip steel pad Proceedings of the Institution of Mechanical Engineers Part C Journal of Mechanical Engineering Science · SAGE Publishing · 2020 10.1177/0954406219898233
  27. FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2001.07685
  28. DenseUNet: densely connected UNet for electron microscopy image segmentation IET Image Processing · Institution of Engineering and Technology · 2020 10.1049/iet-ipr.2019.1527
  29. MaskMitosis: a deep learning framework for fully supervised, weakly supervised, and unsupervised mitosis detection in histopathology images Medical & Biological Engineering & Computing · Springer Science+Business Media · 2020 10.1007/s11517-020-02175-z
  30. Automatic diagnosis of melanoma using hyperspectral data and GoogLeNet Skin Research and Technology · Wiley · 2020 10.1111/srt.12891
  31. A multi-stage semi-supervised learning approach for intelligent fault diagnosis of rolling bearing using data augmentation and metric learning Mechanical Systems and Signal Processing · Elsevier BV · 2020 10.1016/j.ymssp.2020.107043
  32. Image feature extraction based on improved FCN for UUV side-scan sonar Marine Geophysical Research · Springer Science+Business Media · 2020 10.1007/s11001-020-09417-7
  33. Synthetic data augmentation for surface defect detection and classification using deep learning Journal of Intelligent Manufacturing · Springer Science+Business Media · 2020 10.1007/s10845-020-01710-x
  34. Detecting pathological brain via ResNet and randomized neural networks Heliyon · Elsevier BV · 2020 10.1016/j.heliyon.2020.e05625
  35. Learning adaptive criteria weights for active semi-supervised learning Information Sciences · Elsevier BV · 2021 10.1016/j.ins.2021.01.045
  36. X-SDD: A New Benchmark for Hot Rolled Steel Strip Surface Defects Detection Symmetry · Multidisciplinary Digital Publishing Institute · 2021 10.3390/sym13040706
  37. Machine vision based condition monitoring and fault diagnosis of machine tools using information from machined surface texture: A review Mechanical Systems and Signal Processing · Elsevier BV · 2021 10.1016/j.ymssp.2021.108068
  38. Defect classification on limited labeled samples with multiscale feature fusion and semi-supervised learning Applied Intelligence · Springer Science+Business Media · 2021 10.1007/s10489-021-02917-y
  39. Surface Defect Classification of Steel Strip with Few Samples Based on Dual‐Stream Neural Network steel research international · Wiley · 2021 10.1002/srin.202100554
  40. Classification of Surface Defects on Steel Strip Images using Convolution Neural Network and Support Vector Machine Journal of Failure Analysis and Prevention · Springer Science+Business Media · 2022 10.1007/s11668-022-01344-6
  41. Hybrid Architecture Based on CNN and Transformer for Strip Steel Surface Defect Classification Electronics · Multidisciplinary Digital Publishing Institute · 2022 10.3390/electronics11081200
  42. A study of an improved RCNN network model for surface defect detection algorithm of precision workpiece and its realisation International Journal of Wireless and Mobile Computing · Inderscience Publishers · 2020 10.1504/ijwmc.2020.109275
  43. SVM binary classifier ensembles for image classification 2001 10.1145/502649.502652
  44. A Robust Completed Local Binary Pattern (RCLBP) for Surface Defect Detection 2022 IEEE International Conference on Systems, Man, and Cybernetics (SMC) · 2021 10.1109/smc52423.2021.9659140
  45. Surface Defect Detection of Strip-Steel Based on an Improved PP-YOLOE-m Detection Network Electronics · Multidisciplinary Digital Publishing Institute · 2022 10.3390/electronics11162603
  46. Coil shape defects prediction algorithm for hot strip rolling based on Siamese semi-supervised DAE-CNN model Assembly Automation · Emerald Publishing Limited · 2022 10.1108/aa-07-2022-0179
  47. A Semi-Supervised Method for Steel Surface Defect Detection Based on Soft-teacher Academic Journal of Computing & Information Science · Francis Academic Press Ltd. · 2023 10.25236/ajcis.2023.060302