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

A spatial–spectral adaptive learning model for textile defect images recognition with few labeled data

간접 관련 패션 · (24) 패션(코오롱FnC) (17) 스펀본드 부직포

기본 정보

저자
  1. Yuan Zhang — China Telecom Research Institute, Shanghai, 200122, China
  2. Tao Han — China Telecom Research Institute, Shanghai, 200122, China
  3. Bing Wei — College of Information Sciences and Technology, Donghua University, Shanghai, 201620, China
  4. Kuangrong Hao — College of Information Sciences and Technology, Donghua University, Shanghai, 201620, China
  5. Lei Gao — Commonwealth Scientific and Industrial Research Organization (CSIRO), Canberra, 5064, Australia
DOI
10.1007/s40747-023-01070-y
저널
Complex & Intelligent Systems
발행년도
2023
발행기관
Springer Science+Business Media
피인용수
7
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s40747-023-01070-y
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4382178113

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(17) 스펀본드 부직포
R&D 측면
공정·제조
확신도
0.80
근거 용어
textile defect recognition, quality control, textile manufacturing, semi-supervised learning, deep learning
판단 근거
본 논문은 섬유 제조 공정 중 품질 관리를 위한 딥러닝 기반의 섬유 결함 인식 기술을 다루고 있습니다.
R&D 활용 포인트
코오롱인더스트리의 산업용 섬유 및 부직포 제조 공정에서 자동화된 품질 검사(Visual Inspection) 시스템의 정확도를 높이는 데 활용 가능합니다.
평가 입력
섹션 본문 33,758자 중 30,032자 발췌

초록

Abstract Textile defect recognition is a significant technique in the production processes of the textile industry. However, in the practical processes, it is hard to acquire large amounts of textile defect samples. Meanwhile, the textile samples with correct defect labels are rare. To address these two limitations, in this paper, we propose a novel semi-supervised graph convolutional network for few labeled textile defect recognition. First, we construct the graph convolutional network and convolution neural network to extract spectral features and spatial features. Second, the adaptive convolution structure is proposed to generate adaptive kernels according to their dynamically learned features. Finally, the spatial–spectral adaptive unified learning network (SSA-ULNet) is built for limited labeled defective samples, and graph-based semi-supervised learning is constructed. The textile defect recognition model can extract the textile image features through the image descriptors, enabling the whole network to be end-to-end trainable. To evaluate the proposed method, one public dataset and two unique self-built textile defect datasets are used to textile defect recognition. The evaluation results demonstrate that the proposed SSA-ULNet obviously outperforms existing state-of-the-art deep learning methods.

본문 34,769자

본문 펼치기
Textile defect recognition is a significant technique in the production processes of the textile industry.However, in the practical processes, it is hard to acquire large amounts of textile defect samples.Meanwhile, the textile samples with correct defect labels are rare.To address these two limitations, in this paper, we propose a novel semi-supervised graph convolutional network for few labeled textile defect recognition.First, we construct the graph convolutional network and convolution neural network to extract spectral features and spatial features.Second, the adaptive convolution structure is proposed to generate adaptive kernels according to their dynamically learned features.Finally, the spatial-spectral adaptive unified learning network (SSA-ULNet) is built for limited labeled defective samples, and graph-based semi-supervised learning is constructed.The textile defect recognition model can extract the textile image features through the image descriptors, enabling the whole network to be end-to-end trainable.To evaluate the proposed method, one public dataset and two unique self-built textile defect datasets are used to textile defect recognition.The evaluation results demonstrate that the proposed SSA-ULNet obviously outperforms existing state-of-the-art deep learning methods. Introduction The textile defect recognition plays a vital role in product quality control in the textile industry.Recently, textile defect recognition still relies on workers' visual inspection in most textile factories.Due to the low efficiency and high labor intensity, textile defect inspection in automation is an essential process in the textile manufacturing industry. Introduction Currently, there are mainly five categories of methods to solve the problem of textile defect recognition.The first efficient way is the statistical-based algorithms.These methods mainly extract spatial information of image gray value in dif-ferent ways, e.g., morphology [1].They can quickly complete the recognition task, but they are easily affected by external interference.The spectral-based methods are the second way, which transform the image from the time domain to the frequency domain, e.g., Fourier Transform [2] and Gabor Transform [3].The advantage of these algorithms is that they can accurately recognize defects by using frequency domain information, but the disadvantage is that they require a lot of computing resources.The third efficient approach is the learning-based algorithms.These methods extract the feature information of the data, such as neural networks [4,5] and deep learning [6].They have good feature representation ability, but the disadvantage is the uninterpretability of the extracted feature information.The structure-based algorithms are the fourth way, which mainly have the texture analysis ability [7].However, when the textile defects are small with inconspicuous features, the algorithms do not have a good ability to identify the defects.The fifth efficient way is the model-based method, which depicts textile texture patterns by modeling special distributions [8].The advantage of this method is that textile defects can be identified by adjusting the parameters, but if the appropriate parameters are not selected, the convergence rate of this method will be excep-tionally slow.Moreover, with more efficiency and quality requirements, the existing intelligent recognition algorithms can no longer meet these new requirements. Introduction During the recent years, the deep learning methods have achieved an enormous success in image recognition [9], image segmentation [10,11], and object detection [12,13].For instance, Shi et al. [14] presented a multiscale contrastive graph convolutional network for unconstrained face image recognition task.For the visual image question generation task, a radial graph convolutional network [15] was proposed to quickly find the core answer area in an image.In this method, a sparse graph of the radial structure was built to capture the relations between the peripheral nodes and the core node.Meanwhile, due to the powerful feature representation and defect expression ability of deep learning on textile defect images, some textile defect recognition tasks [16] were processed using deep learning algorithms.For example, in order to improve the discrimination of textile defect recognition, Li et al. [17] presented fisher criterion-based stacked denoising autoencoders.In this approach, a fisher criterion-based loss function was designed to improve the detection accuracy when only limited negative samples were available.Mei et al. [18] proposed an unsupervised learning approach for textile defect recognition, which reconstructed image patches with a convolutional denoising autoencoder (CDAE) framework.To detect and localize defects with only defect-free samples, Mei et al. [19] also proposed a multiscale convolutional denoising autoencoder model.Meanwhile, this approach used an inverted pyramid architecture to reconstruct image patches at different resolution scales.However, as most of them are focusing on defect recognition accuracy, deep learning models require deeper networks and large amounts of training data.Thus, the deep structure will lead to higher computational cost. Introduction In the above deep learning methods, supervised learningbased methods are suitable for situations where a large of defect-free and defective samples with reasonable annotations are provided.However, in most cases, there are not enough labeled samples for model training, and the occurrence of defective products is random.The supervised learning-based methods have limitations in such applications.In this paper, we propose a novel semi-supervised spatial-spectral neural network for few labeled textile defect recognition.The spatial-spectral adaptive unified learning network (SSA-ULNet) can obtain both spectral feature information and spatial feature information of the textile image, which has not been widely recognized and studied but is of significant importance.The main contributions of this paper are described as follows. Introduction (1) We propose a new end-to-end framework for textile defect recognition with few labeled data, which can transform the task of textile defect recognition into a task based on semisupervised method. Introduction (2) We present two feature extraction modules to extract the spectral-spatial features of textile defect images.Moreover, a spatial adaptive kernel is constructed and integrated to learn the correlations of distinctive features. Introduction (3) We build two textile defect benchmark datasets to evaluate the empirical performance of SSA-ULNet.Experimental results show that the textile defect recognition model achieves outstanding performance in a series of textile defect recognition challenges. Introduction The rest of paper is organized as follows.Section 2 summarizes the deep learning-based textile defect recognition methods and the graph convolutional networks.Section 3 presents details of the proposed SSA-ULNet.Section 4 describes extensive experimental results and analyses on one public dataset and two unique self-built textile defect datasets.Section 5 concludes the conclusion and future work. Graph convolutional networks In this section, we describe the spectral-based GCN mathematically.Suppose an input signal x ∈ R n is a feature vector of all nodes of a graph, U = u 0 , u 1 , ..., u n−1 ∈ R n×n is the matrix of eigenvectors ordered by eigenvalues.Now, the graph convolution operation in spectral space is defined as Graph convolutional networks where * represents the convolution operation, F(•) represents graph Fourier transform, F −1 (•) represents inverse graph Fourier transform, g ∈ R n denotes the weight filter, the superscript T denotes the matrix transpose, denotes the elementwise product, G denotes the graph.Graph Fourier transform can eigendecompose the Laplacian matrix of a graph into eigenvalues and eigenvectors.Inverse graph Fourier transform can convert the signal in the frequency domain to the spatial domain.Then, a filter g θ is defined as: Graph convolutional networks The graph convolution is simplified as Graph convolutional networks In the GCN, g θ is a learnable network parameter, θ ∈ R N is the parameter in the Fourier domain.Then, Thomas et al. [20] extended the spectral convolution with Chebyshev polynomials (ChebNet) of the diagonal matrix of eigenvalues, i.e., g θ = K i=0 θ i T i ˜ , ∈ [−1, 1], ˜ = 2 /λ max − I n , I n denotes the identity matrix.Furthermore, the Chebyshev polynomials can be expressed as T i (x) = 2xT i−1 (x) − T i−2 (x).In this mathematical representation, T 0 (x) = 1, T 1 (x) = x.Therefore, a graph signal x can be expressed as Graph convolutional networks When the first-order approximation of ChebNet is introduced into GCN network, Eq. ( 4) can be expressed in a more concise form.Suppose L = 1 and λ max = 2, Eq. ( 4) is simplified as Graph convolutional networks where A represents adjacency matrix, diagonal matrix D denotes the degrees of A. Graph convolutional networks To further avoid overfitting and constrain the network parameters, the GCN network assume that θ = θ 0 = −θ 1 , graph convolution operation can be converted into the following way: Graph convolutional networks Meanwhile, Eq. ( 6) is further modified for multichannel inputs and outputs, which is expressed as follows: Graph convolutional networks where represents the learning parameters, Ā = I n + D − 1 2 AD − 1 2 and f (•) is an activation function.In the training processes of GCN network, the propagation rule is used as follows: Graph convolutional networks where à = A + I and Di,i = j Ãi, j , h (•) denote the nonlinear activation function. Deep learning-based textile defect recognition Deep learning has achieved state-of-the-art performance in textile defect recognition.At present, there are three types of deep learning-based methods for textile defect recognition and they are summarized as follows. Deep learning-based textile defect recognition (1) Supervised learning strategies use convolutional neural network (CNN) to complete the textile defect recognition task.For instance, Jeyaraj et al. [21] used CNN to learn the deep features and constructed an inspection system.Jun et al. [22] presented a two-stage learning-based deep framework for textile defect recognition.This approach used histogram equalization to enhance each image, and a fixed-size slider was used to crop the original image.To solve the data imbalance of textile defect sample, Jing et al. [23] presented a median frequency balancing loss function to overcome the sample imbalance and completed the textile defect recognition.To solve the problem of textile defect recognition in small sample sizes, Wei et al. [6] proposed the CS-CNN method, which was based on compressive sensing and CNN.This approach augmented the small sample data through compressive sampling, and the data features were classified using a CNN model.However, the disadvantage of the above method is that it relies on massive computing power and network depth.To alleviate this problem, Wei et al. [24] presented a biological visual inspired model, where the visual attention mechanism was used to deal with the interference of the texture background.Meanwhile, the visual gain mechanism was used to deal with the classification problem of small textile defects.Furthermore, Wei et al. [25] proposed multi-level multi-attentional deep learning model, aiming to recognize the multi-label textile defect images.In the model, the multi-level structure was constructed to enhance the representation ability of defect features, and the multi-attentional mechanism was incorporated to weaken the features in the foreground regions. Deep learning-based textile defect recognition (2) Unsupervised learning methods, e.g., generative adversarial network (GAN) [26] and denoising autoencoders [18], recognize the textile defect when only limited negative samples are available.For instance, Liu et al. [27] proposed a multistage GAN framework for complex-textured fabric defect recognition, in which the multistage GAN was used to synthesize defects of unseen defect-free fabric samples.By combining textile defect features with unsupervised learning, this model can learn existing textile defect samples and automatically adapt to the different textures.Later, Li et al. [17] proposed discriminative representation with denoising autoencoders for patterned texture defect recognition.In this method, the fisher criterion-based SDA framework was used to efficiently inspect defects on periodic pattern and jacquard pattern textiles.Subsequently, Mei et al. [19] proposed a multiscale convolutional denoising autoencoder to detect and localize defects only using defect-free samples for model training.To address the issue that only a small number of defect-free texture samples are available for training, Yang et al. [28] presented unsupervised multiscale featureclustering-based fully convolutional autoencoder for visual inspection of texture defects.In this approach, in the case of only a small number of defect-free texture samples, the unsupervised model can effectively inspect various types of texture defects by using multiple subnetworks.The advantage of this unsupervised strategy is that it can provide a solution for defect recognition with a small number of defectfree textile samples.However, the unsupervised architecture just completes the clustering of feature information, and does not have robustness for complex texture background. Deep learning-based textile defect recognition (3) Semi-supervised learning provides the textile defect recognition method that combines supervised learning with unsupervised learning in a framework.Most importantly, in the practical industrial processes, large amounts of textile defect samples are difficult to obtain, and meanwhile, samples with correct labels are rare.In this case, the semisupervised learning method can provide a key technical approach to solving these problems.For instance, Zhou et al. [29] attempted to extract feature information and performed density estimation based on a hybrid deep learning method via a semi-supervised strategy.This method can accurately construct defect region boundaries based on Gaussian mixture model and variational autoencoder.Wang et al. [30] introduced a graph guidance mechanism into CNN, which utilized graph guided CNN to extract textile surface defect features.In these approaches, the semi-supervised methods can recognize defects on the basis of both image label and latent space information.However, these approaches do not fully utilize the spatial-spectral information of the data sample.Meanwhile, these methods cannot tune network parameters adaptively during the training process.To cope with these challenges, we propose a novel semi-supervised SSA-ULNet for textile defect image recognition with few labeled data. The proposed method In this section, the overall architecture of SSA-ULNet and its three modules including spectral feature extraction, spatial feature extraction, and adaptive weight refinement are shown in Fig. 1.In this approach, the spectral feature extraction module and spatial feature extraction module extract the features of textile defect image, and the adaptive weight refinement module learns the correlations of distinctive features.The final recognition results are achieved by the full connection layer and softmax function.This section introduces the new model by three modules related to the main sub processes. Spectral feature extraction In our work, we view textile defect image recognition as a semi-supervised graph learning problem.GCN can learn features by gradually aggregating information, which is a novel semi-supervised network.Figure 2 provides the architecture of the spectral feature extraction based on GCN structure.The preprocessed textile defect image X ∈ R n×d is taken as inputs.Here, d represents the feature dimension, n represents the number of nodes.Define an undirected graph g = (V , E) for the following learning process.V = {v i |i ∈ {1, ..., N } } and E = e i, j |∀i, j ∈ {1, ..., N } are the sets of nodes and edges, respectively.A ∈ R n×n is defined as the adjacency matrix, and every node in the graph is assumed to be connected to each other.In general, we use the following radial basis function to compute each element in A: Spectral feature extraction where the parameter δ is used to control the width of radial basis function.Vectors x i and x j represent the spectral signatures associated with the vertexes v i and v j .Once the adjacency matrix A is given, the graph Laplacian matrix L is constructed as follows: Spectral feature extraction where D denotes the degrees of A, i.e., D i,i = j A i, j [31] and D is a diagonal matrix.Furthermore, a modified Laplacian matrix, which is called symmetric normalized Laplacian matrix [32], is used to enhance the generalization ability of the graph: Spectral feature extraction where I is the identity matrix.By referring to [32] and Eq. ( 8), GCN for textile defect image can be finally formulated as: Spectral feature extraction where à = A + I and Di,i = j Ãi, j are defined as the renormalization terms of A and D, respectively.h (•) is the activation function with respect to the weights to be learned W (l) and the biases b (l) . Spectral feature extraction GCN aggregates image features from the neighbors of each node and performs information propagation on a graph.In multilayer GCN, GCN updates all node states based on a weighted sum of the features of their neighbors [33].For spectral feature learning on a graph, GCN can capture the spectral dependencies among samples through information propagation of adjacent nodes and graph node updates. Spatial feature extraction The semi-supervised GCN can learn the spectral features of an input image.The disadvantage of this structure is that the adjacent matrix fails to reveal the effective spatial Spatial feature extraction where x l cj is the feature map, l is the number of the convolutional layer, the subscript j denotes the channel of the convolutional layer, the subscript c denotes the convolution layer parameters, u l cj is the activation result of the network, M j is the subset of feature maps, k l i j is the convolution kernel, b l cj is the bais, " * " denotes the convolution calculation on the input.The pooling layer computes the feature maps: Spatial feature extraction where down (•) denotes the down sampling function, β l j is the weights, the subscript p denotes the pooling layer parameters, b l pj denotes the bais, u l pj is the output of the pooling layer.In addition, to enhance the feature representation and nonlinear ability, the three convolution layers and nonlinear activation function ReLU are applied in this network. Adaptive weight refinement To further learn the correlations among the features, spatial adaptive weight is designed and integrated into the model.For the textile defect recognition task, the adaptive weight refinement can increase its sensitivity to informative features.The adaptive weight refinement (AWR) can be expressed as AW R = (y s , adaptive_W ).adaptive_W represent adaptive weight.Similar to the work [34], a learning-based adaptive weighting strategy is used for AWR.Here, we consider two computing operations.First, AWR uses the global average pooling to generate channel-wise statistics.Formally, z s ∈ R C is generated by shrinking y s through the spatial dimensions C 1 × C 2 : Adaptive weight refinement where C 1 and C 2 correspond to the length and width of the features; z s is the output of the transformations y s , and can be considered as a collection of local descripts.Second, we adopt the global average pooling to aggregate feature information and capture the channel-wise dependencies of feature information.To achieve the goals, the designed function needs to satisfy two criteria: (1) this function must have the ability to learn the nonlinear interaction among channels, which means must be flexible; (2) the function must learn a non-mutually exclusive relationship, thus ensuring that the multiple channel information can be emphasized.Here, similar to the work [35], we use the gating mechanism to complete the desired function: Adaptive weight refinement where Adaptive weight refinement , δ refers to the ReLU function, σ is the Sigmoid function, and r is the reduction ratio.The importance of different weights is described as the output s s . Adaptive weight refinement Then, the output of AWR can be calculated: Adaptive weight refinement where Batch_N orm (•) is the batch normalization strategy, which can complete the normalization operation of feature information. Adaptive weight refinement Combining the output of GCN and Eq. ( 18), the final output is obtained: Adaptive weight refinement where H is the spectral feature representation, Y represents the spatial feature representation; M (•) is feature fusion operation.Here we use the concatenation to complete the fusion. Adaptive weight refinement Thus, the whole model can integrate the spectral features and the spatial features by exploring rich underlying spectralspatial features. Learning process of the proposed network A deep network usually requires many training data to learn the parameters of the model.In this paper, we train the SSA-ULNet model with few labeled textile defect data.Since the optimizer Adam [36] is an extension of stochastic gradient descent, and is widely used in the training process of deep learning models.We use the Adam optimization algorithm to optimize the network.The learning rate is initially set as 0.001.During training the model, the learning rate can be updated dynamically by multiplying by a base learning rate.The L2 loss is used in the training process, which can improve the stabilization of SSA-ULNet learning process.To optimize the proposed model, the model takes the properties of mini-batch fashion [32] into consideration.In the training process, the maximum number of epochs is set to 1,000.The size of each batch of training samples is 128.Batch normalization is adopted with the 0.9 momentum.The training and testing are performed on a Linux workstation with 128GB RAM, and Nvidia Quadro RTX 6000 GPUs (24182 MiB). Experimental evaluation and discussion In this section, the performance of proposed SSA-ULNet is tested on one public dataset and two unique self-built textile defect datasets (DHU-Semi1000, Aliyun-Semi10500).Each dataset is divided into two parts for training and testing the proposed model.The content of this section is organized in three subsections below. Experimental evaluation and discussion (1) We describe the experimental setup, including dataset overview on one public dataset, two unique self-built textile defect datasets and evaluation metrics. Experimental evaluation and discussion (2) We present experimental results, including performance comparison with three types of learning-based approaches and ablation study in different components of SSA-ULNet. Experimental evaluation and discussion (3) We present analysis and discussion of the experimental results, including the effect of number of GCN layers and CNN layers, the performance with percentage of missing labels. Dataset overview In our experiments, the public dataset [4] and two self-built datasets (DHU-Semi1000, Aliyun-Semi10500) are used to verify the effectiveness of the proposed method.The former consists of 1000 samples of fabrics.This dataset is artificial generated, but similar to real world and has been widely used for textile defect image recognition.Two self-built datasets are built to evaluate effectiveness of the proposed SSA-ULNet, which are described as follows.DHU-Semi1000: The original textile defect images captured by CCD camera, which contain interference such as stain and irregular texture.The type of textile products is weaving fabric.The pixels of each original image are 1280 × 1024.We perform the transformation, segmentation, and diversification to eliminate the interference of background and the acquisition process.The size of each image used in the training and testing process is 227 × 227.DHU-Semi1000 consists of approximately 1000 samples, including 100 defect-free images and 900 defect images.DHU-Semi1000 contains ten categories of textile defects, each with 100 images.Table 1 shows the classes of the DHU-Semi1000 dataset, with the number of training and test samples for each class.Figure 3 shows some defect-free and defect samples in the DHU-Semi1000 dataset. Dataset overview Aliyun-Semi10500: We collect the Aliyun-Semi10500 dataset from the public textile classification competition (TianChi competition [37]).Aliyun-Semi10500 contains 10,500 textile defect images, which fall into seven classes.This dataset contains 9000 textile defect images and 1,500 defect-free textile images.Each image in this dataset is 224 × 224 pixels.The seven classes mainly include broken pick, broken end, stain, and felter, hole, crack, and normal (defect-free).Table 2 shows the classes of the Aliyun-Semi10500 dataset, with the number of training and test samples for each class.For training the SSA-ULNet, 30% of the images are used as training samples, and the remaining 70% samples are used as test data in each dataset. Evaluation metrics Several quantitative indicators are selected to evaluate the recognition of one public dataset and two self-built datasets, which include error rate [33], accuracy, recall [22], and f1 score [22].The indicator accuracy is the percentage of all testing samples that are corrected recognized, which can be formulated as: Evaluation metrics where T P is true positive rate, F N is false negative rate, T N is true negative rate, F P is the false positive rate.Meanwhile, error rate is another important indicator to measure the recognition performance of the model, which is used to evaluate the learning process. Performance comparison The recognition performance of the proposed method is evaluated on one public dataset and two self-built datasets. Performance comparison To comprehensively evaluate the effectiveness of the SSA-ULNet, we compare the method with three types of learningbased approaches.For the supervised learning method, SVM [38], CNN [39], VGG16 [36], Xception [40], VMVI-CNN [4], and VIN-Net [35] are the popular methods used to evaluate the textile defect recognition performance.For semi-supervised learning, GCN [20], Mini-GCN [41], and FuNet-C [32] are compared with the SSA-ULNet in textile defect recognition.For unsupervised learning, GAN [27] is used to compare with our proposed method.Table 3 shows the recognition results for different methods on the public textile dataset FDI-1000.Testing time represents the total time spent on the testing set.It can be seen from Table 3 that the accuracy of our proposed method can achieve 87.62%, which is the best recognition performance compared to other methods.Meanwhile, comparing the performance indicators recall and F1 score, we can find that the proposed SSA-ULNet also achieves the best image recognition performance.In terms of the time computation, our proposed method requires more testing time than the other ones during the testing processes.Tables 4 and 5 show the recognition results of textile defect images for different methods on two benchmark textile datasets.Compared with all the competitors, it can be seen that SSA-ULNet achieves the best recognition performance.Note that CNN, VGG16, VMVI-CNN, VIN-Net, and Xception exhibit under-fitting as there are not enough labeled samples for training.This shows that when there are a large number of labeled samples for training, the supervised learning method will achieve better recognition performance than the unsupervised learning method.For the unsupervised learning method, the advantage of the algorithm is that it does need not use labeled training samples, but the experiment performance usually cannot be guaranteed.These results show that SSA-ULNet is an effective approach for textile defect recognition with few labeled samples.Meanwhile, we can see that the recognition accu-racy of SAA-GCN is 62.82% on Aliyun-Semi10500, which can not achieve better recognition performance possibly due to the following two reasons.Firstly, the background and textures of Aliyun-Semi10500 are more indistinguishable than the DHU-Semi1000 dataset.Secondly, in the Aliyun-Semi10500 dataset, the feature distribution on the training set does not well match the feature distribution on the testing set. Ablation study As mentioned in Section III, our proposed SSA-ULNet contains three critical components for textile defect recognition, i.e., spectral feature extraction (GCN), spatial feature extraction (CNN), and adaptive weight refinement.Here, we use two textile datasets to demonstrate the usefulness of these three structures.In the ablation study, we investigate the effectiveness of different components of SSA-ULNet. Ablation study The recognition performance of SSA-ULNet without GCN, SSA-ULNet without CNN, SSA-ULNet without GCN and adaptive weight, SSA-ULNet without CNN and adaptive weight, and SSA-ULNet without adaptive weight are compared with the SSA-ULNet model.Tables 6 and 7 show the ablation experiment results on the two textile datasets.Based on the comparison results, it can be concluded that our SSA-ULNet model can obtain the best performance.As shown in Tables 6 and 7, the SSA-ULNet (without CNN) exhibits the effectiveness of the textile defect recognition.This is because SSA-ULNet (without CNN) can learn the semi-supervised spectral features and adaptively weights.Comparing the performance between the SSA-ULNet (without CNN) and SSA-ULNet (without GCN), one can find that GCN structure is more helpful than CNN structure in defect recognition.Furthermore, comparing the performance between SSA-ULNet (without GCN) and SSA-ULNet (without GCN+ adaptive), we find that the adaptive weight refinement is an important component in improving the recognition performance of textile defect images. Numbers of GCN layers and CNN layers In this section, we evaluate the performance of SSA-ULNet with different settings of network parameters.The recognition results of the proposed method with different GCN layers and convolutional layers are evaluated on DHU-Semi1000, as shown in Fig. 4. Numbers of GCN layers and CNN layers Analyzing the curve on Fig. 4, we can see that, the proposed SSA-ULNet is influenced by the number of GCN layers.The performance of the network is improved until it reaches a given optimal point.Meanwhile, analyzing it we can see that SSA-ULNet is also influenced by the number of CNN layers.Our approach is able to achieve state-of-theart results on three-layer CNN structure.Furthermore, the two-layer GCN structure is sufficient to capture the spectral feature information with few labeled data.This phenomenon can be caused by high-order irrelevant spectral features in the learning process.The irrelevant spectral features of different classes may blur the discrimination of interclass information.Furthermore, the three layers of CNN structures can ensure the best performance of the model.The performance with the percentage of missing labels Numbers of GCN layers and CNN layers We analyze the impacts of different label rates on recognition performance.Label rate denotes the number of labeled samples that are used for training divided by the total number of samples in each dataset.Table 8 shows the recognition results with different label rates on the DHU-Semi1000 dataset.We find that the defect recognition accuracy is 86.57% when the label rate is 30%.Meanwhile, when the label rate is 10%, the defect image recognition accuracy is 50.13%.It can be concluded that the performance of the proposed approach will decrease significantly when the number of labeled samples is reduced in the dataset.A reasonable explanation for this finding is that the diversity of textile background and textures brings certain difficulties to effective identification. Training stability of the network Since the network is trained end-to-end with a semisupervised learning algorithm via error backpropagation, the training stability of the network is an important indicator of the network performance.During the training processes, we track the changing trend of the initial weights.Here, the six random weights are selected to be tracked, and the trajectories of the selected weights are shown in Figs. 5 and 6.From the Figs. 5 and 6, we can see that the random selected weights can coverage to the stable state on datasets DHU-Semi1000 and Aliyun-Semi10500.The experimental results can further confirm the network stability of the whole network framework. Conclusions and future work In this paper, a semi-supervised neural network with few labeled data has been applied to textile defect image recognition.To alleviate the limitations of traditional deep learning models, SSA-ULNet, a novel textile image recognition model is proposed for spectral-spatial-related feature extraction.We use the GCN structure to obtain the spectral feature information of the textile image.Then, the CNN structure is used to address the spatial feature information.Furthermore, the adaptive spatial weight is designed to learn the correlations among the features.Finally, one public dataset and two self-built datasets are used to evaluate effectiveness of the proposed SSA-ULNet model.Experiments confirm that the novel model can achieve good recognition results on different textile images.In the future, we would investigate the online textile defect image recognition problems.Besides, we would like to explore the interpretability and perform the theoretical analysis of the proposed model. Fig. 1 Fig. 2 Fig. 1 Spatial-spectral adaptive unified learning network for textile defect image recognition.Three major components are included in the whole model: spectral feature extraction module, spatial feature extraction module, and adaptive weight refinement module.Spectral feature Fig. 3 Fig. 3 Defect-free and defect samples: a two defect-free images, and b six defect images Fig. 4 Fig. 4 Recognition performance of different GCN and convolutional layers Fig. 5 Fig. 6 Fig. 5 Trajectories of the six selected weights [a ∼ f] on the DHU-Semi1000 Table 1 Classes of the DHU-Semi1000 dataset, with the number of training and test samples for each class Table 2 Classes of the Aliyun-Semi105000 dataset, with the number of training and test samples for each class Table 8 Effect of different network structures on Aliyun-Semi10500

섹션 본문 67문단 · 33,024자

(제목 없음)

1Textile defect recognition is a significant technique in the production processes of the textile industry.However, in the practical processes, it is hard to acquire large amounts of textile defect samples.Meanwhile, the textile samples with correct defect labels are rare.To address these two limitations, in this paper, we propose a novel semi-supervised graph convolutional network for few labeled textile defect recognition.First, we construct the graph convolutional network and convolution neural network to extract spectral features and spatial features.Second, the adaptive convolution structure is proposed to generate adaptive kernels according to their dynamically learned features.Finally, the spatial-spectral adaptive unified learning network (SSA-ULNet) is built for limited labeled defective samples, and graph-based semi-supervised learning is constructed.The textile defect recognition model can extract the textile image features through the image descriptors, enabling the whole network to be end-to-end trainable.To evaluate the proposed method, one public dataset and two unique self-built textile defect datasets are used to textile defect recognition.The evaluation results demonstrate that the proposed SSA-ULNet obviously outperforms existing state-of-the-art deep learning methods.

Introduction

2The textile defect recognition plays a vital role in product quality control in the textile industry.Recently, textile defect recognition still relies on workers' visual inspection in most textile factories.Due to the low efficiency and high labor intensity, textile defect inspection in automation is an essential process in the textile manufacturing industry.

3Currently, there are mainly five categories of methods to solve the problem of textile defect recognition.The first efficient way is the statistical-based algorithms.These methods mainly extract spatial information of image gray value in dif-ferent ways, e.g., morphology [1].They can quickly complete the recognition task, but they are easily affected by external interference.The spectral-based methods are the second way, which transform the image from the time domain to the frequency domain, e.g., Fourier Transform [2] and Gabor Transform [3].The advantage of these algorithms is that they can accurately recognize defects by using frequency domain information, but the disadvantage is that they require a lot of computing resources.The third efficient approach is the learning-based algorithms.These methods extract the feature information of the data, such as neural networks [4,5] and deep learning [6].They have good feature representation ability, but the disadvantage is the uninterpretability of the extracted feature information.The structure-based algorithms are the fourth way, which mainly have the texture analysis ability [7].However, when the textile defects are small with inconspicuous features, the algorithms do not have a good ability to identify the defects.The fifth efficient way is the model-based method, which depicts textile texture patterns by modeling special distributions [8].The advantage of this method is that textile defects can be identified by adjusting the parameters, but if the appropriate parameters are not selected, the convergence rate of this method will be excep-tionally slow.Moreover, with more efficiency and quality requirements, the existing intelligent recognition algorithms can no longer meet these new requirements.

4During the recent years, the deep learning methods have achieved an enormous success in image recognition [9], image segmentation [10,11], and object detection [12,13].For instance, Shi et al. [14] presented a multiscale contrastive graph convolutional network for unconstrained face image recognition task.For the visual image question generation task, a radial graph convolutional network [15] was proposed to quickly find the core answer area in an image.In this method, a sparse graph of the radial structure was built to capture the relations between the peripheral nodes and the core node.Meanwhile, due to the powerful feature representation and defect expression ability of deep learning on textile defect images, some textile defect recognition tasks [16] were processed using deep learning algorithms.For example, in order to improve the discrimination of textile defect recognition, Li et al. [17] presented fisher criterion-based stacked denoising autoencoders.In this approach, a fisher criterion-based loss function was designed to improve the detection accuracy when only limited negative samples were available.Mei et al. [18] proposed an unsupervised learning approach for textile defect recognition, which reconstructed image patches with a convolutional denoising autoencoder (CDAE) framework.To detect and localize defects with only defect-free samples, Mei et al. [19] also proposed a multiscale convolutional denoising autoencoder model.Meanwhile, this approach used an inverted pyramid architecture to reconstruct image patches at different resolution scales.However, as most of them are focusing on defect recognition accuracy, deep learning models require deeper networks and large amounts of training data.Thus, the deep structure will lead to higher computational cost.

5In the above deep learning methods, supervised learningbased methods are suitable for situations where a large of defect-free and defective samples with reasonable annotations are provided.However, in most cases, there are not enough labeled samples for model training, and the occurrence of defective products is random.The supervised learning-based methods have limitations in such applications.In this paper, we propose a novel semi-supervised spatial-spectral neural network for few labeled textile defect recognition.The spatial-spectral adaptive unified learning network (SSA-ULNet) can obtain both spectral feature information and spatial feature information of the textile image, which has not been widely recognized and studied but is of significant importance.The main contributions of this paper are described as follows.

6(1) We propose a new end-to-end framework for textile defect recognition with few labeled data, which can transform the task of textile defect recognition into a task based on semisupervised method.

7(2) We present two feature extraction modules to extract the spectral-spatial features of textile defect images.Moreover, a spatial adaptive kernel is constructed and integrated to learn the correlations of distinctive features.

8(3) We build two textile defect benchmark datasets to evaluate the empirical performance of SSA-ULNet.Experimental results show that the textile defect recognition model achieves outstanding performance in a series of textile defect recognition challenges.

9The rest of paper is organized as follows.Section 2 summarizes the deep learning-based textile defect recognition methods and the graph convolutional networks.Section 3 presents details of the proposed SSA-ULNet.Section 4 describes extensive experimental results and analyses on one public dataset and two unique self-built textile defect datasets.Section 5 concludes the conclusion and future work.

Graph convolutional networks

10In this section, we describe the spectral-based GCN mathematically.Suppose an input signal x ∈ R n is a feature vector of all nodes of a graph, U = u 0 , u 1 , ..., u n−1 ∈ R n×n is the matrix of eigenvectors ordered by eigenvalues.Now, the graph convolution operation in spectral space is defined as

11where * represents the convolution operation, F(•) represents graph Fourier transform, F −1 (•) represents inverse graph Fourier transform, g ∈ R n denotes the weight filter, the superscript T denotes the matrix transpose, denotes the elementwise product, G denotes the graph.Graph Fourier transform can eigendecompose the Laplacian matrix of a graph into eigenvalues and eigenvectors.Inverse graph Fourier transform can convert the signal in the frequency domain to the spatial domain.Then, a filter g θ is defined as:

12The graph convolution is simplified as

13In the GCN, g θ is a learnable network parameter, θ ∈ R N is the parameter in the Fourier domain.Then, Thomas et al. [20] extended the spectral convolution with Chebyshev polynomials (ChebNet) of the diagonal matrix of eigenvalues, i.e., g θ = K i=0 θ i T i ˜ , ∈ [−1, 1], ˜ = 2 /λ max − I n , I n denotes the identity matrix.Furthermore, the Chebyshev polynomials can be expressed as T i (x) = 2xT i−1 (x) − T i−2 (x).In this mathematical representation, T 0 (x) = 1, T 1 (x) = x.Therefore, a graph signal x can be expressed as

14When the first-order approximation of ChebNet is introduced into GCN network, Eq. ( 4) can be expressed in a more concise form.Suppose L = 1 and λ max = 2, Eq. ( 4) is simplified as

15where A represents adjacency matrix, diagonal matrix D denotes the degrees of A.

16To further avoid overfitting and constrain the network parameters, the GCN network assume that θ = θ 0 = −θ 1 , graph convolution operation can be converted into the following way:

17Meanwhile, Eq. ( 6) is further modified for multichannel inputs and outputs, which is expressed as follows:

18where represents the learning parameters, Ā = I n + D − 1 2 AD − 1 2 and f (•) is an activation function.In the training processes of GCN network, the propagation rule is used as follows:

19where à = A + I and Di,i = j Ãi, j , h (•) denote the nonlinear activation function.

Deep learning-based textile defect recognition

20Deep learning has achieved state-of-the-art performance in textile defect recognition.At present, there are three types of deep learning-based methods for textile defect recognition and they are summarized as follows.

21(1) Supervised learning strategies use convolutional neural network (CNN) to complete the textile defect recognition task.For instance, Jeyaraj et al. [21] used CNN to learn the deep features and constructed an inspection system.Jun et al. [22] presented a two-stage learning-based deep framework for textile defect recognition.This approach used histogram equalization to enhance each image, and a fixed-size slider was used to crop the original image.To solve the data imbalance of textile defect sample, Jing et al. [23] presented a median frequency balancing loss function to overcome the sample imbalance and completed the textile defect recognition.To solve the problem of textile defect recognition in small sample sizes, Wei et al. [6] proposed the CS-CNN method, which was based on compressive sensing and CNN.This approach augmented the small sample data through compressive sampling, and the data features were classified using a CNN model.However, the disadvantage of the above method is that it relies on massive computing power and network depth.To alleviate this problem, Wei et al. [24] presented a biological visual inspired model, where the visual attention mechanism was used to deal with the interference of the texture background.Meanwhile, the visual gain mechanism was used to deal with the classification problem of small textile defects.Furthermore, Wei et al. [25] proposed multi-level multi-attentional deep learning model, aiming to recognize the multi-label textile defect images.In the model, the multi-level structure was constructed to enhance the representation ability of defect features, and the multi-attentional mechanism was incorporated to weaken the features in the foreground regions.

22(2) Unsupervised learning methods, e.g., generative adversarial network (GAN) [26] and denoising autoencoders [18], recognize the textile defect when only limited negative samples are available.For instance, Liu et al. [27] proposed a multistage GAN framework for complex-textured fabric defect recognition, in which the multistage GAN was used to synthesize defects of unseen defect-free fabric samples.By combining textile defect features with unsupervised learning, this model can learn existing textile defect samples and automatically adapt to the different textures.Later, Li et al. [17] proposed discriminative representation with denoising autoencoders for patterned texture defect recognition.In this method, the fisher criterion-based SDA framework was used to efficiently inspect defects on periodic pattern and jacquard pattern textiles.Subsequently, Mei et al. [19] proposed a multiscale convolutional denoising autoencoder to detect and localize defects only using defect-free samples for model training.To address the issue that only a small number of defect-free texture samples are available for training, Yang et al. [28] presented unsupervised multiscale featureclustering-based fully convolutional autoencoder for visual inspection of texture defects.In this approach, in the case of only a small number of defect-free texture samples, the unsupervised model can effectively inspect various types of texture defects by using multiple subnetworks.The advantage of this unsupervised strategy is that it can provide a solution for defect recognition with a small number of defectfree textile samples.However, the unsupervised architecture just completes the clustering of feature information, and does not have robustness for complex texture background.

23(3) Semi-supervised learning provides the textile defect recognition method that combines supervised learning with unsupervised learning in a framework.Most importantly, in the practical industrial processes, large amounts of textile defect samples are difficult to obtain, and meanwhile, samples with correct labels are rare.In this case, the semisupervised learning method can provide a key technical approach to solving these problems.For instance, Zhou et al. [29] attempted to extract feature information and performed density estimation based on a hybrid deep learning method via a semi-supervised strategy.This method can accurately construct defect region boundaries based on Gaussian mixture model and variational autoencoder.Wang et al. [30] introduced a graph guidance mechanism into CNN, which utilized graph guided CNN to extract textile surface defect features.In these approaches, the semi-supervised methods can recognize defects on the basis of both image label and latent space information.However, these approaches do not fully utilize the spatial-spectral information of the data sample.Meanwhile, these methods cannot tune network parameters adaptively during the training process.To cope with these challenges, we propose a novel semi-supervised SSA-ULNet for textile defect image recognition with few labeled data.

The proposed method

24In this section, the overall architecture of SSA-ULNet and its three modules including spectral feature extraction, spatial feature extraction, and adaptive weight refinement are shown in Fig. 1.In this approach, the spectral feature extraction module and spatial feature extraction module extract the features of textile defect image, and the adaptive weight refinement module learns the correlations of distinctive features.The final recognition results are achieved by the full connection layer and softmax function.This section introduces the new model by three modules related to the main sub processes.

Spectral feature extraction

25In our work, we view textile defect image recognition as a semi-supervised graph learning problem.GCN can learn features by gradually aggregating information, which is a novel semi-supervised network.Figure 2 provides the architecture of the spectral feature extraction based on GCN structure.The preprocessed textile defect image X ∈ R n×d is taken as inputs.Here, d represents the feature dimension, n represents the number of nodes.Define an undirected graph g = (V , E) for the following learning process.V = {v i |i ∈ {1, ..., N } } and E = e i, j |∀i, j ∈ {1, ..., N } are the sets of nodes and edges, respectively.A ∈ R n×n is defined as the adjacency matrix, and every node in the graph is assumed to be connected to each other.In general, we use the following radial basis function to compute each element in A:

26where the parameter δ is used to control the width of radial basis function.Vectors x i and x j represent the spectral signatures associated with the vertexes v i and v j .Once the adjacency matrix A is given, the graph Laplacian matrix L is constructed as follows:

27where D denotes the degrees of A, i.e., D i,i = j A i, j [31] and D is a diagonal matrix.Furthermore, a modified Laplacian matrix, which is called symmetric normalized Laplacian matrix [32], is used to enhance the generalization ability of the graph:

28where I is the identity matrix.By referring to [32] and Eq. ( 8), GCN for textile defect image can be finally formulated as:

29where à = A + I and Di,i = j Ãi, j are defined as the renormalization terms of A and D, respectively.h (•) is the activation function with respect to the weights to be learned W (l) and the biases b (l) .

30GCN aggregates image features from the neighbors of each node and performs information propagation on a graph.In multilayer GCN, GCN updates all node states based on a weighted sum of the features of their neighbors [33].For spectral feature learning on a graph, GCN can capture the spectral dependencies among samples through information propagation of adjacent nodes and graph node updates.

Spatial feature extraction

31The semi-supervised GCN can learn the spectral features of an input image.The disadvantage of this structure is that the adjacent matrix fails to reveal the effective spatial

32where x l cj is the feature map, l is the number of the convolutional layer, the subscript j denotes the channel of the convolutional layer, the subscript c denotes the convolution layer parameters, u l cj is the activation result of the network, M j is the subset of feature maps, k l i j is the convolution kernel, b l cj is the bais, " * " denotes the convolution calculation on the input.The pooling layer computes the feature maps:

33where down (•) denotes the down sampling function, β l j is the weights, the subscript p denotes the pooling layer parameters, b l pj denotes the bais, u l pj is the output of the pooling layer.In addition, to enhance the feature representation and nonlinear ability, the three convolution layers and nonlinear activation function ReLU are applied in this network.

Adaptive weight refinement

34To further learn the correlations among the features, spatial adaptive weight is designed and integrated into the model.For the textile defect recognition task, the adaptive weight refinement can increase its sensitivity to informative features.The adaptive weight refinement (AWR) can be expressed as AW R = (y s , adaptive_W ).adaptive_W represent adaptive weight.Similar to the work [34], a learning-based adaptive weighting strategy is used for AWR.Here, we consider two computing operations.First, AWR uses the global average pooling to generate channel-wise statistics.Formally, z s ∈ R C is generated by shrinking y s through the spatial dimensions C 1 × C 2 :

35where C 1 and C 2 correspond to the length and width of the features; z s is the output of the transformations y s , and can be considered as a collection of local descripts.Second, we adopt the global average pooling to aggregate feature information and capture the channel-wise dependencies of feature information.To achieve the goals, the designed function needs to satisfy two criteria: (1) this function must have the ability to learn the nonlinear interaction among channels, which means must be flexible; (2) the function must learn a non-mutually exclusive relationship, thus ensuring that the multiple channel information can be emphasized.Here, similar to the work [35], we use the gating mechanism to complete the desired function:

36where

37, δ refers to the ReLU function, σ is the Sigmoid function, and r is the reduction ratio.The importance of different weights is described as the output s s .

38Then, the output of AWR can be calculated:

39where Batch_N orm (•) is the batch normalization strategy, which can complete the normalization operation of feature information.

40Combining the output of GCN and Eq. ( 18), the final output is obtained:

41where H is the spectral feature representation, Y represents the spatial feature representation; M (•) is feature fusion operation.Here we use the concatenation to complete the fusion.

42Thus, the whole model can integrate the spectral features and the spatial features by exploring rich underlying spectralspatial features.

Learning process of the proposed network

43A deep network usually requires many training data to learn the parameters of the model.In this paper, we train the SSA-ULNet model with few labeled textile defect data.Since the optimizer Adam [36] is an extension of stochastic gradient descent, and is widely used in the training process of deep learning models.We use the Adam optimization algorithm to optimize the network.The learning rate is initially set as 0.001.During training the model, the learning rate can be updated dynamically by multiplying by a base learning rate.The L2 loss is used in the training process, which can improve the stabilization of SSA-ULNet learning process.To optimize the proposed model, the model takes the properties of mini-batch fashion [32] into consideration.In the training process, the maximum number of epochs is set to 1,000.The size of each batch of training samples is 128.Batch normalization is adopted with the 0.9 momentum.The training and testing are performed on a Linux workstation with 128GB RAM, and Nvidia Quadro RTX 6000 GPUs (24182 MiB).

Experimental evaluation and discussion

44In this section, the performance of proposed SSA-ULNet is tested on one public dataset and two unique self-built textile defect datasets (DHU-Semi1000, Aliyun-Semi10500).Each dataset is divided into two parts for training and testing the proposed model.The content of this section is organized in three subsections below.

45(1) We describe the experimental setup, including dataset overview on one public dataset, two unique self-built textile defect datasets and evaluation metrics.

46(2) We present experimental results, including performance comparison with three types of learning-based approaches and ablation study in different components of SSA-ULNet.

47(3) We present analysis and discussion of the experimental results, including the effect of number of GCN layers and CNN layers, the performance with percentage of missing labels.

Dataset overview

48In our experiments, the public dataset [4] and two self-built datasets (DHU-Semi1000, Aliyun-Semi10500) are used to verify the effectiveness of the proposed method.The former consists of 1000 samples of fabrics.This dataset is artificial generated, but similar to real world and has been widely used for textile defect image recognition.Two self-built datasets are built to evaluate effectiveness of the proposed SSA-ULNet, which are described as follows.DHU-Semi1000: The original textile defect images captured by CCD camera, which contain interference such as stain and irregular texture.The type of textile products is weaving fabric.The pixels of each original image are 1280 × 1024.We perform the transformation, segmentation, and diversification to eliminate the interference of background and the acquisition process.The size of each image used in the training and testing process is 227 × 227.DHU-Semi1000 consists of approximately 1000 samples, including 100 defect-free images and 900 defect images.DHU-Semi1000 contains ten categories of textile defects, each with 100 images.Table 1 shows the classes of the DHU-Semi1000 dataset, with the number of training and test samples for each class.Figure 3 shows some defect-free and defect samples in the DHU-Semi1000 dataset.

49Aliyun-Semi10500: We collect the Aliyun-Semi10500 dataset from the public textile classification competition (TianChi competition [37]).Aliyun-Semi10500 contains 10,500 textile defect images, which fall into seven classes.This dataset contains 9000 textile defect images and 1,500 defect-free textile images.Each image in this dataset is 224 × 224 pixels.The seven classes mainly include broken pick, broken end, stain, and felter, hole, crack, and normal (defect-free).Table 2 shows the classes of the Aliyun-Semi10500 dataset, with the number of training and test samples for each class.For training the SSA-ULNet, 30% of the images are used as training samples, and the remaining 70% samples are used as test data in each dataset.

Evaluation metrics

50Several quantitative indicators are selected to evaluate the recognition of one public dataset and two self-built datasets, which include error rate [33], accuracy, recall [22], and f1 score [22].The indicator accuracy is the percentage of all testing samples that are corrected recognized, which can be formulated as:

51where T P is true positive rate, F N is false negative rate, T N is true negative rate, F P is the false positive rate.Meanwhile, error rate is another important indicator to measure the recognition performance of the model, which is used to evaluate the learning process.

Performance comparison

52The recognition performance of the proposed method is evaluated on one public dataset and two self-built datasets.

53To comprehensively evaluate the effectiveness of the SSA-ULNet, we compare the method with three types of learningbased approaches.For the supervised learning method, SVM [38], CNN [39], VGG16 [36], Xception [40], VMVI-CNN [4], and VIN-Net [35] are the popular methods used to evaluate the textile defect recognition performance.For semi-supervised learning, GCN [20], Mini-GCN [41], and FuNet-C [32] are compared with the SSA-ULNet in textile defect recognition.For unsupervised learning, GAN [27] is used to compare with our proposed method.Table 3 shows the recognition results for different methods on the public textile dataset FDI-1000.Testing time represents the total time spent on the testing set.It can be seen from Table 3 that the accuracy of our proposed method can achieve 87.62%, which is the best recognition performance compared to other methods.Meanwhile, comparing the performance indicators recall and F1 score, we can find that the proposed SSA-ULNet also achieves the best image recognition performance.In terms of the time computation, our proposed method requires more testing time than the other ones during the testing processes.Tables 4 and 5 show the recognition results of textile defect images for different methods on two benchmark textile datasets.Compared with all the competitors, it can be seen that SSA-ULNet achieves the best recognition performance.Note that CNN, VGG16, VMVI-CNN, VIN-Net, and Xception exhibit under-fitting as there are not enough labeled samples for training.This shows that when there are a large number of labeled samples for training, the supervised learning method will achieve better recognition performance than the unsupervised learning method.For the unsupervised learning method, the advantage of the algorithm is that it does need not use labeled training samples, but the experiment performance usually cannot be guaranteed.These results show that SSA-ULNet is an effective approach for textile defect recognition with few labeled samples.Meanwhile, we can see that the recognition accu-racy of SAA-GCN is 62.82% on Aliyun-Semi10500, which can not achieve better recognition performance possibly due to the following two reasons.Firstly, the background and textures of Aliyun-Semi10500 are more indistinguishable than the DHU-Semi1000 dataset.Secondly, in the Aliyun-Semi10500 dataset, the feature distribution on the training set does not well match the feature distribution on the testing set.

Ablation study

54As mentioned in Section III, our proposed SSA-ULNet contains three critical components for textile defect recognition, i.e., spectral feature extraction (GCN), spatial feature extraction (CNN), and adaptive weight refinement.Here, we use two textile datasets to demonstrate the usefulness of these three structures.In the ablation study, we investigate the effectiveness of different components of SSA-ULNet.

55The recognition performance of SSA-ULNet without GCN, SSA-ULNet without CNN, SSA-ULNet without GCN and adaptive weight, SSA-ULNet without CNN and adaptive weight, and SSA-ULNet without adaptive weight are compared with the SSA-ULNet model.Tables 6 and 7 show the ablation experiment results on the two textile datasets.Based on the comparison results, it can be concluded that our SSA-ULNet model can obtain the best performance.As shown in Tables 6 and 7, the SSA-ULNet (without CNN) exhibits the effectiveness of the textile defect recognition.This is because SSA-ULNet (without CNN) can learn the semi-supervised spectral features and adaptively weights.Comparing the performance between the SSA-ULNet (without CNN) and SSA-ULNet (without GCN), one can find that GCN structure is more helpful than CNN structure in defect recognition.Furthermore, comparing the performance between SSA-ULNet (without GCN) and SSA-ULNet (without GCN+ adaptive), we find that the adaptive weight refinement is an important component in improving the recognition performance of textile defect images.

Numbers of GCN layers and CNN layers

56In this section, we evaluate the performance of SSA-ULNet with different settings of network parameters.The recognition results of the proposed method with different GCN layers and convolutional layers are evaluated on DHU-Semi1000, as shown in Fig. 4.

57Analyzing the curve on Fig. 4, we can see that, the proposed SSA-ULNet is influenced by the number of GCN layers.The performance of the network is improved until it reaches a given optimal point.Meanwhile, analyzing it we can see that SSA-ULNet is also influenced by the number of CNN layers.Our approach is able to achieve state-of-theart results on three-layer CNN structure.Furthermore, the two-layer GCN structure is sufficient to capture the spectral feature information with few labeled data.This phenomenon can be caused by high-order irrelevant spectral features in the learning process.The irrelevant spectral features of different classes may blur the discrimination of interclass information.Furthermore, the three layers of CNN structures can ensure the best performance of the model.The performance with the percentage of missing labels

58We analyze the impacts of different label rates on recognition performance.Label rate denotes the number of labeled samples that are used for training divided by the total number of samples in each dataset.Table 8 shows the recognition results with different label rates on the DHU-Semi1000 dataset.We find that the defect recognition accuracy is 86.57% when the label rate is 30%.Meanwhile, when the label rate is 10%, the defect image recognition accuracy is 50.13%.It can be concluded that the performance of the proposed approach will decrease significantly when the number of labeled samples is reduced in the dataset.A reasonable explanation for this finding is that the diversity of textile background and textures brings certain difficulties to effective identification.

Training stability of the network

59Since the network is trained end-to-end with a semisupervised learning algorithm via error backpropagation, the training stability of the network is an important indicator of the network performance.During the training processes, we track the changing trend of the initial weights.Here, the six random weights are selected to be tracked, and the trajectories of the selected weights are shown in Figs. 5 and 6.From the Figs. 5 and 6, we can see that the random selected weights can coverage to the stable state on datasets DHU-Semi1000 and Aliyun-Semi10500.The experimental results can further confirm the network stability of the whole network framework.

Conclusions and future work

60In this paper, a semi-supervised neural network with few labeled data has been applied to textile defect image recognition.To alleviate the limitations of traditional deep learning models, SSA-ULNet, a novel textile image recognition model is proposed for spectral-spatial-related feature extraction.We use the GCN structure to obtain the spectral feature information of the textile image.Then, the CNN structure is used to address the spatial feature information.Furthermore, the adaptive spatial weight is designed to learn the correlations among the features.Finally, one public dataset and two self-built datasets are used to evaluate effectiveness of the proposed SSA-ULNet model.Experiments confirm that the novel model can achieve good recognition results on different textile images.In the future, we would investigate the online textile defect image recognition problems.Besides, we would like to explore the interpretability and perform the theoretical analysis of the proposed model.

Fig. 1 Fig. 2

61Fig. 1 Spatial-spectral adaptive unified learning network for textile defect image recognition.Three major components are included in the whole model: spectral feature extraction module, spatial feature extraction module, and adaptive weight refinement module.Spectral feature

Fig. 3

62Fig. 3 Defect-free and defect samples: a two defect-free images, and b six defect images

Fig. 4

63Fig. 4 Recognition performance of different GCN and convolutional layers

Fig. 5 Fig. 6

64Fig. 5 Trajectories of the six selected weights [a ∼ f] on the DHU-Semi1000

Table 1

65Classes of the DHU-Semi1000 dataset, with the number of training and test samples for each class

Table 2

66Classes of the Aliyun-Semi105000 dataset, with the number of training and test samples for each class

Table 8

67Effect of different network structures on Aliyun-Semi10500

참고문헌 35건

  1. Optimal Gabor filters for textile flaw detection Pattern Recognition · Elsevier BV · 2002 10.1016/s0031-3203(02)00017-1
  2. Unsupervised defect detection in textiles based on Fourier analysis and wavelet shrinkage Applied Optics · Optica Publishing Group · 2015 10.1364/ao.54.002963
  3. Fabric defect detection using morphological filters Image and Vision Computing · Elsevier BV · 2009 10.1016/j.imavis.2009.03.007
  4. Deformable Patterned Fabric Defect Detection With Fisher Criterion-Based Deep Learning IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2016 10.1109/tase.2016.2520955
  5. Xception: Deep Learning with Depthwise Separable Convolutions 2017 10.1109/cvpr.2017.195
  6. Automatic texture defect detection using Gaussian mixture entropy modeling Neurocomputing · Elsevier BV · 2017 10.1016/j.neucom.2017.02.021
  7. Squeeze-and-Excitation Networks 2018 10.1109/cvpr.2018.00745
  8. An Unsupervised-Learning-Based Approach for Automated Defect Inspection on Textured Surfaces IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2018 10.1109/tim.2018.2795178
  9. A new method using the convolutional neural network with compressive sensing for fabric defect classification based on small sample sizes Textile Research Journal · SAGE Publishing · 2018 10.1177/0040517518813656
  10. CoSpace: Common Subspace Learning From Hyperspectral-Multispectral Correspondences IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2019 101109tgrs20182890705
  11. Multiscale Feature-Clustering-Based Fully Convolutional Autoencoder for Fast Accurate Visual Inspection of Texture Surface Defects IEEE Transactions on Automation Science and Engineering · Institute of Electrical and Electronics Engineers · 2019 10.1109/tase.2018.2886031
  12. Unsupervised fabric defect detection based on a deep convolutional generative adversarial network Textile Research Journal · SAGE Publishing · 2019 10.1177/0040517519862880
  13. Effective textile quality processing and an accurate inspection system using the advanced deep learning technique Textile Research Journal · SAGE Publishing · 2019 10.1177/0040517519884124
  14. Multistage GAN for Fabric Defect Detection IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2019 10.1109/tip.2019.2959741
  15. Bioinspired Visual-Integrated Model for Multilabel Classification of Textile Defect Images IEEE Transactions on Cognitive and Developmental Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tcds.2020.2977974
  16. Radial Graph Convolutional Network for Visual Question Generation IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tnnls.2020.2986029
  17. A biologically inspired visual integrated model for image classification Neurocomputing · Elsevier BV · 2020 10.1016/j.neucom.2020.04.081
  18. Fault Diagnosis of an Autonomous Vehicle With an Improved SVM Algorithm Subject to Unbalanced Datasets IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tie.2020.2994868
  19. Mobile-Unet: An efficient convolutional neural network for fabric defect detection Textile Research Journal · SAGE Publishing · 2020 10.1177/0040517520928604
  20. Fabric defect detection based on a deep convolutional neural network using a two-stage strategy Textile Research Journal · SAGE Publishing · 2020 10.1177/0040517520935984
  21. Visual interaction networks: A novel bio-inspired computational model for image classification Neural Networks · Elsevier BV · 2020 10.1016/j.neunet.2020.06.019
  22. A Deep Neural Network Combined CNN and GCN for Remote Sensing Scene Classification IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing · Institute of Electrical and Electronics Engineers · 2020 10.1109/jstars.2020.3011333
  23. Knowledge Graph-guided Convolutional Neural Network for Surface Defect Recognition 2022 IEEE 18th International Conference on Automation Science and Engineering (CASE) · 2020 10.1109/case48305.2020.9216752
  24. Semi-supervised fabric defect detection based on image reconstruction and density estimation Textile Research Journal · SAGE Publishing · 2020 10.1177/0040517520966733
  25. Creating proactive behavior for the risk assessment by considering expert evaluation: a case of textile manufacturing plant Complex & Intelligent Systems · Springer Science+Business Media · 2021 10.1007/s40747-020-00246-0
  26. Fabric Defect Detection in Textile Manufacturing: A Survey of the State of the Art Security and Communication Networks · Hindawi Publishing Corporation · 2021 10.1155/2021/9948808
  27. A novel deep learning method for detection and classification of plant diseases Complex & Intelligent Systems · Springer Science+Business Media · 2021 10.1007/s40747-021-00536-1
  28. DR-Net: dual-rotation network with feature map enhancement for medical image segmentation Complex & Intelligent Systems · Springer Science+Business Media · 2021 10.1007/s40747-021-00525-4
  29. Automatic Graph Learning Convolutional Networks for Hyperspectral Image Classification IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2021 10.1109/tgrs.2021.3135084
  30. Deep learning based solder joint defect detection on industrial printed circuit board X-ray images Complex & Intelligent Systems · Springer Science+Business Media · 2022 10.1007/s40747-021-00600-w
  31. Textile defect detection using multilevel and attentional deep learning network (MLMA-Net) Textile Research Journal · SAGE Publishing · 2022 10.1177/00405175211073773
  32. Ship feature recognition methods for deep learning in complex marine environments Complex & Intelligent Systems · Springer Science+Business Media · 2022 10.1007/s40747-022-00683-z
  33. MSAt-GAN: a generative adversarial network based on multi-scale and deep attention mechanism for infrared and visible light image fusion Complex & Intelligent Systems · Springer Science+Business Media · 2022 10.1007/s40747-022-00722-9
  34. MC-GCN: A Multi-Scale Contrastive Graph Convolutional Network for Unconstrained Face Recognition With Image Sets IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2022 10.1109/tip.2022.3163851
  35. The use of deep learning methods in low-dose computed tomography image reconstruction: a systematic review Complex & Intelligent Systems · Springer Science+Business Media · 2022 10.1007/s40747-022-00724-7