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

Efficient and accurate semi-supervised semantic segmentation for industrial surface defects

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(11) 배리어 필름(12) 증착 필름

기본 정보

저자
  1. Chenbo Shi — Department of Artificial Intelligence, Suzhou Lamberv Intelligent Technology, Suzhou, 215000, China.|||College of Intelligent Equipment, Shandong University of Science and Technology, Taian, 271019, China.
  2. Kang Wang — College of Intelligent Equipment, Shandong University of Science and Technology, Taian, 271019, China.
  3. Guodong Zhang — Department of Artificial Intelligence, Suzhou Lamberv Intelligent Technology, Suzhou, 215000, China.
  4. Zelong Li — College of Intelligent Equipment, Shandong University of Science and Technology, Taian, 271019, China.
  5. Changsheng Zhu — College of Intelligent Equipment, Shandong University of Science and Technology, Taian, 271019, China. zcs@sdust.edu.cn.
DOI
10.1038/s41598-024-72579-6
저널
Scientific Reports
발행년도
2024
발행기관
Nature Portfolio
피인용수
2
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-024-72579-6
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4402645620

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (11) 배리어 필름, (12) 증착 필름
R&D 측면
물성·성능 평가
확신도
0.80
근거 용어
industrial surface defects, defect detection, semantic segmentation, quality inspection, machine vision
판단 근거
이 논문은 산업용 제품의 표면 결함을 딥러닝으로 검출하는 기술을 다루고 있습니다. 코오롱인더스트리의 직접적인 제품 연구는 아니지만, 제조 공정 중 필름, 섬유, 컴파운드 등 다양한 소재의 품질 관리(Quality Control) 및 외관 검사 자동화 시스템에 적용 가능한 기술입니다.
R&D 활용 포인트
필름(11, 12)의 표면 결함(스크래치, 이물질)이나 산업용 섬유/컴파운드(23) 제조 공정의 실시간 비전 검사 시스템 고도화에 활용 가능합니다.
평가 입력
본문 65,346자 중 30,032자 발췌

초록

Deep learning-based defect detection methods have gained widespread application in industrial quality inspection. However, limitations such as insufficient sample sizes, low data utilization, and issues with accuracy and speed persist. This paper proposes a semi-supervised semantic segmentation framework that addresses these challenges through perturbation invariance at both the image and feature space. The framework employs diverse perturbation cross-pseudo-supervision to reduce dependency on extensive labeled datasets. Our lightweight method incorporates edge pixel-level semantic information and shallow feature fusion to enhance real-time performance and improve the accuracy of defect edge detection and small target segmentation in industrial inspection. Experimental results demonstrate that the proposed method outperforms the current state-of-the-art (SOTA) semi-supervised semantic segmentation methods across various industrial scenarios. Specifically, our method achieves a mean Intersection over Union (mIoU) 3.11% higher than the SOTA method on our dataset and 4.39% higher on the public KolektorSDD dataset. Additionally, our semantic segmentation network matches the speed of the fastest network, U-net, while achieving a mIoU 2.99% higher than DeepLabv3Plus.

본문 65,346자

본문 펼치기
## OPEN # Efficient and accurate semi‑supervised semantic segmentation for industrial surface defects Chenbo Shi <sup>1,2</sup> , Kang Wang <sup>1</sup> , Guodong Zhang <sup>2</sup> , Zelong Li <sup>1</sup> & Changsheng Zhu <sup>1</sup> <sup>*</sup> Deep learning-based defect detection methods have gained widespread application in industrial quality inspection. However, limitations such as insufficient sample sizes, low data utilization, and issues with accuracy and speed persist. This paper proposes a semi-supervised semantic segmentation framework that addresses these challenges through perturbation invariance at both the image and feature space. The framework employs diverse perturbation cross-pseudo-supervision to reduce dependency on extensive labeled datasets. Our lightweight method incorporates edge pixel-level semantic information and shallow feature fusion to enhance real-time performance and improve the accuracy of defect edge detection and small target segmentation in industrial inspection. Experimental results demonstrate that the proposed method outperforms the current state-of-theart (SOTA) semi-supervised semantic segmentation methods across various industrial scenarios. Specifically, our method achieves a mean Intersection over Union (mIoU) 3.11% higher than the SOTA method on our dataset and 4.39% higher on the public KolektorSDD dataset. Additionally, our semantic segmentation network matches the speed of the fastest network, U-net, while achieving a mIoU 2.99% higher than DeepLabv3Plus. Keywords Semi-supervised learning, Segmentation, Industrial, Defect detection, Deep neural network Defect detection in industrial production is critical, as it can ensure product quality, reduce losses, and improve the competitiveness of enterprises. Most domestic enterprises have used defect detection systems based on machine vision to replace manual visual detection methods, thus improving detection efficiency. The traditional defect detection ­methods <sup>1,2</sup> rely on manually labeling images and then using the supervised learning ­algorithm <sup>3</sup> for training and detection. However, the method has its shortcomings. First, manual labeling is time-consuming and laborious, especially for large-scale industrial scenarios with enormous workloads. Secondly, due to the complexity and variety of industrial scenarios, the traditional supervised learning algorithm often finds it more accessible to achieve good detection results with sufficient labeled data. Unsupervised ­learning <sup>4–6</sup> can directly use unlabeled samples to cluster the model, among which the K nearest neighbor ­method <sup>7</sup> is a classic unsupervised learning method. Still, its effect differs significantly from that of the supervised learning method. Therefore, it is of great theoretical significance and practical application value to research semi-supervised semantic segmentation defect detection. Semi-supervised semantic segmentation enables the model to extract meaningful supervision from unlabeled data, supplementing the training provided by labeled data. This approach improves the accuracy and efficiency of defect detection by leveraging information from both labeled and unlabeled data. Currently, researchers have made some progress in the field of semi-supervised semantic segmentation defect detection. For example, the reconstruction model based on automatic encoder (AE) <sup>8</sup> or generating countermeasure network (GAN) <sup>9</sup> aims to reconstruct the standard image with minimum error and locate the anomalies according to the reconstruction error. Due to the strong generalization ability of the convolutional neural network CNN, abnormal regions may also be reconstructed correctly in the reasoning stage, which violates the basic assumptions of the reconstruction ­model <sup>10</sup> . In recent years, the method based on embedding has shown better defect detection performance than the method based on reconstruction. At present, the standard semi-supervised models are mainly self-training and 1College of Intelligent Equipment, Shandong University of Science and Technology, Taian 271019, China. <sup>2</sup> Department of Artificial Intelligence, Suzhou Lamberv Intelligent Technology, Suzhou 215000, China. <sup>*</sup> email: zcs@sdust.edu.cn consistency learning. Self-training generates pseudo-labels for unlabeled data based on the knowledge from labeled samples. The model is then retrained using the combined data to improve its generalization. Noisy ­Student <sup>11</sup> is a robust self-training scheme, but multiple training rounds will introduce confirmation bias issues. ­Fixmatch <sup>12</sup> uses the idea of consistency learning and adopts the consistency strategy from weak to strong, in which pseudo-labels are generated by weak enhancement samples and used to supervise the counterparts with solid enhancement. Subsequent work proposed complex pseudo-tag filtering strategies, including later methods such as ­Fixmatch <sup>12</sup> and ­Unimatch <sup>13</sup>, all hybrid methods based on robust and weak perturbation consistency learning, and made different improvements. Defect detection is a special case of object detection in general and scale problem lies in the heart of every object detection. DSMSA-Net <sup>14</sup> is an encoder-decoder network that integrates attention modules to address the road segmentation task on high-resolution satellite imagery. The encoder extracts multi-scale features from different convolutional layers, while the decoder includes a Scale Attention Unit (SaAU) that leverages feature maps from different residual blocks in the encoder to capture multi-scale information, and a Spatial Attention Unit (SpAU) that enhances the spatial representation of the regions of interest and extracts meaningful contextual information. This work on DSMSA-Net <sup>14</sup> provides an important reference for addressing the multi-scale problem in defect detection. However, most of the current research focused on the task of image classification and semantic segmentation itself. The research on semi-supervised semantic segmentation defect detection in industrial scenarios was relatively few, and the technology needed to be more mature; for example, it was challenging to segment the defects of tiny targets accurately-the edge segmentation accuracy of slender defects needed more. The model has many large-scale parameters, which leads to unfavorable industrial scenarios. To sum up, this paper has the following main contributions: - The semi-supervised semantic segmentation model increases the disturbance of feature space and executes cross pseudo-supervision in parallel within the image-level. - Lightweight attention module and Shallow feature fusion improve detection speed and segmentation accuracy. - Dynamic threshold strategy generates more reliable pseudo labels. - Constructs the datasets of five scenarios: dirty bottom, broken bottle body, foreign body in noodles, folded label, and broken egg case, which provides a research basis for semi-supervised industrial defect detection. Related work Semi‑supervised learning framework Defects in industrial scenarios are usually diverse and complex, and there may be factors such as illumination change, angle change, size deviation, occlusion, and ­interference <sup>15</sup> . Disturbance of the feature space can make the model tolerant to the absence of certain features, thus improving its robustness. Even when some features are missing or the input data is noisy, the model can still perform well. In addition, different feature subset combinations can be introduced through a part of the feature channels of random dropout, which is helpful for the model to learn more abundant feature representations, reducing the situation of missed detection and false detection, and thus improving the efficiency of the production line and product quality. Moreover, to meet thehigh-efficiency requirements in industrial scenarios, the random deletion of feature channels can reduce parameters and calculations of the model and improve the efficiency of training and reasoning. In deep neural networks, reducing the number of feature channels can reduce calculation and speed up training. Therefore, in order to comprehensively improve the performance and generalization ability of the model, this paper proposes a new Two-Branch Perturbation Cross Pseudo ­Supervision <sup>16–18</sup> model, from now on referred to as TPcps, which perturbs the input image at the image-level. One branch is added to disturb the image feature space strongly. The prediction results of the two branches tend to be consistent, as shown in Fig. 1. Specifically, the method proposed obtains the prediction results after the labeled images are directly sent into the model and use the cross entropy loss function (CEloss) as a constraint ( pi is the grand truth, and qi is the prediction value). The cross-entropy loss function is defined as follows: Lsup = − <sup><u>1</u></sup> - W ×1 H - pi log qi (1) x∈D <sup>l</sup> i=0 <u>��Dl��</u> W×H i=0 pi log qi x∈D <sup>l</sup> <u>1</u> W × H For unlabeled images, they will enter the model through two branches. The first branch is to disturb the unlabeled images at the image-level: The disturbance methods include random geometric data enhancement: rotation, translation, and shearing. Disturbance methods also include non-geometric data enhancement, such as flipping, cropping, and re-sizing. Noise Injection and random image erasure are injected. Even small perturbations in the pixel space can generate substantial noise in the feature maps after propagation through multiple layers of the network, causing the model to acquire incorrect information and diminishing the efficiency of model learning, The second branch disturbs the image at the feature-level and randomly drips the features at the channel dimension. Two branches generate two prediction results, each other’s pseudo-labels. They are constrained by the cross pseudo-supervised loss function, so the enhanced inputs at different levels tend to have the same prediction results. The cross pseudo-supervised loss function is defined as follows: <u>1</u> <u>1</u> Lpseudo = |D <sup>u</sup> | - W × H - (ℓce(qi, li <sup>∗) + ℓce(q</sup> i <sup>∗, li))</sup> (2) W×H i=0 x∈D <sup>u</sup> <u>1</u> W × H (ℓce(qi, li <sup>∗</sup> li <sup>∗) + ℓce(q</sup> i <sup>∗</sup> i <sup>∗, li))</sup> The final total loss is the sum of supervised loss and unsupervised loss, as shown in Eq. (3). Grand Truth Labeled Data <u>Perturbation</u> Unlabeled Data Segmentation Network Predicted Score of Pixels Label Supervised Pseudo-label Supervised Inference Map Fig. 1. Semi-supervised learning framework. −L = Lsup + Lpseudo (3) where D <sup>l</sup> is the labeled dataset given with a size of N, D <sup>u</sup> is an unlabeled dataset with a size of M. W and H are the width and height of the input image. At each position _i_, qi and qi <sup>∗ are the prediction values of the first and second</sup> width and height of the input image. At each position _i_, qi and qi <sup>∗ are the prediction values of the first and second</sup> branches, respectively. The label vector li ( li <sup>∗ ) is a one-hot vector computed from qi ( q</sup> i <sup>∗ ). The model structure</sup> branches, respectively. The label vector li ( li <sup>∗ ) is a one-hot vector computed from qi ( q</sup> i <sup>∗ ). The model structure</sup> combines self-training and consistency learning so that the model can better use a small amount of labeled defect data in industrial scenarios, improving data utilization and enhancing model performance. Segmentation model and network improvement _Model architecture_ Due to the scene’s and data’s inherent properties, the industrial defect target is weak and difficult to detect, with unclear boundaries between different defect categories, requiring high-speed detection in industrial settings. In this paper, a new network structure of DeepLabv3Plus+Simplified MobileNetv2 is designed, which inherits the advantages of ­DeepLabv3Plus <sup>19</sup> . Using dilated convolution and multi-scale information fusion technology, the new network can effectively capture the semantic information and detailed features in the image. At the same time, the the network’s speed of training and reasoning is improved by combining MobileNetv2 lightweight network. The segmentation accuracy of small targets and defects is improved by combining the ECA ­module <sup>12</sup> and the attention module, as shown in Fig. 2. The backbone network Xception model of DeepLabv3Plus has many parameters, extended training and prediction times, and cannot meet industrial needs. Replacing the original backbone network with a modified lightweight backbone network MobileNetv2, which is driven by its efficiency, lightweight architecture, scalability, accuracy, and transfer learning capabilities, effectively reduces the number of model parameters and training time while improving prediction speed and makes it well-suited for resource-constrained environments. In order to improve the resolution of the final output feature map, the fifth and seventh layer modules are changed from the original stride size 2 to stride size 1. At this time, the output resolution of the feature map of the improved MobileNetv2 network is four times higher than that of the original MobileNetv2 network, which is 1/8 of the input image and can retain more detailed information in the feature map. After the 8th floor, the number of channels of the original MobileNetv2 increased to 1280, and the number of parameters significantly increased. Prune the original MobileNetv2 network and discard the last three layers for classification. The specific networks before and after modification are shown in Tables 1 and 2. Operators are different network module layers; Input is the size of the input feature map; C is the number of output channels of the feature map, and n is the number of times the module of this layer is used; S is the convolution step size. i <sup>∗ ) is a one-hot vector computed from qi ( q</sup> i <sup>∗</sup> Segmentation model and network improvement _Model architecture_ Due to the scene’s and data’s inherent properties, the industrial defect target is weak and difficult to detect, with unclear boundaries between different defect categories, requiring high-speed detection in industrial settings. In this paper, a new network structure of DeepLabv3Plus+Simplified MobileNetv2 is designed, which inherits the advantages of ­DeepLabv3Plus <sup>19</sup> . Using dilated convolution and multi-scale information fusion technology, the new network can effectively capture the semantic information and detailed features in the image. At the same time, the the network’s speed of training and reasoning is improved by combining MobileNetv2 lightweight network. The segmentation accuracy of small targets and defects is improved by combining the ECA ­module <sup>12</sup> and the attention module, as shown in Fig. 2. _Lightweight attention module_ The semantic segmentation model designs a lightweight attention mechanism module after dilated convolution, aiming at improving the model’s attention to critical ­areas <sup>20</sup>, thus effectively extracting defective parts and reducing information ­duplication <sup>21</sup> . ­CBAM <sup>22</sup> uses the fully connected layer to map features when calculating the generated channel attention, but the calculation amount of the fully connected layer is enormous. In the spatial attention module, to aggregate broader spatial context features, a 7 × 7 large receptive field convolution kernel is used to aggregate spatial features, increasing the receptive field and the parameters of the module, which significantly limits the application of the module in industrial scenarios. In order to solve this problem, this paper designs a one-dimensional convolution operation to aggregate the channel features of one-dimensional channel attention. As shown in Fig. 3, the size of a one-dimensional convolution kernel is the number of channels in the aggregation neighborhood. Due to the parameter-sharing Encode 1�1Conv 3�3Conv Simplified mobilenetv2 LAM 1�1Conv S=1 Input L ↓ 3�3Conv ECA M ↓ SFF 3�3Conv 3�3Conv Image Pooling Upsample Decode Predict L ↓ 1�1Conv Concat 3�3Conv Upsample : Low-level Features M↓ : Middle-level Features Upsample : Upsampling ECA : Efficient Channel Attention LAM : Lightweigth Attention Module Fig. 2. Structure diagram of the semantic segmentation model. <u>Layers</u> <u>Input</u> <u>Operator</u> <u>c</u> <u>n</u> <u>s</u> <u>1</u> <u>224 × 224 × 3</u> <u>Conv2d</u> <u>32</u> <u>1</u> <u>2</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>5</u> <u>28 × 28 × 32</u> <u>Bottleneck</u> <u>64</u> <u>4</u> <u>2</u> <u>6</u> <u>14 × 14 × 64</u> <u>Bottleneck</u> <u>96</u> <u>3</u> <u>1</u> <u>7</u> <u>14 × 14 × 96</u> <u>Bottleneck</u> <u>160</u> <u>3</u> <u>2</u> <u>8</u> <u>7 × 7 × 160</u> <u>Bottleneck</u> <u>320</u> <u>1</u> <u>1</u> <u>9</u> <u>7 × 7 × 320</u> <u>Conv2d 1 × 1</u> <u>1280</u> <u>1</u> <u>1</u> <u>10</u> <u>7 × 7 × 1280</u> <u>Avgpool7 × 7</u> <u>–</u> <u>1</u> <u>–</u> <u>11</u> <u>1 × 1 × 1280</u> <u>Conv2d 1 × 1</u> <u>N</u> <u>–</u> <u>–</u> Table 1. Original MobileNetv2 network structure. <u>Layers</u> <u>Input</u> <u>Operator</u> <u>c</u> <u>n</u> <u>s</u> <u>1</u> <u>224 × 224 × 3</u> <u>Conv2d</u> <u>32</u> <u>1</u> <u>2</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>–</u> <u>5</u> <u>28 × 28 × 32</u> <u>Bottleneck</u> <u>64</u> <u>4</u> <u>1</u> <u>6</u> <u>28 × 28 × 64</u> <u>Bottleneck</u> <u>96</u> <u>3</u> <u>1</u> <u>7</u> <u>28 × 28 × 96</u> <u>Bottleneck</u> <u>160</u> <u>3</u> <u>1</u> <u>8</u> <u>28 × 28 × 160</u> <u>Bottleneck</u> <u>320</u> <u>1</u> <u>1</u> Table 2. Improved MobileNetv2 network structure. nature of convolution operation, introducing one-dimensional convolution reduces the parameter quantity of the channel attention module to a constant level. For spatial attention, this paper uses dilated convolution to aggregate the spatial features of two-dimensional spatial attention; this dramatically reduces the number of module parameters in the same size receptive field. The specific operation is executed as follows: Global mean pooling and maximum pooling operations are used to aggregate the spatial information of feature mapping. One-dimensional convolution with convolution kernel length k is used to aggregate the information of k channels in the neighborhood of the channel. Add the two convolved features element-wise, generate channel attention CF ∈ R <sup>1×H×W</sup> through Sigmoid function operation, Fig. 3. Schematic diagram of attention mechanism. then broadcast and expand the generated channel attention along the two spatial dimensions to R <sup>C×H×W</sup>, and multiply it with the input feature map by the corresponding elements to obtain the injected channel attention feature map. The specific channel attention calculation process is defined as follows: f1 <sup>k</sup> D <sup>AvgPool(F) + f</sup> 1 <sup>k</sup> D <sup>MaxPool(F))</sup> CF =sig(f1 <sup>k</sup> D <sup>AvgPool(F) + f</sup> 1 <sup>k</sup> D <sup>MaxPool(F))</sup> (4) =sig(f1 <sup>k</sup> f1 <sup>k</sup> D <sup>F</sup> avg <sup>c</sup> <sup>+ f k</sup> 1 <sup>k</sup> 1D <sup>F</sup> max <sup>c</sup> <sup>)</sup> Here, sig denotes the Sigmoid function, and f1 <sup>k</sup> D <sup>represents the one-dimensional convolution operation with a</sup> kernel size of k. odd ���� <u>1bC</u> + <sup><u>1</u></sup> 2 2 ���� k = + <sup><u>1</u></sup> (5) 2 The calculation of the k ­value <sup>23</sup> is shown in Eq. (5), where c represents the number of channels of the input feature map, and |t|odd represents the odd number closest to t. Similarly, effective spatial feature descriptors Favg <sup>s</sup> <sup>and F</sup> max <sup>s</sup> <sup>are generated in spatial attention. Then, dilated</sup> convolution is used to encode and map the regional information that needs to be emphasized or suppressed in space, and spazzzzxtial context information is aggregated more efficiently. Finally, these weights are multiplied with the original input feature map, and after convolution, deep features containing multi-scale context information are generated. Finally, the shallow features and deep features are combined by the concat part to realize the accurate segmentation of the defective part. The calculation process of spatial attention is defined as follows: Similarly, effective spatial feature descriptors F <sup>s</sup> avg <sup>s</sup> <sup>and Fs</sup> SF =sig(fdilat <sup>3×3</sup> [AvgPool(F); MaxPool(F)] ) - (6) �[AvgPool(F); MaxPool(F)] dilat �) �� =sig �fdilat <sup>3×3</sup> dilat �[F <sup>s</sup> avg <sup>s</sup> <sup>; Fs</sup> max <sup>s</sup> <sup>]</sup> Among them, fdilat <sup>3×3 represents the dilated convolution with a convolution kernel size of 3, and the experiment uses</sup> a hole rate of 2. The model can focus more on essential regions within the image by introducing lightweight attention modules, reducing attention to irrelevant information. This enhancement improves both the efficiency and accuracy of detection. It allows the model to better adapt to various environments and conditions in industrial scenarios, enabling it to handle the complexities of industrial production lines more effectively. These complexities include variations in lighting, angles, and backgrounds. As a result, the model’s generalization capability and practical application value are significantly improved. Figure 4 compares the heatmaps before and after the lightweight attention modules were added. _Shallow feature fusion_ The traditional DeepLabv3Plus model does not thoroughly combine the shallow feature map in the decoding part, and the extracted local details need to be more prosperous, making the whole model’s prediction result inaccurate. In order to solve this problem, this paper uses the idea of a feature pyramid and ­ECA <sup>24</sup> to add a 1/2 size feature map based on applying a 1/4 size feature map. As shown in Fig. 5, shallow and middle features have higher resolution and show different details such as color, texture, and ­edge <sup>25</sup> . The resolution of deep features is low, but it shows more robust high-level semantic information. In order to reduce the loss of details in the process of downsampling the deep features, the shallow features output by the backbone network are downsampled and fused with the middle features to obtain more detailed features of the image(SFF). The number of channels is adjusted by convolution, ReLU activation function, and regularization operation to prevent too much low-level semantic information affecting the expression of deep semantic information, effectively improving the accuracy of small target segmentation with few parameters. The specific operation is shown on the right in Fig. 5. A and B are the feature maps generated when the coding part is down-sampled, with the size of 1/2 and 1/4, respectively. The number of channels is 16 and 24, respectively. Feature map A obtains feature map C after passing through an inflated convolution block with a convolution kernel size of 3, step size of 2, and void ratio of 2. C is 1/4 of the input feature map, using the expansion convolution to expand the receptive field while removing noise using the ECA module to learn more useful feature Input Mask Before After Fig. 4. Effects of adding lightweight attention modules. Fig. 5. Structure of shallow feature fusion. information. D is the feature map after the ECA module. C and D are spliced to obtain E, and E downsized the number of channels by utilizing a 1x1 convolutional block, which results in obtaining a new feature map. The feature map output by the ASPP module is spliced with the feature map obtained after 1 × 1 convolution block and four times up-sampling. The output result of the model’s prediction is obtained by using a 3 × 3 convolutional block once and then upsampling four times on the concatenated feature map. _Dynamic threshold strategy_ A dynamic threshold strategy is proposed to prevent the double-branch model from simultaneously generating the same false ­label <sup>12,19,26</sup> . Generating false labels leads to the TPcps model learning the wrong label information, thus reducing the detection accuracy. Our method selects reliable data according to pseudo-labels’ stability in the first training stage. The method reduces the selection criteria of pseudo-tags because the model does not learn compelling features, and the prediction results are not accurate enough, so the selection criteria of high threshold pseudo-tags are not applicable. As the model learns the discriminating characteristics of data, the model improves the detection threshold according to the feedback of the effect evaluation index, subdivides the defect edge, and further improves the semantic segmentation accuracy. Experiments show that the dynamic threshold method effectively solves the problem of the double-branch model generating false labels simultaneously, making pseudo labels more reliable. The dynamic threshold strategy first needs to evaluate the model’s training effect at a particular moment. This paper proposes an effective learning effect evaluation index and dynamically adjusts the strategy accordingly. Specifically, the learning effect of a defect category is determined by a score, and St represents the learning effect of the defect at time t, as shown in Eq. (7). Before model training, a fixed threshold τ is set, and the expression of learning performance is as follows: N n=1 St = - 1�arg�max�pm,t �y|un�� = c� - �max�pm,t �y|un�� - τ �� (7) �� = c - - �max �pm,t �y|un �� - τ �� 1�arg �max �pm,t �y|un For all samples belonging to a particular defect category ’c,’ the model estimates the number of instances where the predicted score for that defect category exceeds a fixed threshold. In the normalization process, a dynamic threshold strategy is also employed. In the early stages of the model, where there is a high number of undetermined samples, N - �cσt plays a dominant role. However, in the later stages of model training, as most samples have been selected at least once, the denominator becomes the maximum value among all estimated learning effects for each class, denoted as maxSt . The normalization is defined as follows: <u>St</u> (c) Normt = (8) max�maxSt, N - <sup><u>�</u></sup> c <sup>σt</sup> <u>�</u> <u>�maxSt</u>, N - <sup><u>�</u></sup> c <sup>σt</sup> <u>�</u> The final threshold is determined as shown in Eq. (9). By combining the threshold preheating method, the dynamic threshold strategy, and the ingenious normalization method, the learning effect of the classification with the best prediction accuracy is 1. After applying the Eq. (9), its threshold becomes τ, and at this time, it has reached the upper limit of the dynamic threshold. τt (c) = βt (c)·τ (9) Experiment Datasets Firstly, the defects in industrial scenarios are classified, and datasets are made according to the characteristics of each category and the existing industrial inspection problems. The first type is an additional anomaly: dirt, foreign matter, and adhesion. For this scenario, we designed the Bottle Bottom Spoils and Noodles Adhesion Detection.The second type is loss anomaly: incomplete, scratched, and broken. For this scenario,we designed for bottle breakage and poultry egg case breakage detection.The third is to replace the anomalies: mixed color, different color, impurities, and confusion. For this scenario, we designed the detection of black spots, impurities, and discoloration in noodles. The fourth is abnormal deformation: distortion, crease, and fold. For this scenario, we designed bottle label distortion and fold detection. The specific data of each category are shown in Table 3. Table 3. Description of industrial defect categories. <sup>1</sup> Additional: Dirty, foreign matter, adhesion. <sup>2</sup> Loss: Incomplete, scratched and damaged. <sup>3</sup> Replacement: mixed color, different color, impurity, confusion. 4 Deformation: distortion, size, wrinkle. In this experiment, five scene datasets are designed, including simple and complex scenarios, and the defect types include binary classification and multi-classification situations. Specifically, the contents of each dataset are shown in the following Table 4. The label tool is used to mark the defects in the defective samples. The marked samples participating in the training account for 1/2, 1/4, 1/8, and 1/16 of the total training set, respectively, and the rest of the samples enter the unlabeled branch training model as unlabeled images. Experimental environment and benchmark experiment This paper’sa method uses the Ubuntu 22.04.1 operating system, with a GeForce RTX 3090 GPU and a 12th Gen Intel (R) Core (TM) i7-12700k CPU. The spec details are shown in Table 5. In the training stage, parallel and distributed training strategies based on the PyTorch framework are adopted in the experiment. According to the specific configuration of the experimental environment and available GPU resources, different data-parallel strategies are adopted to optimize the training efficiency. The model can use multiple GPUs to process batch data in parallel, thus speeding up the training process, calculating forward and backward propagation in parallel, and finally synchronizing and updating the model parameters on the primary device. As for the implementation details, this paper uses an SGD optimizer and polynomial learning rate scheduler with a momentum of 0.9, and the initial learning rate is 0.001. At the same time, with the increase in training rounds, the learning rate is dynamically adjusted, and the initial prediction threshold is set to 0.9. Random data enhancement within the scale of [0.5, 2.0] is adopted for image-level disturbances, which is realized by a random combination of geometric disturbances, non-geometric disturbances, and image erasure. Comparative experiment _Comparison between self‑built datasets and mainstream semi‑supervised methods_ In the context of semi-supervised semantic segmentation for defect detection, challenges such as low contrast and background noise significantly impact model performance. Low-contrast images often conceal defects that fuse with the background, rendering traditional segmentation methods ineffective. To address this, this paper employs multi-scale feature fusion capable of capturing rich contextual information. For instance, in images of Label Folds with minimal colour differentiation, conventional methods struggle, whereas our network enhances feature maps to identify subtle structural variations, as shown in Fig. 6a. Similarly, background noise can mislead the model by introducing irrelevant features. For instance, in the Broken Egg Shell dataset, the cracks in the egg shells are affected by the intrinsic patterns and spots on the eggs. We mitigate this issue by incorporating attention mechanisms that allow the model to focus on critical defects while disregarding noise. Additionally, data augmentation and multi-task learning strategies further enhance the model’s robustness against background interferences. Together, these methodologies not only improve the accuracy of defect detection but also provide a pathway for future advancements in this domain. as shown in Fig. 6b. This paper compares the above industrial datasets with the SOTA method of semi-supervised learning in recent years. We evaluated several key xmetrics, including Intersection over mIoU, F1 score, and pixel accuracy. The performance metrics are summarized in Table 6. In images with low contrast, such as Label Folds, our framework demonstrated superior capabilities in identifying defects compared to AugSeg and DGCL. The attention mechanism helped isolate the defects from the noisy backgrounds, resulting in clearer segmentations. As shown in Fig. 6. In the Broken Egg Shell dataset, the cracks in the eggshells are affected by the intrinsic patterns <u>Data</u> <u>Total</u> <u>Size</u> <u>Image format</u> <u>Dirty Battle Bottom</u> <u>379</u> <u>1408 × 1152</u> <u>Gray Scale image</u> <u>Broken Egg Shell</u> <u>3436</u> <u>512 × 512</u> <u>Color image</u> <u>Broken Bottle</u> <u>900</u> <u>1600 × 1024</u> <u>Gray Scale image</u> <u>Noodles</u> <u>7483</u> <u>512 × 512</u> <u>Color image</u> <u>Label Folds</u> <u>2176</u> <u>608 × 608</u> <u>Gray Scale image</u> Table 4. DataSet description. <u>Environmental properties</u> <u>Content</u> <u>Operating System</u> <u>Ubuntu 22.04.1</u> <u>CPU</u> <u>12th Gen Intel(R) Core(TM) i7</u> <u>GPU</u> <u>GeForce RTX 3090</u> <u>Gpu Memory</u> <u>48G</u> <u>Programming language and version</u> <u>Python 3.7</u> <u>Deep learning framework</u> <u>Pytorch 1.10.1</u> <u>Programming environment</u> <u>PyCharm 2023.1.2</u> Table 5. Training and testing environment. Fig. 6. Low contrast and background noise. and spots on the eggs. Our proposed model outperforms other methods, as it successfully highlights the defects while minimizing the false positives related to background interference. Additionally, the method proposed in this paper also outperforms the SOTA methods in handling variations in lighting conditions, defect types, and background complexity. The proposed framework was further evaluated on the Noodles dataset, which contains three common defect types in noodle production: discolouration, foreign objects, and black spots, with significant variations in shape, texture, and visual characteristics. The Noodles dataset encompasses a wide range of illumination, from bright and uniform to dark and uneven. As shown in Fig. 7. The model demonstrated the ability to detect and segment this diverse range of defect types accurately and maintained high detection accuracy even under complex, non-uniform lighting conditions by focusing on the distinctive visual features of the defects themselves rather than solely relying on local brightness information, effectively generalizing to this diverse range of defects and suppressing background noise to reliably identify defect regions even in the presence of complex backgrounds, indicating the framework’s suitability for real-world noodle production defect detection scenarios. To further validate the robustness of our proposed framework, we conducted extensive experiments across diverse real-world scenarios and different datasets. We evaluated the model’s performance under varying lighting conditions, defect types, and background complexities. As shown in Fig. 8. (1/4 labelled data samples are used as the supervision part of training) It can be seen from Fig. 8 that the segmentation effect of this method is better in detail, such as small targets and edges, and edge segmentation is more straightforward.The proposed framework’s superior performance across these diverse datasets can be attributed to its ability to effectively capture the distinctive features of defects while suppressing irrelevant background information. The model’s architectural design and training strategies enable it to generalize well to various types of defects and environmental conditions, making it a promising solution for real-world industrial inspection tasks. However, the framework’s performance may degrade for certain extreme conditions, such as high-speed motion blur or severe occlusions, which could limit its applicability in some industrial scenarios. The second limitation is that the framework currently only handles 2D image data and cannot directly process 3D or multi-dimensional data. Future work could consider extending the framework to support more diverse data input forms. In addition to using 1/4 labeled data samples as the supervision part of training, this paper also uses 1/16, 1/8, and 1/2 labeled samples to carry out comparative experiments. The results are shown in Table 7. Table 7 shows the experimental comparison of eggshell breakage detection. The dataset contains 3,436 images, 2,500 of which are used for training models, and 1/16 of the dataset is set as labeled samples to enter the supervised learning branch. To better illustrate the significance of semi-supervised algorithms, we also report the results obtained solely using labelled images. Please refer to the SupOnly results in the first row under each model, where it is evident that the improvement provided by the semi-supervised algorithms over SupOnly is substantial. _Comparison between self‑built datasets and mainstream segmentation models_ In addition, this paper compares three network models with excellent semantic segmentation performance. Given the demand for defect detection efficiency in industrial scenarios, the experiment adds prediction speed and model parameter evaluation indicators to evaluate its algorithm performance comprehensively. The comparison results are shown in Table 8. The data in Table 8 shows that PSPNet+MobileNetv2 has advantages in speed and model parameters but relatively low semantic segmentation accuracy. In contrast, the proposed method, Modified DeepLabv3Plus+Simplified MobileNetv2, has a speed second only to PSPNet+MobileNetv2 and achieves the highest detection accuracy. Therefore, it offers a more robust overall performance and is more suitable for semantic segmentation defect detection tasks. Fig. 7. Noodles dataset defect detection. <u>Label folds</u> <u>Broken egg shell</u> <u>Method</u> <u>mIoU/%</u> <u>F1 score</u> <u>Pixel accuracy%</u> <u>mIoU/%</u> <u>F1 score</u> <u>Pixel accuracy%</u> <u>SupOnly</u> <u>65.1</u> <u>0.70</u> <u>80.5</u> <u>69.1</u> <u>0.72</u> <u>85.9</u> <u>Cps</u> <sup>16</sup> <u>67.3</u> <u>0.74</u> <u>84.7</u> <u>72.4</u> <u>0.77</u> <u>87.3</u> <u>AEL</u> <sup>22</sup> <u>67.1</u> <u>0.74</u> <u>84.9</u> <u>72.8</u> <u>0.78</u> <u>87.4</u> <u>ST++</u> <sup>27</sup> <u>70.5</u> <u>0.77</u> <u>86.8</u> <u>75.1</u> <u>0.80</u> <u>89.2</u> <u>U</u> <sup>2</sup> <u>PL</u> <sup>28</sup> <u>71.3</u> <u>0.78</u> <u>87.2</u> <u>76.2</u> <u>0.82</u> <u>89.6</u> <u>GAT-seg</u> <sup>29</sup> <u>70.8</u> <u>0.78</u> <u>86.9</u> <u>75.0</u> <u>0.79</u> <u>89.1</u> <u>CCVC</u> <sup>30</sup> <u>73.6</u> <u>0.80</u> <u>88.3</u> <u>77.7</u> <u>0.84</u> <u>90.5</u> <u>AugSeg</u> <sup>31</sup> <u>74.5</u> <u>0.81</u> <u>89.1</u> <u>78.3</u> <u>0.84</u> <u>91.0</u> <u>DGCL</u> <sup>32</sup> <u>75.0</u> <u>0.81</u> <u>90.0</u> <u>79.0</u> <u>0.85</u> <u>91.8</u> <u>Ours</u> <u>75.6</u> <u>0.82</u> <u>90.3</u> <u>80.2</u> <u>0.85</u> <u>92.1</u> Table 6. Performance metrics of the proposed framework compared to SOTA methods. _Comparison between public datasets and mainstream semi‑supervised methods_ In order to further verify the effectiveness of the proposed semi-supervised training strategy, we compared the proposed model with other SOTA methods of semi-supervised semantic segmentation models on public datasets. The samples are shown in Fig. 9. The dataset used in the experiment are defective electronic commutator images provided and annotated by Kolektor Group, as shown in Fig. 9. There are tiny damages or cracks on the surface of the plastic bag of the electronic commutator, and the dataset contains 399 pictures, including 52 images with visible defects,347 images without any defects. Fig. 8. Comparison effect diagram with SOTA method. <u>mIoU/%</u> <u>Method</u> <u>1/16(156)</u> <u>1/8(312)</u> <u>1/4(625)</u> <u>1/2(1250)</u> <u>SupOnly</u> <u>62.44</u> <u>63.12</u> <u>67.98</u> <u>73.10</u> <u>Cps</u> <sup>16</sup> <u>70.56</u> <u>71.32</u> <u>71.98</u> <u>75.44</u> <u>AEL</u> <sup>22</sup> <u>69.34</u> <u>74.34</u> <u>76.48</u> <u>76.56</u> <u>ST++</u> <sup>27</sup> <u>72.32</u> <u>75.14</u> <u>78.32</u> <u>80.11</u> <u>U</u> <sup>2</sup> <u>PL</u> <sup>28</sup> <u>69.64</u> <u>71.45</u> <u>73.46</u> <u>78.45</u> <u>GAT-seg</u> <sup>29</sup> <u>67.33</u> <u>68.45</u> <u>75.33</u> <u>78.65</u> <u>CCVC</u> <sup>30</sup> <u>75.12</u> <u>78.33</u> <u>78.95</u> <u>81.23</u> <u>AugSeg</u> <sup>31</sup> <u>74.53</u> <u>76.01</u> <u>78.65</u> <u>80.09</u> <u>DGCL</u> <sup>32</sup> <u>74.39</u> <u>78.54</u> <u>82.21</u> <u>86.49</u> <u>Ours</u> <u>77.78</u> <u>80.03</u> <u>83.32</u> <u>86.32</u> Table 7. Comparison results with the SOTA method. <u>Semantic Segmentation Model</u> <u>Backbone Network</u> <u>mIoU/%</u> <u>Speed/fps</u> <u>Parameter/MB</u> <u>UNet</u> <sup>33</sup> <u>VGG16</u> <u>76.97</u> <u>25.02</u> <u>81.24</u> <u>PSPNet</u> <sup>34</sup> <u>MobileNetv2</u> <u>62.54</u> <u>85.16</u> <u>8.48</u> <u>DeepLabv3Plus</u> <u>Xception</u> <u>76.61</u> <u>33.56</u> <u>78.53</u> <u>DeepLabv3Plus</u> <u>ResNet-50</u> <u>77.20</u> <u>40.04</u> <u>45.42</u> <u>Our DeepLabv3Plus</u> <u>Our MobileNetv2</u> <u>78.58</u> <u>64.59</u> <u>11.52</u> Table 8. Comparison results of different segmentation models. Fig. 9. Example of KolektorSDD dataset. One-quarter and one-half of the training set were used in the experiment as the supervised learning part (90/180 images) and the rest as an unsupervised learning part (360/180 images). The experimental results are shown in Table 9. In the public dataset KolektorSDD, our proposed method achieved the best results in experiments with both 1/4 labeled data and 1/2 labeled data. To further validate our method’s high real-time performance and efficiency in industrial scenarios, we conducted experiments on a large-scale dataset, Steel. The production process of steel is exact, involving multiple stages from heating and rolling to drying and ­cutting <sup>35</sup> . Several machines come into contact with steel during shipment preparation, leading to varying defects. Thus, high-performance and high-accuracy defect detection for steel is confirmed in industrial production. As shown in Fig. 10. This dataset is sourced from the Kaggle website, and all images are standardized to a resolution of 1600 × 256 pixels. The training set consists of 12,568 images, and the test set contains 5,506 images. Our method uses 1/4 of the training set as labeled data, while the remaining part is used as unlabeled data for model training. We conducted experiments using different network models, and the specific results are shown in Table 10. The proposed method based on the improved DeepLabv3Plus achieves the highest accuracy in the mIoU and mPA evaluation metrics, improving by 2.99% and 6.53% compared to the original method, and by 19.48% and 24.67% compared to U-Net. Regarding inference time and FPS, our method only lags behind U-Net by 0.42 ms and 2.36 fps. The inference time and frame rate are 47% and 2.1 times that of the original DeepLabv3Plus model. It also outperforms other mainstream semantic segmentation network models. Considering all four evaluation metrics, the improved DeepLabv3Plus semantic segmentation models demonstrate more robust overall performance on the Steel dataset. Furthermore, this paper assesses and compares GPU memory usage across different algorithms to provide insights into their practical deployment. The experiment was conducted using GPU chips (GeForce RTX 3090) with 10,496 CUDA cores and 24GB of memory. The batch size was fixed at 16, and the number of workers was set to 8. The GPU memory usage for different algorithms is shown in the Table 11: Ablation experiment In this paper, the model is improved according to the characteristics of different defects, and ablation experiments are conducted to prove the effectiveness of the improvement. As shown in Fig. 11, the defect detection effects under different improvement measures are presented, from which we can see that each step of improvement to <u>1/4(90)</u> <u>1/2(180)</u> <u>Method</u> <u>mPA/%</u> <u>mIoU/%</u> <u>mPA/%</u> <u>mIoU/%</u> <u>SupOnly</u> <u>67.19</u> <u>61.45</u> <u>68.98</u> <u>65.10</u> <u>Cps</u> <sup>16</sup> <u>73.23</u> <u>68.49</u> <u>77.54</u> <u>71.32</u> <u>AEL</u> <sup>22</sup> <u>75.85</u> <u>62.62</u> <u>72.32</u> <u>68.30</u> <u>ST++</u> <sup>27</sup> <u>76.44</u> <u>69.51</u> <u>82.43</u> <u>75.32</u> <u>U</u> <sup>2</sup> <u>PL</u> <sup>28</sup> <u>79.98</u> <u>71.31</u> <u>85.52</u> <u>73.48</u> <u>GAT-seg</u> <sup>29</sup> <u>81.69</u> <u>71.45</u> <u>88.36</u> <u>77.54</u> <u>CCVC</u> <sup>30</sup> <u>78.93</u> <u>69.62</u> <u>87.32</u> <u>78.99</u> <u>AugSeg</u> <sup>31</sup> <u>79.05</u> <u>70.06</u> <u>85.69</u> <u>76.01</u> <u>DGCL</u> <sup>32</sup> <u>81.22</u> <u>71.19</u> <u>87.43</u> <u>79.87</u> <u>Ours</u> <u>84.41</u> <u>75.58</u> <u>88.38</u> <u>81.42</u> Table 9. Comparison results with the SOTA method in public datasets. Fig. 10. Example of steel dataset. <u>Backbone network</u> <u>mIoU / %</u> <u>mPA/%</u> <u>Inference time/ms</u> <u>Frame rate/ fps</u> <u>U-Net</u> <sup>33</sup> <u>62.89</u> <u>66.31</u> <u>17.34</u> <u>66.21</u> <u>HRNet</u> <sup>36</sup> <u>72.03</u> <u>74.99</u> <u>72.18</u> <u>16.32</u> <u>SegNet</u> <sup>37</sup> <u>75.10</u> <u>80.01</u> <u>42.97</u> <u>26.53</u> <u>PSPNet</u> <sup>34</sup> <u>78.54</u> <u>90.09</u> <u>46.01</u> <u>23.12</u> <u>DeepLabv3Plus</u> <sup>38</sup> <u>79.38</u> <u>84.45</u> <u>37.58</u> <u>30.01</u> <u>Ours</u> <u>82.37</u> <u>90.98</u> <u>17.83</u> <u>64.43</u> Table 10. Comparison results of different segmentation models. <u>Semantic segmentation model</u> <u>Backbone network</u> <u>gpu memory usage/MiB</u> <u>gpu utilization/%</u> <u>UNet</u> <sup>33</sup> <u>VGG16</u> <u>15,321</u> <u>66.94</u> <u>PSPNet</u> <sup>34</sup> <u>MobileNetv2</u> <u>2,301</u> <u>10.05</u> <u>DeepLabv3Plus</u> <u>Xception</u> <u>14,298</u> <u>62.47</u> <u>DeepLabv3Plus</u> <u>ResNet-50</u> <u>12,393</u> <u>54.14</u> <u>Our DeepLabv3Plus</u> <u>Our MobileNetv2</u> <u>3562</u> <u>15.56</u> Table 11. GPU memory usage and utilization. the semi-supervised defect detection framework is effective, with the defect edge segmentation becoming more and more accurate, and even small defects being detected as the model is improved. The model improvements also need to consider the requirements of speed and lightweight. Table 12 lists the comparative results of the specific ablation experiments, where the baseline is the original enhanced doublebranch disturbance based on solid and weak images, and the segmentation model is DeepLabv3Plus+Resnet50. Based on this, the proposed TPCPS semi-supervised framework significantly increased the mIoU index by 11.41% compared to the baseline but inevitably led to a decrease in detection speed from 55.01 fps to 48.32 fps. To meet the high real-time requirements of industrial applications while maintaining detection accuracy as much as possible, this paper modified the original DeepLabv3Plus+Resnet50 network, reducing the model parameters by 22.34M and increasing the speed to 70.38 fps. To further improve the high-precision defect detection requirements, the authors added the LAM and SFF modules to the semi-supervised defect detection framework, which significantly increased the mIoU (4.95% increase after adding the LAM module and 4.75% increase after adding the SFF module), with a slight increase of 1.23M in model parameters. In resource-constrained environments, it is worthwhile to trade a slight speed reduction for a significant improvement in detection accuracy, and the addition of the LAM and SFF modules is necessary. Further research could investigate more efficient network architectures or model compression techniques to achieve even higher inference speeds while maintaining improved detection performance. Fig. 11. Defect detection effect under different improvements. ( a ) input image; ( b ) mask; ( c ) single-branch disturbance (substantial enhancement and weak enhancement disturbance) at the image-level; ( d ) Doublebranch disturbance at the image-level and feature-level; ( e ) Improve the network DeepLabv3Plus+Simplified MobileNetv2; ( f ) Pay more attention to the defective parts in channels and spaces and increase shallow feature fusion. <u>Method or module</u> <u>Base</u> <u>TPCPS</u> <sup>1</sup> <u>Our DeepLabv3+</u> <u>LAM</u> <sup>2</sup> <u>SFF</u> <sup>3</sup> <u>mIoU/%</u> <u>Parameter/M</u> <u>Speed/fps</u> ✓ <u>60.38</u> <u>30.02</u> <u>55.01</u> ✓ <u>71.79</u> <u>31.42</u> <u>48.32</u> ✓ ✓ <u>68.56</u> <u>9.08</u> <u>70.38</u> ✓ ✓ ✓ <u>75.41</u> <u>10.29</u> <u>67.77</u> ✓ ✓ ✓ <u>80.36</u> <u>10.31</u> <u>67.82</u> ✓ ✓ ✓ ✓ <u>85.11</u> <u>11.52</u> <u>64.59</u> Table 12. Ablation experiments with different modules added. <sup>1</sup> Two-Branch Perturbation Cross Pseudo Supervision Model. <sup>2</sup> Lightweight Attention Module. <sup>3</sup> Shallow Feature Fusion. Conclusion This paper proposes a semi-supervised semantic segmentation method based on industrial scenarios. It increases the disturbance of feature space and carries out cross pseudo-supervision in parallel within the image-level. The method outputs the most accurate pixel-by-pixel features, realizes accurate segmentation of defect parts, and uses a small amount of labeled data to detect defects, saving high labor costs. Moreover, in the aspect of segmentation model design, the DeepLabv3Plus model, which currently has excellent semantic segmentation performance, has been selected to be modified. With the lightweight network MobileNetv2, the detection efficiency is improved to ensure the accuracy of semantic segmentation. To address the issues of missed and false detections, shallow fusion features were added after the backbone network to reduce detail loss and improve the accuracy of small target segmentation. Additionally, lightweight channel and spatial attention mechanisms were incorporated after dilated convolution to enhance focus on pixels surrounding defects at two levels. This approach ensures more accurate defect edge segmentation and maintains robustness in complex and variable industrial scenarios. In addition, due to the presence of numerous defects and varying detection difficulties in industrial scenarios, this method employs a dynamic threshold strategy Initially, a low threshold model is used to fit the defects better, while a higher threshold in the later stages focuses on segmentation details to ensure final detection accuracy. Extensive experiments under various data settings demonstrate that this method significantly improves model performance and surpasses other mainstream methods in industrial scenarios. In terms of potential future research directions and broader impact considerations, the proposed semisupervised defect detection framework could be further enhanced by exploring more efficient network architectures, expanding to a wider range of defect types, and integrating with automated inspection systems. Beyond the specific applications presented, this framework has the potential to be applied in diverse industrial domains, thereby improving production efficiency and quality control. Moreover, such advancements could lead to broader social benefits, such as ensuring product safety and reducing environmental waste, while also considering ethical implications related to data privacy and algorithmic bias as the technology is integrated into larger automated inspection systems. Data availability The data that support the findings of this study are available from the author, Kang Wang, waangk@163.com upon reasonable request. Received: 18 July 2024; Accepted: 9 September 2024 References 1. Czimmermann, T. _et al._ Visual-based defect detection and classification approaches for industrial applications-a survey. _Sensors_ 20 [, 1459. https://​doi.​org/​10.​3390/​s2005​1459 (2020).](https://doi.org/10.3390/s20051459) 2. Zhou, D.-H., Wei, M.-H. & Si, X.-S. A survey on anomaly detection, life prediction and maintenance decision for industrial pro cesses. _Acta Autom. Sin._ 39 [, 711–722. https://​doi.​org/​10.​3724/​SP.J.​1004.​2013.​00711 (2013).](https://doi.org/10.3724/SP.J.1004.2013.00711) 3. Tao, X. _et al._ A survey of surface defect detection methods based on deep learning. _Acta Autom. Sin._ 47 [, 1017–1034. https://​doi.​](https://doi.org/10.2991/978-2-494069-51-0_51) [org/​10.​2991/​978-2-​494069-​51-0_​51 (2021).](https://doi.org/10.2991/978-2-494069-51-0_51) 4. Tan, D. S., Chen, Y.-C., Chen, T. P.-C. & Chen, W.-C. Trustmae: A noise-resilient defect classification framework using memory augmented auto-encoders with trust regions. In _Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision_ [276–285. https://​doi.​org/​10.​48550/​arXiv.​2012.​14629 (2021).](https://doi.org/10.48550/arXiv.2012.14629) 5. Li, T., Wang, Z., Liu, S. & Lin, W.-Y. Deep unsupervised anomaly detection. In _Proceedings of the IEEE/CVF Winter Conference on_ _Applications of Computer Vision_ [3636–3645. https://​doi.​org/​10.​1109/​WACV4​8630.​2021.​00368 (2021).](https://doi.org/10.1109/WACV48630.2021.00368) 6. Li, X., Chen, X., Qiu, Y., Tao, C. & Zheng, P. Differentiable double clustering with edge-aware superpixel fitting for unsupervised image segmentation. _Displays_ 83 [, 102721. https://​doi.​org/​10.​1016/j.​displa.​2024.​102721 (2024).](https://doi.org/10.1016/j.displa.2024.102721) 7. Liu, H., Guo, Q., Xu, M. & Shen, I.-F. Fast image segmentation using region merging with a k-nearest neighbor graph. In _2008_ _IEEE Conference on Cybernetics and Intelligent Systems_ [179–184. https://​doi.​org/​10.​1109/​ICCIS.​2008.​46708​56 (2008).](https://doi.org/10.1109/ICCIS.2008.4670856) 8. Hinton, G. E. & Zemel, R. Autoencoders, minimum description length and Helmholtz free energy. _Adv. Nneural Inf. Process._ _Syst._ [[SPACE]https://​doi.​org/​10.​5555/​29871​89.​29871​90 (1993).](https://doi.org/10.5555/2987189.2987190) 9. Li, D., Yang, J., Kreis, K., Torralba, A. & Fidler, S. Semantic segmentation with generative models: Semi-supervised learning and strong out-of-domain generalization. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ [8300–8311. https://​doi.​org/​10.​48550/​arXiv.​2104.​05833 (2021).](https://doi.org/10.48550/arXiv.2104.05833) 10. Wu, Y., Zhao, Z., Pang, X. & Liu, J. Clustering memory-guided anomaly detection model for large-scale screening of esophageal endoscopic images. _J. Comput. Des. Eng._ 9 [, 1525–1537. https://​doi.​org/​10.​1093/​jcde/​qwac0​73 (2022).](https://doi.org/10.1093/jcde/qwac073) 11. Xie, Q., Luong, M.-T., Hovy, E. & Le, Q. V. Self-training with noisy student improves imagenet classification. In _Proceedings of_ _the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ [10687–10698. https://​doi.​org/​10.​48550/​arXiv.​1911.​04252](https://doi.org/10.48550/arXiv.1911.04252) (2020). 12. Sohn, K. _et al._ Fixmatch: Simplifying semi-supervised learning with consistency and confidence. _Adv. Neural Inf. Process. Syst._ 33, [596–608. https://​doi.​org/​10.​48550/​arXiv.​2001.​07685 (2020).](https://doi.org/10.48550/arXiv.2001.07685) 13. Yang, L., Qi, L., Feng, L., Zhang, W. & Shi, Y. Revisiting weak-to-strong consistency in semi-supervised semantic segmentation. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ [7236–7246. https://​doi.​org/​10.​48550/​arXiv.​](https://doi.org/10.48550/arXiv.2208.09910) [2208.​09910 (2023).](https://doi.org/10.48550/arXiv.2208.09910) 14. Khan, S. D., Alarabi, L. & Basalamah, S. Dsmsa-net: Deep spatial and multi-scale attention network for road extraction in high spatial resolution satellite images. _Arab. J. Sci. Eng._ 48 [, 1907–1920. https://​doi.​org/​10.​1007/​s13369-​022-​07082-z (2023).](https://doi.org/10.1007/s13369-022-07082-z) 15. Ullah, W. _et al._ Industrial defective chips detection using deep convolutional neural network with inverse feature matching mecha nism. _J. Comput. Des. Eng._ [[SPACE]https://​doi.​org/​10.​1093/​jcde/​qwae0​19 (2024).](https://doi.org/10.1093/jcde/qwae019) 16. Chen, X., Yuan, Y., Zeng, G. & Wang, J. Semi-supervised semantic segmentation with cross pseudo supervision. In _Proceedings_ _of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ [2613–2622. https://​doi.​org/​10.​48550/​arXiv.​2106.​01226](https://doi.org/10.48550/arXiv.2106.01226) (2021). 17. Wang, Q. _et al._ Eca-net: Efficient channel attention for deep convolutional neural networks. In _Proceedings of the IEEE/CVF Confer‑_ _ence on Computer Vision and Pattern Recognition_ [11534–11542. https://​doi.​org/​10.​1109/​CVPR4​2600.​2020.​01155 (2020).](https://doi.org/10.1109/CVPR42600.2020.01155) 18. Woo, S., Park, J., Lee, J.-Y. & Kweon, I. S. Cbam: Convolutional block attention module. In _Proceedings of the European Conference_ _on Computer Vision (ECCV)_ [3–19. https://​doi.​org/​10.​1007/​978-3-​030-​01234-2_1(2018).](https://doi.org/10.1007/978-3-030-01234-2_1) 19. Lee, D.-H. _et al._ Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In _Workshop_ _on Challenges in Representation Learning, ICML_ Vol. 3 896 (2013). 20. Liu, Z., Huo, Z., Li, C., Dong, Y. & Li, B. Dlse-net: A robust weakly supervised network for fabric defect detection. _Displays_ 68, [102008. https://​doi.​org/​10.​1016/j.​displa.​2021.​102008 (2021).](https://doi.org/10.1016/j.displa.2021.102008) 21. Park, K.-B. & Lee, J. Y. Novel industrial surface-defect detection using deep nested convolutional network with attention and guidance modules. _J. Comput. Des. Eng._ 9 [, 2466–2482. https://​doi.​org/​10.​1093/​jcde/​qwac1​15 (2022).](https://doi.org/10.1093/jcde/qwac115) 22. Hu, H. _et al._ Semi-supervised semantic segmentation via adaptive equalization learning. _Adv. Neural Inf. Process. Syst._ 34, 22106– [22118. https://​doi.​org/​10.​48550/​arXiv.​2110.​05474 (2021).](https://doi.org/10.48550/arXiv.2110.05474) 23. Wang, Q. _et al._ Eca-net: Efficient channel attention for deep convolutional neural networks. In _2020 IEEE/CVF Conference on_ _Computer Vision and Pattern Recognition (CVPR)_ [11531–11539. https://​doi.​org/​10.​1109/​CVPR4​2600.​2020.​01155 (2020).](https://doi.org/10.1109/CVPR42600.2020.01155) 24. Zhang, D., Hao, X., Liang, L., Liu, W. & Qin, C. A novel deep convolutional neural network algorithm for surface defect detection. _J. Comput. Des. Eng._ 9 [, 1616–1632. https://​doi.​org/​10.​1093/​jcde/​qwac0​71 (2022).](https://doi.org/10.1093/jcde/qwac071) 25. Zhou, C., Dong, R. & Wang, M. Mff-net: A multitask feature fusion network in dual-frequency domains for detecting smoke from one single picture. _Displays_ 82 [, 102576. https://​doi.​org/​10.​1016/j.​displa.​2023.​102576 (2024).](https://doi.org/10.1016/j.displa.2023.102576) 26. Suryarasmi, A. _et al._ Fn-net: A lightweight cnn-based architecture for fabric defect detection with adaptive threshold-based class determination. _Displays_ 73 [, 102241. https://​doi.​org/​10.​1016/j.​displa.​2022.​102241 (2022).](https://doi.org/10.1016/j.displa.2022.102241) 27. Yang, L., Zhuo, W., Qi, L., Shi, Y. & Gao, Y. St++: Make self-training work better for semi-supervised semantic segmentation. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ [4268–4277. https://​doi.​org/​10.​48550/​arXiv.​](https://doi.org/10.48550/arXiv.2106.05095) [2106.​05095 (2022).](https://doi.org/10.48550/arXiv.2106.05095) 28. Wang, Y. _et al._ Semi-supervised semantic segmentation using unreliable pseudo-labels. In _Proceedings of the IEEE/CVF Conference_ _on Computer Vision and Pattern Recognition_ [4248–4257. https://​doi.​org/​10.​48550/​arXiv.​2203.​03884 (2022).](https://doi.org/10.48550/arXiv.2203.03884) 29. Jin, Y., Wang, J. & Lin, D. Semi-supervised semantic segmentation via gentle teaching assistant. _Adv. Neural Inf. Process. Syst._ 35, [2803–2816. https://​doi.​org/​10.​48550/​arXiv.​2301.​07340 (2022).](https://doi.org/10.48550/arXiv.2301.07340) 30. Wang, Z. _et al._ Conflict-based cross-view consistency for semi-supervised semantic segmentation. In _Proceedings of the IEEE/CVF_ _Conference on Computer Vision and Pattern Recognition_ [19585–19595. https://​doi.​org/​10.​48550/​arXiv.​2303.​01276 (2023).](https://doi.org/10.48550/arXiv.2303.01276) 31. Zhao, Z. _et al._ Augmentation matters: A simple-yet-effective approach to semi-supervised semantic segmentation. In _Proceedings_ _of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ [11350–11359. https://​doi.​org/​10.​48550/​arXiv.​2212.​04976](https://doi.org/10.48550/arXiv.2212.04976) (2023). 32. Wang, X., Zhang, B., Yu, L. & Xiao, J. Hunting sparsity: Density-guided contrastive learning for semi-supervised semantic seg mentation. In _Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition_ [3114–3123. https://​doi.​org/​](https://doi.org/10.1109/CVPR52729.2023.00304) [10.​1109/​CVPR5​2729.​2023.​00304 (2023).](https://doi.org/10.1109/CVPR52729.2023.00304) 33. Ronneberger, O., Fischer, P. & Brox, T. U-net: Convolutional networks for biomedical image segmentation. In _Medical Image_ _Computing and Computer-assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9,_ _2015, Proceedings, Part III 18_ [234–241. https://​doi.​org/​10.​1007/​978-3-​319-​24574-4_​28 (2015).](https://doi.org/10.1007/978-3-319-24574-4_28) 34. Zhao, H., Shi, J., Qi, X., Wang, X. & Jia, J. Pyramid scene parsing network. In _Proceedings of the IEEE Conference on Computer_ _Vision and Pattern Recognition_ [2881–2890. https://​doi.​org/​10.​1109/​CVPR.​2017.​660 (2017).](https://doi.org/10.1109/CVPR.2017.660) 35. Lu, M., Sheng, W., Zou, Y., Chen, Y. & Chen, Z. Wss-yolo: An improved industrial defect detection network for steel surface defects. _Measurement_ 236 [, 115060. https://​doi.​org/​10.​1016/j.​measu​rement.​2024.​115060 (2024).](https://doi.org/10.1016/j.measurement.2024.115060) 36. Sun, K., Xiao, B., Liu, D. & Wang, J. Deep high-resolution representation learning for human pose estimation. arXiv e-prints. [https://​doi.​org/​10.​1109/​CVPR.​2019.​00584 (2019).](https://doi.org/10.1109/CVPR.2019.00584) 37. Badrinarayanan, V., Kendall, A. & Cipolla, R. Segnet: A deep convolutional encoder-decoder architecture for image segmentation. _IEEE Trans. Pattern Anal. Mach. Intell._ [[SPACE]https://​doi.​org/​10.​1109/​TPAMI.​2016.​26446​15 (2017).](https://doi.org/10.1109/TPAMI.2016.2644615) 38. Chen, L.-C., Zhu, Y., Papandreou, G., Schroff, F. & Adam, H. Encoder-decoder with atrous separable convolution for semantic image segmentation. In _Proceedings of the European Conference on Computer Vision (ECCV)_ [801–818. https://​doi.​org/​10.​48550/​](https://doi.org/10.48550/arXiv.1802.02611) [arXiv.​1802.​02611 (2018).](https://doi.org/10.48550/arXiv.1802.02611) Acknowledgements This work was supported by the Shandong Province Science and Technology SMEs Innovation Capability Enhancement Project (No. 2023TSGC0576 and No. 2023TSGC0605). Author contributions Conceptualization, C.S.Zhu, K.Wang; Data curation, G.D.Zhang; Formal analysis, K.Wang and Z.L.Li; Funding acquisition, C.Zhang; Investigation, K.Wang; Methodology, C.S.Zhu, K.Wang and G.D.Zhang; Project administration, C.Zhang; Resources, C.S.Zhu; Software, K.Wang; Supervision, C.S.Zhu; Validation, K.Wang; Visualization, K.Wang; Writing-original draft, K.Wang and Z.L.Li; Writing –review & editing, K.Wang and Z.L.Li. Competing interests The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Additional information Correspondence and requests for materials should be addressed to C.Z. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain [permission directly from the copyright holder. To view a copy of this licence, visit http://​creat​iveco​mmons.​org/​](http://creativecommons.org/licenses/by-nc-nd/4.0/) [licen​ses/​by-​nc-​nd/4.​0/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) © The Author(s) 2024

섹션 본문 72문단 · 34,593자

(제목 없음)

1Deep learning-based defect detection methods have gained widespread application in industrial quality inspection.However, limitations such as insufficient sample sizes, low data utilization, and issues with accuracy and speed persist.This paper proposes a semi-supervised semantic segmentation framework that addresses these challenges through perturbation invariance at both the image and feature space.The framework employs diverse perturbation cross-pseudo-supervision to reduce dependency on extensive labeled datasets.Our lightweight method incorporates edge pixel-level semantic information and shallow feature fusion to enhance real-time performance and improve the accuracy of defect edge detection and small target segmentation in industrial inspection.Experimental results demonstrate that the proposed method outperforms the current state-of-theart (SOTA) semi-supervised semantic segmentation methods across various industrial scenarios.Specifically, our method achieves a mean Intersection over Union (mIoU) 3.11% higher than the SOTA method on our dataset and 4.39% higher on the public KolektorSDD dataset.Additionally, our semantic segmentation network matches the speed of the fastest network, U-net, while achieving a mIoU 2.99% higher than DeepLabv3Plus.

2• The semi-supervised semantic segmentation model increases the disturbance of feature space and executes cross pseudo-supervision in parallel within the image-level.• Lightweight attention module and Shallow feature fusion improve detection speed and segmentation accu- racy.• Dynamic threshold strategy generates more reliable pseudo labels.

3• Constructs the datasets of five scenarios: dirty bottom, broken bottle body, foreign body in noodles, folded label, and broken egg case, which provides a research basis for semi-supervised industrial defect detection.

Semi-supervised learning framework

4Defects in industrial scenarios are usually diverse and complex, and there may be factors such as illumination change, angle change, size deviation, occlusion, and interference 15 .Disturbance of the feature space can make the model tolerant to the absence of certain features, thus improving its robustness.Even when some features are missing or the input data is noisy, the model can still perform well.In addition, different feature subset combinations can be introduced through a part of the feature channels of random dropout, which is helpful for the model to learn more abundant feature representations, reducing the situation of missed detection and false detection, and thus improving the efficiency of the production line and product quality.Moreover, to meet thehigh-efficiency requirements in industrial scenarios, the random deletion of feature channels can reduce parameters and calculations of the model and improve the efficiency of training and reasoning.In deep neural networks, reducing the number of feature channels can reduce calculation and speed up training.Therefore, in order to comprehensively improve the performance and generalization ability of the model, this paper proposes a new Two-Branch Perturbation Cross Pseudo Supervision [16][17][18] model, from now on referred to as TPcps, which perturbs the input image at the image-level.One branch is added to disturb the image feature space strongly.The prediction results of the two branches tend to be consistent, as shown in Fig. 1.Specifically, the method proposed obtains the prediction results after the labeled images are directly sent into the model and use the cross entropy loss function (CEloss) as a constraint ( p i is the grand truth, and q i is the prediction value).The cross-entropy loss function is defined as follows:

5For unlabeled images, they will enter the model through two branches.The first branch is to disturb the unlabeled images at the image-level: The disturbance methods include random geometric data enhancement: rotation, translation, and shearing.Disturbance methods also include non-geometric data enhancement, such as flipping, cropping, and re-sizing.Noise Injection and random image erasure are injected.Even small perturbations in the pixel space can generate substantial noise in the feature maps after propagation through multiple layers of the network, causing the model to acquire incorrect information and diminishing the efficiency of model learning, The second branch disturbs the image at the feature-level and randomly drips the features at the channel dimension.Two branches generate two prediction results, each other's pseudo-labels.They are constrained by the cross pseudo-supervised loss function, so the enhanced inputs at different levels tend to have the same prediction results.The cross pseudo-supervised loss function is defined as follows:

6The final total loss is the sum of supervised loss and unsupervised loss, as shown in Eq. ( 3).

7(1)

8where D l is the labeled dataset given with a size of N, D u is an unlabeled dataset with a size of M. W and H are the width and height of the input image.At each position i, q i and q * i are the prediction values of the first and second branches, respectively.The label vector l i ( l * i ) is a one-hot vector computed from q i ( q * i ).The model structure combines self-training and consistency learning so that the model can better use a small amount of labeled defect data in industrial scenarios, improving data utilization and enhancing model performance.

Segmentation model and network improvement

9Model architecture Due to the scene's and data's inherent properties, the industrial defect target is weak and difficult to detect, with unclear boundaries between different defect categories, requiring high-speed detection in industrial settings.In this paper, a new network structure of DeepLabv3Plus+Simplified MobileNetv2 is designed, which inherits the advantages of DeepLabv3Plus 19 .Using dilated convolution and multi-scale information fusion technology, the new network can effectively capture the semantic information and detailed features in the image.At the same time, the the network's speed of training and reasoning is improved by combining MobileNetv2 lightweight network.The segmentation accuracy of small targets and defects is improved by combining the ECA module 12 and the attention module, as shown in Fig. 2.

10The backbone network Xception model of DeepLabv3Plus has many parameters, extended training and prediction times, and cannot meet industrial needs.Replacing the original backbone network with a modified lightweight backbone network MobileNetv2, which is driven by its efficiency, lightweight architecture, scalability, accuracy, and transfer learning capabilities, effectively reduces the number of model parameters and training time while improving prediction speed and makes it well-suited for resource-constrained environments.In order to improve the resolution of the final output feature map, the fifth and seventh layer modules are changed from the original stride size 2 to stride size 1.At this time, the output resolution of the feature map of the improved MobileNetv2 network is four times higher than that of the original MobileNetv2 network, which is 1/8 of the input image and can retain more detailed information in the feature map.After the 8th floor, the number of channels of the original MobileNetv2 increased to 1280, and the number of parameters significantly increased.Prune the original MobileNetv2 network and discard the last three layers for classification.The specific networks before and after modification are shown in Tables 1 and 2. Operators are different network module layers; Input is the size of the input feature map; C is the number of output channels of the feature map, and n is the number of times the module of this layer is used; S is the convolution step size.

Lightweight attention module

11The semantic segmentation model designs a lightweight attention mechanism module after dilated convolution, aiming at improving the model's attention to critical areas 20 , thus effectively extracting defective parts and reducing information duplication 21 .CBAM 22 uses the fully connected layer to map features when calculating the generated channel attention, but the calculation amount of the fully connected layer is enormous.In the spatial attention module, to aggregate broader spatial context features, a 7 × 7 large receptive field convolution kernel is used to aggregate spatial features, increasing the receptive field and the parameters of the module, which significantly limits the application of the module in industrial scenarios.

12In order to solve this problem, this paper designs a one-dimensional convolution operation to aggregate the channel features of one-dimensional channel attention.As shown in Fig. 3, the size of a one-dimensional convolution kernel is the number of channels in the aggregation neighborhood.Due to the parameter-sharing nature of convolution operation, introducing one-dimensional convolution reduces the parameter quantity of the channel attention module to a constant level.For spatial attention, this paper uses dilated convolution to aggregate the spatial features of two-dimensional spatial attention; this dramatically reduces the number of module parameters in the same size receptive field.The specific operation is executed as follows: Global mean pooling and maximum pooling operations are used to aggregate the spatial information of feature mapping.One-dimensional convolution with convolution kernel length k is used to aggregate the information of k channels in the neighborhood of the channel.Add the two convolved features element-wise, generate channel attention C F ∈ R 1×H×W through Sigmoid function operation, then broadcast and expand the generated channel attention along the two spatial dimensions to R C×H×W , and multiply it with the input feature map by the corresponding elements to obtain the injected channel attention feature map.The specific channel attention calculation process is defined as follows:

13Here, sig denotes the Sigmoid function, and f k 1D represents the one-dimensional convolution operation with a kernel size of k.

14The calculation of the k value 23 is shown in Eq. ( 5), where c represents the number of channels of the input feature map, and |t| odd represents the odd number closest to t.

15Similarly, effective spatial feature descriptors F s avg and F s max are generated in spatial attention.Then, dilated convolution is used to encode and map the regional information that needs to be emphasized or suppressed in space, and spazzzzxtial context information is aggregated more efficiently.Finally, these weights are multiplied with the original input feature map, and after convolution, deep features containing multi-scale context information are generated.Finally, the shallow features and deep features are combined by the concat part to realize the accurate segmentation of the defective part.The calculation process of spatial attention is defined as follows:

16Among them, f 3×3 dilat represents the dilated convolution with a convolution kernel size of 3, and the experiment uses a hole rate of 2. The model can focus more on essential regions within the image by introducing lightweight attention modules, reducing attention to irrelevant information.This enhancement improves both the efficiency and accuracy of detection.It allows the model to better adapt to various environments and conditions in industrial scenarios, enabling it to handle the complexities of industrial production lines more effectively.These complexities include variations in lighting, angles, and backgrounds.As a result, the model's generalization capability and practical application value are significantly improved.Figure 4 compares the heatmaps before and after the lightweight attention modules were added.

Shallow feature fusion

17The traditional DeepLabv3Plus model does not thoroughly combine the shallow feature map in the decoding part, and the extracted local details need to be more prosperous, making the whole model's prediction result inaccurate.In order to solve this problem, this paper uses the idea of a feature pyramid and ECA 24 to add a 1/2 size feature map based on applying a 1/4 size feature map.As shown in Fig. 5, shallow and middle features have higher resolution and show different details such as color, texture, and edge 25 .The resolution of deep features is low, but it shows more robust high-level semantic information.In order to reduce the loss of details in the process of downsampling the deep features, the shallow features output by the backbone network are downsampled and fused with the middle features to obtain more detailed features of the image(SFF).The number of channels is adjusted by convolution, ReLU activation function, and regularization operation to prevent too much low-level semantic information affecting the expression of deep semantic information, effectively improving the accuracy of small target segmentation with few parameters.

18The specific operation is shown on the right in Fig. 5.A and B are the feature maps generated when the coding part is down-sampled, with the size of 1/2 and 1/4, respectively.The number of channels is 16 and 24, respectively.Feature map A obtains feature map C after passing through an inflated convolution block with a convolution kernel size of 3, step size of 2, and void ratio of 2. C is 1/4 of the input feature map, using the expansion convolution to expand the receptive field while removing noise using the ECA module to learn more useful feature

Dynamic threshold strategy

19A dynamic threshold strategy is proposed to prevent the double-branch model from simultaneously generating the same false label 12,19,26 .Generating false labels leads to the TPcps model learning the wrong label information, thus reducing the detection accuracy.Our method selects reliable data according to pseudo-labels' stability in the first training stage.The method reduces the selection criteria of pseudo-tags because the model does not learn compelling features, and the prediction results are not accurate enough, so the selection criteria of high www.nature.com/scientificreports/threshold pseudo-tags are not applicable.As the model learns the discriminating characteristics of data, the model improves the detection threshold according to the feedback of the effect evaluation index, subdivides the defect edge, and further improves the semantic segmentation accuracy.Experiments show that the dynamic threshold method effectively solves the problem of the double-branch model generating false labels simultaneously, making pseudo labels more reliable.The dynamic threshold strategy first needs to evaluate the model's training effect at a particular moment.This paper proposes an effective learning effect evaluation index and dynamically adjusts the strategy accordingly.Specifically, the learning effect of a defect category is determined by a score, and S t represents the learning effect of the defect at time t, as shown in Eq. (7).Before model training, a fixed threshold τ is set, and the expression of learning performance is as follows:

20For all samples belonging to a particular defect category ' c, ' the model estimates the number of instances where the predicted score for that defect category exceeds a fixed threshold.In the normalization process, a dynamic threshold strategy is also employed.In the early stages of the model, where there is a high number of undetermined samples, N − � c σ t plays a dominant role.However, in the later stages of model training, as most samples have been selected at least once, the denominator becomes the maximum value among all estimated learning effects for each class, denoted as maxS t .The normalization is defined as follows:

21The final threshold is determined as shown in Eq. (9).By combining the threshold preheating method, the dynamic threshold strategy, and the ingenious normalization method, the learning effect of the classification with the best prediction accuracy is 1.After applying the Eq. ( 9), its threshold becomes τ , and at this time, it has reached the upper limit of the dynamic threshold.

Experiment Datasets

22Firstly, the defects in industrial scenarios are classified, and datasets are made according to the characteristics of each category and the existing industrial inspection problems.The first type is an additional anomaly: dirt, foreign matter, and adhesion.For this scenario, we designed the Bottle Bottom Spoils and Noodles Adhesion Detection.The second type is loss anomaly: incomplete, scratched, and broken.For this scenario,we designed for bottle breakage and poultry egg case breakage detection.The third is to replace the anomalies: mixed color, different color, impurities, and confusion.For this scenario, we designed the detection of black spots, impurities, and discoloration in noodles.The fourth is abnormal deformation: distortion, crease, and fold.For this scenario, we designed bottle label distortion and fold detection.The specific data of each category are shown in Table 3.

23Description of industrial defect categories. 1 Additional: Dirty, foreign matter, adhesion. 2Loss: Incomplete, scratched and damaged. 3Replacement: mixed color, different color, impurity, confusion. 4Deformation: distortion, size, wrinkle.

24In this experiment, five scene datasets are designed, including simple and complex scenarios, and the defect types include binary classification and multi-classification situations.Specifically, the contents of each dataset are shown in the following Table 4.The label tool is used to mark the defects in the defective samples.The marked samples participating in the training account for 1/2, 1/4, 1/8, and 1/16 of the total training set, respectively, and the rest of the samples enter the unlabeled branch training model as unlabeled images.

Experimental environment and benchmark experiment

25This paper'sa method uses the Ubuntu 22.04.1 operating system, with a GeForce RTX 3090 GPU and a 12th Gen Intel (R) Core (TM) i7-12700k CPU.The spec details are shown in Table 5.

26In the training stage, parallel and distributed training strategies based on the PyTorch framework are adopted in the experiment.According to the specific configuration of the experimental environment and available GPU resources, different data-parallel strategies are adopted to optimize the training efficiency.The model can use multiple GPUs to process batch data in parallel, thus speeding up the training process, calculating forward and backward propagation in parallel, and finally synchronizing and updating the model parameters on the primary device.As for the implementation details, this paper uses an SGD optimizer and polynomial learning rate scheduler with a momentum of 0.9, and the initial learning rate is 0.001.At the same time, with the increase in training rounds, the learning rate is dynamically adjusted, and the initial prediction threshold is set to 0.9.Random data enhancement within the scale of [0.5, 2.0] is adopted for image-level disturbances, which is realized by a random combination of geometric disturbances, non-geometric disturbances, and image erasure.

Comparison between self-built datasets and mainstream semi-supervised methods

27In the context of semi-supervised semantic segmentation for defect detection, challenges such as low contrast and background noise significantly impact model performance.Low-contrast images often conceal defects that fuse with the background, rendering traditional segmentation methods ineffective.To address this, this paper employs multi-scale feature fusion capable of capturing rich contextual information.For instance, in images of Label Folds with minimal colour differentiation, conventional methods struggle, whereas our network enhances feature maps to identify subtle structural variations, as shown in Fig. 6a.

28Similarly, background noise can mislead the model by introducing irrelevant features.For instance, in the Broken Egg Shell dataset, the cracks in the egg shells are affected by the intrinsic patterns and spots on the eggs.We mitigate this issue by incorporating attention mechanisms that allow the model to focus on critical defects while disregarding noise.Additionally, data augmentation and multi-task learning strategies further enhance the model's robustness against background interferences.Together, these methodologies not only improve the accuracy of defect detection but also provide a pathway for future advancements in this domain.as shown in Fig. 6b.

29This paper compares the above industrial datasets with the SOTA method of semi-supervised learning in recent years.We evaluated several key xmetrics, including Intersection over mIoU, F1 score, and pixel accuracy.The performance metrics are summarized in Table 6.In images with low contrast, such as Label Folds, our framework demonstrated superior capabilities in identifying defects compared to AugSeg and DGCL.The attention mechanism helped isolate the defects from the noisy backgrounds, resulting in clearer segmentations.As shown in Fig. 6.In the Broken Egg Shell dataset, the cracks in the eggshells are affected by the intrinsic patterns and spots on the eggs.Our proposed model outperforms other methods, as it successfully highlights the defects while minimizing the false positives related to background interference.Additionally, the method proposed in this paper also outperforms the SOTA methods in handling variations in lighting conditions, defect types, and background complexity.The proposed framework was further evaluated on the Noodles dataset, which contains three common defect types in noodle production: discolouration, foreign objects, and black spots, with significant variations in shape, texture, and visual characteristics.The Noodles dataset encompasses a wide range of illumination, from bright and uniform to dark and uneven.As shown in Fig. 7.

30The model demonstrated the ability to detect and segment this diverse range of defect types accurately and maintained high detection accuracy even under complex, non-uniform lighting conditions by focusing on the distinctive visual features of the defects themselves rather than solely relying on local brightness information, effectively generalizing to this diverse range of defects and suppressing background noise to reliably identify defect regions even in the presence of complex backgrounds, indicating the framework's suitability for real-world noodle production defect detection scenarios.

31To further validate the robustness of our proposed framework, we conducted extensive experiments across diverse real-world scenarios and different datasets.We evaluated the model's performance under varying lighting conditions, defect types, and background complexities.As shown in Fig. 8. (1/4 labelled data samples are used as the supervision part of training)

32It can be seen from Fig. 8 that the segmentation effect of this method is better in detail, such as small targets and edges, and edge segmentation is more straightforward.The proposed framework's superior performance across these diverse datasets can be attributed to its ability to effectively capture the distinctive features of defects while suppressing irrelevant background information.The model's architectural design and training strategies enable it to generalize well to various types of defects and environmental conditions, making it a promising solution for real-world industrial inspection tasks.However, the framework's performance may degrade for certain extreme conditions, such as high-speed motion blur or severe occlusions, which could limit its applicability in some industrial scenarios.The second limitation is that the framework currently only handles 2D image data and cannot directly process 3D or multi-dimensional data.Future work could consider extending the framework to support more diverse data input forms.

33In addition to using 1/4 labeled data samples as the supervision part of training, this paper also uses 1/16, 1/8, and 1/2 labeled samples to carry out comparative experiments.The results are shown in Table 7. Table 7 shows the experimental comparison of eggshell breakage detection.The dataset contains 3,436 images, 2,500 of which are used for training models, and 1/16 of the dataset is set as labeled samples to enter the supervised learning branch.To better illustrate the significance of semi-supervised algorithms, we also report the results obtained solely using labelled images.Please refer to the SupOnly results in the first row under each model, where it is evident that the improvement provided by the semi-supervised algorithms over SupOnly is substantial.

Comparison between self-built datasets and mainstream segmentation models

34In addition, this paper compares three network models with excellent semantic segmentation performance.Given the demand for defect detection efficiency in industrial scenarios, the experiment adds prediction speed and model parameter evaluation indicators to evaluate its algorithm performance comprehensively.The comparison results are shown in Table 8.

35The data in Table 8 shows that PSPNet+MobileNetv2 has advantages in speed and model parameters but relatively low semantic segmentation accuracy.In contrast, the proposed method, Modified DeepLabv3Plus+Simplified MobileNetv2, has a speed second only to PSPNet+MobileNetv2 and achieves the highest detection accuracy.Therefore, it offers a more robust overall performance and is more suitable for semantic segmentation defect detection tasks.

Comparison between public datasets and mainstream semi-supervised methods

36In order to further verify the effectiveness of the proposed semi-supervised training strategy, we compared the proposed model with other SOTA methods of semi-supervised semantic segmentation models on public datasets.The samples are shown in Fig. 9.The dataset used in the experiment are defective electronic commutator images provided and annotated by Kolektor Group, as shown in Fig. 9.There are tiny damages or cracks on the surface of the plastic bag of the electronic commutator, and the dataset contains 399 pictures, including 52 images with visible defects,347 images without any defects.One-quarter and one-half of the training set were used in the experiment as the supervised learning part (90/180 images) and the rest as an unsupervised learning part (360/180 images).The experimental results are shown in Table 9.

37In the public dataset KolektorSDD, our proposed method achieved the best results in experiments with both 1/4 labeled data and 1/2 labeled data.To further validate our method's high real-time performance and efficiency in industrial scenarios, we conducted experiments on a large-scale dataset, Steel.

38The production process of steel is exact, involving multiple stages from heating and rolling to drying and cutting 35 .Several machines come into contact with steel during shipment preparation, leading to varying defects.Thus, high-performance and high-accuracy defect detection for steel is confirmed in industrial production.As shown in Fig. 10.

39This dataset is sourced from the Kaggle website, and all images are standardized to a resolution of 1600 × 256 pixels.The training set consists of 12,568 images, and the test set contains 5,506 images.Our method uses 1/4 of the training set as labeled data, while the remaining part is used as unlabeled data for model training.We conducted experiments using different network models, and the specific results are shown in Table 10.

40The proposed method based on the improved DeepLabv3Plus achieves the highest accuracy in the mIoU and mPA evaluation metrics, improving by 2.99% and 6.53% compared to the original method, and by 19.48% and 24.67% compared to U-Net.Regarding inference time and FPS, our method only lags behind U-Net by 0.42 ms and 2.36 fps.The inference time and frame rate are 47% and 2.1 times that of the original DeepLabv3Plus model.It also outperforms other mainstream semantic segmentation network models.Considering all four evaluation metrics, the improved DeepLabv3Plus semantic segmentation models demonstrate more robust overall performance on the Steel dataset.Furthermore, this paper assesses and compares GPU memory usage across different algorithms to provide insights into their practical deployment.The experiment was conducted using GPU chips (GeForce RTX 3090) with 10,496 CUDA cores and 24GB of memory.The batch size was fixed at 16, and the number of workers was set to 8. The GPU memory usage for different algorithms is shown in the Table 11:

Ablation experiment

41In this paper, the model is improved according to the characteristics of different defects, and ablation experiments are conducted to prove the effectiveness of the improvement.As shown in Fig. 11, the defect detection effects under different improvement measures are presented, from which we can see that each step of improvement to the semi-supervised defect detection framework is effective, with the defect edge segmentation becoming more and more accurate, and even small defects being detected as the model is improved.

42The model improvements also need to consider the requirements of speed and lightweight.Table 12 lists the comparative results of the specific ablation experiments, where the baseline is the original enhanced doublebranch disturbance based on solid and weak images, and the segmentation model is DeepLabv3Plus+Resnet50.Based on this, the proposed TPCPS semi-supervised framework significantly increased the mIoU index by 11.41% compared to the baseline but inevitably led to a decrease in detection speed from 55.01 fps to 48.32 fps.

43To meet the high real-time requirements of industrial applications while maintaining detection accuracy as much as possible, this paper modified the original DeepLabv3Plus+Resnet50 network, reducing the model parameters by 22.34M and increasing the speed to 70.38 fps.To further improve the high-precision defect detection requirements, the authors added the LAM and SFF modules to the semi-supervised defect detection framework, which significantly increased the mIoU (4.95% increase after adding the LAM module and 4.75% increase after adding the SFF module), with a slight increase of 1.23M in model parameters.

44In resource-constrained environments, it is worthwhile to trade a slight speed reduction for a significant improvement in detection accuracy, and the addition of the LAM and SFF modules is necessary.Further research could investigate more efficient network architectures or model compression techniques to achieve even higher inference speeds while maintaining improved detection performance.

Conclusion

45This paper proposes a semi-supervised semantic segmentation method based on industrial scenarios.It increases the disturbance of feature space and carries out cross pseudo-supervision in parallel within the image-level.The method outputs the most accurate pixel-by-pixel features, realizes accurate segmentation of defect parts, and uses a small amount of labeled data to detect defects, saving high labor costs.Moreover, in the aspect of segmentation model design, the DeepLabv3Plus model, which currently has excellent semantic segmentation performance, has been selected to be modified.With the lightweight network MobileNetv2, the detection efficiency is improved to ensure the accuracy of semantic segmentation.To address the issues of missed and false detections, shallow fusion features were added after the backbone network to reduce detail loss and improve the accuracy of small target segmentation.Additionally, lightweight channel and www.nature.com/scientificreports/spatial attention mechanisms were incorporated after dilated convolution to enhance focus on pixels surrounding defects at two levels.This approach ensures more accurate defect edge segmentation and maintains robustness in complex and variable industrial scenarios.

46In addition, due to the presence of numerous defects and varying detection difficulties in industrial scenarios, this method employs a dynamic threshold strategy Initially, a low threshold model is used to fit the defects better, while a higher threshold in the later stages focuses on segmentation details to ensure final detection accuracy.Extensive experiments under various data settings demonstrate that this method significantly improves model performance and surpasses other mainstream methods in industrial scenarios.

47In terms of potential future research directions and broader impact considerations, the proposed semisupervised defect detection framework could be further enhanced by exploring more efficient network architectures, expanding to a wider range of defect types, and integrating with automated inspection systems.Beyond the specific applications presented, this framework has the potential to be applied in diverse industrial domains, thereby improving production efficiency and quality control.Moreover, such advancements could lead to broader social benefits, such as ensuring product safety and reducing environmental waste, while also considering ethical implications related to data privacy and algorithmic bias as the technology is integrated into larger automated inspection systems.

Fig. 1 .

48Fig. 1.Semi-supervised learning framework.

Fig. 2 .

49Fig. 2. Structure diagram of the semantic segmentation model.

Fig. 3 .

50Fig. 3. Schematic diagram of attention mechanism.

Fig. 4 .

51Fig. 4. Effects of adding lightweight attention modules.

Fig. 5 .

52Fig. 5. Structure of shallow feature fusion.

Fig. 6 .

53Fig. 6.Low contrast and background noise.

Fig. 7 .

54Fig. 7. Noodles dataset defect detection.

Fig. 9 .

55Fig. 9. Example of KolektorSDD dataset.

Fig. 10 .

56Fig. 10.Example of steel dataset.

Fig. 11 .

57Fig. 11.Defect detection effect under different improvements.(a) input image; (b) mask; (c) single-branch disturbance (substantial enhancement and weak enhancement disturbance) at the image-level; (d) Doublebranch disturbance at the image-level and feature-level; (e) Improve the network DeepLabv3Plus+Simplified MobileNetv2; (f) Pay more attention to the defective parts in channels and spaces and increase shallow feature fusion.

Table 1 .

58Original MobileNetv2 network structure.

Table 2 .

59Improved MobileNetv2 network structure.

Table 4 .

60DataSet description.

Table 5 .

61Training and testing environment.

62Vol.:(0123456789) Scientific Reports | (2024) 14:21874 | https://doi.org/10.1038/s41598-024-72579-6

Table 6 .

63Performance metrics of the proposed framework compared to SOTA methods.

Label folds Broken egg shell mIoU/% F1 score Pixel accuracy% mIoU/% F1 score Pixel accuracy%

64Vol.:(0123456789) Scientific Reports | (2024) 14:21874 | https://doi.org/10.1038/s41598-024-72579-6www.nature.com/scientificreports/Fig. 8.Comparison effect diagram with SOTA method.

Table 7 .

65Comparison results with the SOTA method.

66MethodmIoU/% 1/16(156) 1/8(312) 1/4(625) 1/2(1250)

Table 8 .

67Comparison results of different segmentation models.

Table 9 .

68Comparison results with the SOTA method in public datasets.

Table 10 .

69Comparison results of different segmentation models.

Table 11 .

70GPU memory usage and utilization.

Table 12 .

71Ablation experiments with different modules added. 1 Two-Branch Perturbation Cross Pseudo Supervision Model. 2 Lightweight Attention Module. 3Shallow Feature Fusion.

or module mIoU/% Parameter/M Speed/fps Base TPCPS 1 Our DeepLabv3+ LAM 2 SFF 3

72Vol.:(0123456789) Scientific Reports | (2024) 14:21874 | https://doi.org/10.1038/s41598-024-72579-6

참고문헌 35건

  1. U-Net: Convolutional Networks for Biomedical Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-24574-4_28
  2. Fast image segmentation using region merging with a k-Nearest Neighbor graph IEEE Conference on Cybernetics and Intelligent Systems · 2008 10.1109/iccis.2008.4670856
  3. A Survey on Anomaly Detection, Life Prediction and Maintenance Decision for Industrial Processes ACTA AUTOMATICA SINICA · Elsevier BV · 2014 10.3724/sp.j.1004.2013.00711
  4. Pyramid Scene Parsing Network 2017 10.1109/cvpr.2017.660
  5. Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1802.02611
  6. CBAM: Convolutional Block Attention Module Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01234-2_1
  7. Deep High-Resolution Representation Learning for Human Pose Estimation 2019 10.1109/cvpr.2019.00584
  8. SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2016.2644615
  9. Self-training with Noisy Student improves ImageNet classification arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1911.04252
  10. FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2001.07685
  11. Visual-Based Defect Detection and Classification Approaches for Industrial Applications—A SURVEY Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20051459
  12. ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks 2020 10.1109/cvpr42600.2020.01155
  13. TrustMAE: A Noise-Resilient Defect Classification Framework using Memory-Augmented Auto-Encoders with Trust Regions arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2012.14629
  14. Deep Unsupervised Anomaly Detection 2021 10.1109/wacv48630.2021.00368
  15. Semantic Segmentation with Generative Models: Semi-Supervised Learning and Strong Out-of-Domain Generalization arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2104.05833
  16. DLSE-Net: A robust weakly supervised network for fabric defect detection Displays · Elsevier BV · 2021 10.1016/j.displa.2021.102008
  17. ST++: Make Self-training Work Better for Semi-supervised Semantic Segmentation arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2106.05095
  18. Semi-Supervised Semantic Segmentation with Cross Pseudo Supervision arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2106.01226
  19. Semi-Supervised Semantic Segmentation via Adaptive Equalization Learning arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2110.05474
  20. Semi-Supervised Semantic Segmentation Using Unreliable Pseudo-Labels arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2203.03884
  21. FN-Net: A lightweight CNN-based architecture for fabric defect detection with adaptive threshold-based class determination Displays · Elsevier BV · 2022 10.1016/j.displa.2022.102241
  22. DSMSA-Net: Deep Spatial and Multi-scale Attention Network for Road Extraction in High Spatial Resolution Satellite Images Arabian Journal for Science and Engineering · Springer Science+Business Media · 2022 10.1007/s13369-022-07082-z
  23. A novel deep convolutional neural network algorithm for surface defect detection Journal of Computational Design and Engineering · Oxford University Press · 2022 10.1093/jcde/qwac071
  24. Clustering memory-guided anomaly detection model for large-scale screening of esophageal endoscopic images Journal of Computational Design and Engineering · Oxford University Press · 2022 10.1093/jcde/qwac073
  25. Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentation arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2208.09910
  26. Novel industrial surface-defect detection using deep nested convolutional network with attention and guidance modules Journal of Computational Design and Engineering · Oxford University Press · 2022 10.1093/jcde/qwac115
  27. Augmentation Matters: A Simple-yet-Effective Approach to Semi-supervised Semantic Segmentation arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2212.04976
  28. Semi-Supervised Semantic Segmentation via Gentle Teaching Assistant arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2301.07340
  29. A Survey of Surface Defect Detection Based on Deep Learning Proceedings of the 2020 5th International Conference on Modern Management and Education Technology (MMET 2020) · 2022 10.2991/978-2-494069-51-0_51
  30. Conflict-Based Cross-View Consistency for Semi-Supervised Semantic Segmentation arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2303.01276
  31. Hunting Sparsity: Density-Guided Contrastive Learning for Semi-Supervised Semantic Segmentation 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2023 10.1109/cvpr52729.2023.00304
  32. MFF-Net: A multitask feature fusion network in dual-frequency domains for detecting smoke from one single picture Displays · Elsevier BV · 2023 10.1016/j.displa.2023.102576
  33. Differentiable double clustering with edge-aware superpixel fitting for unsupervised image segmentation Displays · Elsevier BV · 2024 10.1016/j.displa.2024.102721
  34. WSS-YOLO: An improved industrial defect detection network for steel surface defects Measurement · Elsevier BV · 2024 10.1016/j.measurement.2024.115060
  35. Industrial defective chips detection using deep convolutional neural network with inverse feature matching mechanism Journal of Computational Design and Engineering · Oxford University Press · 2024 10.1093/jcde/qwae019