FabricNet: A Fiber Recognition Architecture Using Ensemble ConvNets
간접 관련 패션 · (24) 패션(코오롱FnC) (1) 에어백(8) HDPE 섬유(FORPE)(10) 아라미드
기본 정보
- 저자
- DOI
- 10.1109/access.2021.3051980
- 저널
- IEEE Access
- 발행년도
- 2021
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 23
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/access.2021.3051980
- 토픽
- Color Science and Applications
- OpenAlex ID
- W3119325538
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 패션 · (24) 패션(코오롱FnC)
- 부 분야
- (1) 에어백, (8) HDPE 섬유(FORPE), (10) 아라미드
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- textile fiber recognition, image-based, convolutional neural network, fabric surface image, multi-label classification
- 판단 근거
- 이 논문은 섬유의 표면 이미지를 CNN 기반 앙상블 모델로 분석하여 섬유의 종류를 식별하는 기술을 다룹니다. 이는 코오롱인더스트리의 섬유(패션, 산업용 섬유) 품질 관리, 원단 성분 분석 및 자동화된 검사 공정에 응용될 수 있는 기술입니다.
- R&D 활용 포인트
- 원단 표면 이미지만으로 섬유 혼용률이나 종류를 자동 판별하는 AI 검사 시스템을 구축하여, 품질 관리(QC) 공정의 자동화 및 원단 역설계(Reverse Engineering) 효율성을 높이는 데 활용 가능합니다.
- 평가 입력
- 본문 56,127자 중 30,032자 발췌
초록
본문 56,127자
본문 펼치기
섹션 본문 63문단 · 38,380자
(제목 없음)
1Fabric is a planar material composed of textile fibers.Textile fibers are generated from many natural sources; including plants, animals, minerals, and even, it can be synthetic.A particular fabric may contain different types of fibers that pass through a complex production process.Fiber identification is usually carried out through chemical tests and microscopic tests.However, these testing processes are complicated as well as time-consuming.We propose FabricNet, a pioneering approach for the image-based textile fiber recognition system, which may have a revolutionary impact from individual to the industrial fiber recognition process.The FabricNet can recognize a large scale of fibers by only utilizing a surface image of fabric.The recognition system is constructed using a distinct category of class-based ensemble convolutional neural network (CNN) architecture.The experiment is conducted on recognizing 50 different types of textile fibers.This experiment includes a significantly large number of unique textile fibers than previous research endeavors to the best of our knowledge.We experiment with popular CNN architectures that include Inception, ResNet, VGG, MobileNet, DenseNet, and Xception.Finally, the experimental results demonstrate that FabricNet outperforms the state-of-the-art popular CNN architectures by reaching an accuracy of 84% and F1-score of 90%.
Introduction
2Textile fibers are the components that are used to construct fabrics.Commonly, the types of fibers are split into two categories: natural fibers and synthetic fibers.Natural fibers are extracted from environmental sources, whereas synthetic fibers are manufactured through machinery and chemical compounds.Such instances of natural fibers are silk, wool, cotton, etc. whereas, nylon, polyester, rayons, etc. are the example of synthetic fibers.Raw fibers are used to Figure 1: Different yarn cross sectional shapes of particular fibers: Tenasco (a,b,i), Nylon (e,g,j,l), Viscose (f,k) and Terylene.The image is adopted from the work of Hearle et al. [4].assemble yarns.A single yarn is assembled using one or more types of raw fibers.The yarns are further utilized to construct fabrics and particular garments.
3Fiber recognition is the process of identifying raw fibers from fabrics, and it is widely used in different industrial applications.It is a well-applied method in fabric reverse engineering [1].Garment identification is also possible using fiber recognition systems since each garment type mostly requires fixed sets of fiber elements [2].The fiber recognition system can also be implemented as fabric fault detection and garment inquiry systems [3].
4Identifying raw textile fibers is considered difficult due to the complicated weave structure and aging of fibers [5].Moreover, present fabrics pass through complex printing procedures that may alter the yarn structure.Classical biological methods, such as soaking, cleaning, heating, etc. are considered less effective in raw textile fiber identification.However, microscopic observations are proven to be more accurate in identifying raw textile fibers.The textile fiber recognition from manufactured fabrics is complicated since a single yarn (used to construct the fabric) can contain multiple textile fibers.In some cases, fabrics are mostly preprocessed.Moreover, microscopic observations may lead to false recognition, as numerous fibers can be used to generate a single textile yarn.
5Generally, most systems identify textile fibers through microscopic cross-section images [6] and spectroscopic features [7,8].Fibers can be distinguished by microscopic cross-section images due to their unique geometrical properties [9]. Figure 1 illustrates different cross-section shapes of different types of yarns.Extricating cross-sectional shots is nearly impossible for industrial usage of textile fiber identification systems, as it requires a careful pre-processing and microscopes.Using cross-sectional images for recognizing textile fibers from fabrics is a critical approach in real-time industrial aspects.Hence, the cross-sectional investigation requires laboratories and is time-consuming.On the contrary, spectroscopy-based methods can be used for industrial purposes, but it is limited to recognizing only a single textile fiber from a fabric.Further, the method is not suitable for individual usage.The research endeavor's sole purpose is to overcome the information gathering complexities of the fiber recognition procedure.Smartphones and high definition cameras have made image capturing one of the most superficial attempts for information gathering procedures.Therefore, we introduce a novel architecture that can recognize the textile fibers by a fabric surface image.Because of the availability of cameras, our proposed textile fiber recognition process can be performed by individuals, and even by automated machines in a much more convenient and flexible way. Figure 2 represents some image samples that are used to conduct the training of our FabricNet architecture.The overall architecture performs CNN based image processing using an ensemble architecture.Since our proposed model recognizes textile fibers through fabric surface image, it can be widely applied for diverse industrial and individual applications for fault checking and authentication.Our process can further be used for textile fraud prevention and fault detection.The overall contribution of the research endeavor includes the following:
6• We exploit the surface image of fabric in recognizing textile fibers, as it is one of the easiest ways for image collection.
7• We outline different categories of ensemble methods, and introduce a class-based ensemble architecture that receives downsampled image data through a head CNN architecture.In class-based ensemble architecture, every single ensemble memorizes only one class.Therefore, the accuracy of FabricNet architecture increases.
8• We experiment with seventeen different implementations of famous image classification architectures, including Inception, ResNet, VGG, MobileNet, DenseNet, Xception, and CU-Net.Through the result analysis, we affirm that FabricNet architecture provides better accuracy.
9The remainder of this paper is outlined as follows.Section 2 demonstrates the procedures that are modeled to identify textile fibers.Section 3 presents the motivation and the architectural fundamentals of the FabricNet.Section 4 contains the experimental results that are performed to evaluate FabricNet architecture.Finally, Section 5 concludes the paper.
Related Works
10The textile fiber identification process can be divided into two types of tests: technical test and non-technical test [10].Before the advancement of microscopic tests, non-technical tests for textile fiber identification were mostly conducted.Buring test, soaking test, feeling, etc. are considered as non-technical tests.The drawback of the non-technical tests is its authenticity [5].
11Technical tests include the usage of microscopes and chemicals for the detection of textile fibers.Chemical tests include stain tests and solvent tests.However, the limitation of chemical tests is their inapplicability to separate multiple fibers.Therefore, chemical tests can not identify multiple fibers from fabrics [11].Microscopic examinations are also considered as technical tests that involve identifying textile fabric using microscopes.Experts previously conducted microscope tests, and it proved to be more accurate.Nevertheless, synthetic fibers are mostly geometrically similar in microscopic view; therefore, specialists can sometimes find it challenging to distinguish fibers, even applying a microscope [12].Figure 1 illustrates an example of a microscopic test.
12The usage of image recognition systems in fiber identification has been observed since late 1980 [13].The utilization of image processing for fiber recognition is observed since late 1990 that used Support Vector Machine (SVM) [14].
13The SVM required a feature extraction method on which the effectiveness of the scheme was mostly dependent.The process also needed a microscopic cross-section view of fibers, which made the technique inefficient for real-time fiber recognition.The later research works conducted in the field of fiber recognition systems followed the same path.
14The purpose of the proposed architectures was to eliminate human interference from the technical microscopic fiber recognition procedure.Statistical analysis has also been introduced to identify fibers from cross-section images [15].Nevertheless, the research work only classified two types of fibers, which is not suitable for real-world usage.
15Neural networks became famous after the backpropagation learning method was introduced [16].Neural network architecture is also introduced to identify fibers [17].However, researches exploiting neural network architectures could only distinguish two types of fibers.Furthermore, neural networks do not fit in the image recognition process.Hence, neural network-based architectures are not suitable for recognizing a broad set of textile fibers.
16CNN architectures started to rule in image identification problems through the successful breakthrough of AlexNet [18].Till now, CNN architectures are considered the state-of-the-art image classification mechanism due to its robustness and ability to identify objects from a large set of targets.Also, CNN architectures perform auto feature extraction, eliminating the dependency from image feature extraction procedure [14].CNN architecture has been introduced to identify fibers using cross-section microscopic images [19].The research was carried out by identifying seven types of fibers and achieved an acceptable accuracy level.Nevertheless, the method still depends on cross-section microscopic images, and the number of unique fibers is inadequate.
17Apart from the same process of the automated identification of fibers from microscopic images, spectroscopy-based fiber identification methods have also been introduced [7,8].Nevertheless, the experiments of the research works were conducted with limited varieties of textile fibers, and the spectroscopy-based method can only identify a single fiber at once.The spectroscopy-based fiber identification process is also time-consuming and often requires an expert to position the spectroscope and calculate appropriate reading time correctly.
18The automated fiber identification has been less exploited, and most research endeavor is conducted to identify a single type of fiber at once.This type of classification is defined as multi-class classification.Furthermore, previously implemented architectures are time-consuming and require laboratory equipment to carry out the data collection (cross-section image or spectrograph extraction) and testing process.Therefore, mass testing and validating fibers of fabric often incur high cost.
19Feng et al. [20] have proposed a similar concept of converting the fiber recognition system into a multi-class classification problem.The authors presented a CNN-based ensemble architecture that contains an almost equivalent strategy of FabricNet architecture.The authors used a CNN architecture (defined as DFE module) to extract the fabric's necessary feature.Further, they transferred the feature vectors to a stack of ensemble network (referred to as CU module) containing three deep CNN architectures.Each of the models in the ensemble network also has inter-connectivity.Therefore, each of the models in the ensemble can be triggered by other models.Although the architecture is convincing, it suffers from overfitting issue due to enormous trainable parameters (approximately 82 million).Also, it requires extensive computations, which is about 3372 million floating point operations (FLOPs).The authors conducted evaluations in a closed source dataset and achieved 74% accuracy.In comparison, our proposed architecture achieves superior accuracy with less trainable parameters and in fewer FLOPs.We present an architecture that operates over a more user-friendly information extraction process.It requires a close-shot surface image of fabric to identify the raw textile fibers.We argue that close-shot surface images contain proper fabric surface properties that are enough to identify textile fibers.Furthermore, in the current new media age, image capturing is one of the simplest functions due to the well-spread of smartphones and high-definition cameras.Therefore, the architecture changes the process of textile fiber extraction from laboratories to individuals and industries.Moreover, we achieve a satisfactory recognition accuracy that is most suitable for industrial purposes.
20The proposed FabricNet architecture can identify multiple fibers at once.Therefore, the classification process of the model is multi-label.The overall architecture uses CNN containing a class-based ensemble that can individually recognize a specific fiber.We investigate with various deep learning frameworks and determine that Xception [21] performs optimally amongst the existing CNN architectures.We further adapt the structure of the Xception architecture and assign our ensemble strategy.We name the revised version of the Xception architecture as FabricNet.
213 FabricNet
Motivation
22In neural network architecture, ensemble methods [22] combine multiple sub-models to obtain better accuracy.Ensemble architectures have been proven to be less prone to overfitting and generate more accurate results than basic models [23].Furthermore, present ensemble architectures have been able to identify complex spatial information from image patterns [24].Therefore the ensemble methods are being implemented in different scopes, including geospatial land classification [25], face recognition [26], image segmentation [27], and so on.The process of ensemble methods can be thought of as a particular situation where a group of people will always make better decisions than a single person [28].Dietterich [29] pointed out three reasons for which the ensemble architecture may work better than traditional architectures: 1) training phase may not contain sufficient data to train the single best classifier; 2) a single algorithm may fail to converge to the global optimum, but an ensemble starting from distinct points could lead to a better approximate global optimum; 3) the space being searched may not contain any optimum position, but an ensemble may lead this space for a better optimum position.
23In deep learning architecture, three types of ensemble architectures are mostly encountered, a) stacked ensembles, b) weight average ensembles, and c) class-based ensembles.In stacked ensemble architecture, multiple sub-models receive input data and flows the data stream to a final learning model that generates the results.Mathematically, the stacked ensemble can be presented as,
24In weight average ensemble architecture, the results of multiple models are calculated separately, further combined through weight multiplication calculations to perform final prediction [30].Mathematically, the weight average ensemble can be presented as,
25W here, x = Input data E(x) = Weight average ensemble model e i (x) = Ensemble sub-models w i = Weights for each ensemble models n = Number of ensemble sub-models
26In class-based ensemble architecture, the number of ensemble models is equal to the number of classes [31].Each of the ensemble models only learns to identify a specific category.The class-based ensemble architecture can be derived as,
27Inspired by the performance boost of the ensemble architectures, we develop an ensemble architecture that performs mostly similar to class-based ensemble architecture.Nevertheless, our proposed architecture is slightly different than the class-based ensemble architecture.Mathematically, the proposed architecture can be derived as follows,
28W here,
29Instead of directly passing the ensembles' inputs, the proposed architecture uses an auxiliary feature extractor function defined as the head model.The head model only passes the relevant feature embeddings to the ensemble models and reduces the full dependency over the ensemble models.As a fabric can be constructed using multiple fibers, the FabricNet must output multiple classes at once, often acknowledged as multi-label classification.Therefore, the E(x) function of equation 4 may return multiple outputs at once.Also, the number of ensembles n is kept equal to the number of target classes.Furthermore, each ensemble model e i (x) specifically learns to identify a particular class.Therefore, individual ensemble models can approach an optimal state to recognize a specific class, ignoring other classes.This individuality may cause improving the accuracy of the FabricNet architecture.
Architecture
30The overall architecture of FabricNet is segmented into two parts: a head model and ensemble models.The head model directly fetches the input images and generates lower dimension embeddings.The embeddings derived by the head model are passed to the ensemble models.Each of the ensemble models is assigned to identify only a single type of fabric fibers or class, and each class's prediction is independent of the other class-based ensemble.Therefore, the number of ensemble models must be similar to the number of possible categories.Figure 4 illustrates a block diagram of the FabricNet architecture.Using the head model poses some advantages, considering the usual class-based model.Generally, higher parameters in a CNN architecture may often cause overfitting.Passing the input through a head model causes a reduction of irrelevant features.Furthermore, it also reduces the number of trainable parameters significantly.On the whole, implementing our suggested ensemble architecture leads to the following benefits: It further forwards the processed data to the multiple ensemble models.Each of the convolutions is followed by a batch normalization [32] layer, not illustrated in the image.
31• Each ensemble only extracts the knowledge required to recognize a specific class.This results in acquiring an approximate optimal position for each particular class, which causes superior accuracy.• Using the head model significantly reduces the number of parameters required for each ensemble model.This substantially reduces the FLOPs and overfitting [33].• Apart from the general class-based ensemble, our proposed ensemble structure can be deeper with reduced computational complexity (due to head convolution non-parallelism).
32Instead of implementing a new baseline architecture for the head model, we modify the existing CNN architectures.Through our investigation (illustrated in Figure 6), we affirm that Xception architecture performs superior to the currently existing popular architectures.Therefore, we fuse the ensemble methodology in Xception architecture.The Xception model counterfeits the basic properties of VGG [34] and Inception [35] network.The model utilizes a shorter kernel of the size of 3 and performs depthwise separable convolutions.The depthwise separable convolutions of the Xception architecture are performed by a depth-wise convolution followed by a pointwise convolution (in Inception architecture, the order is reversed).This strategy is based on a hypothesis that spatial feature extraction and channel-wise feature extraction procedure can be decoupled.Meanwhile, this decoupling has a huge advantage in reducing the required parameters of a convolutional layer.Xception further implements residual identity maps [36] in different layers to resolve the issue of vanishing gradient.
33Xception architecture contains three types of data-flow networks.The entry flow performs depthwise separable convolutions, followed by a maxpool layer.The entry flow is followed by nine similar middle flow networks that perform depthwise separable convolution.Finally, the exit flow network performs a similar computation sequence to the entry flow, followed by a global average pooling.The model is substantially deep (126 layers), and it is often validated that deeper networks are better [34].However, as we search for an optimal head model that will also contain ensemble models, we have to avoid over-parameterizing the head model.Over-parameterization may cause overfitting and also increase the FLOPs of the architecture.
34Hence, we expel unnecessary blocks from the Xception architecture, which does not boost the prediction accuracy.While expelling the exit flow and some middle flow networks of the Xception model, we found a minimal fluctuation of F1-score and AUC score (reported in Figure 7).The metrics' steadiness indicates that most of the lower layers are not necessary (for the experimental dataset), and they can be removed.Therefore, we only adopt the entry flow and two middle flow stacks of the Xception architecture as our head model.Also, removing the lower portion of the Xception architecture reduces trainable parameters by more than 80%.A full investigation is reported in the Result Analysis section (Section 4.4).
35The architectural specifications of the head and ensemble models of the FabricNet is reported in Figure 3.Moreover, Figure 4 illustrates the overall flow of the model.We implemented separable convolutions in the ensemble model to keep the learnable parameters limited.Each ensemble model contains a single dense node with a sigmoid activation function that works as the final activation for each category.The available outputs of each ensemble are further concatenated to produce the final output of the FabricNet model.We broadly analyze and discuss our FabricNet architecture findings in the Result Analysis (Section 4.4), particularly the ensemble architecture.
36As the FabricNet architecture performs a multi-label classification task, the final output contains a sigmoid activation function.Nam et al. has suggested that cross-entropy loss is the best choice for multi-label classification tasks [37], that is defined as follows,
37W here, L CE = Loss function o l = Prediction for label l y l = Target for label l Therefore, the model is trained using the aforementioned cross-entropy loss function.
384 Experimental Results
The Fabrics Dataset
39As this is a prior work investigating multiple fibers, we currently found only one dataset suitable for the experiment.The fabric dataset contains around 8000 images of different fabrics, and garments [2].However, we found a total of 7553 images suitable for the experiment.Although the original work conducted using the dataset contained only 2000 images of fabric surfaces, the current repository contains an increased number of surface images.The dataset contains images with various lightning and orientation to make the recognition process more challenging.Figure 2 contains an example of the images.Further, Each of the fabric images contains one or more classes.The classes are the fibers that are used to construct the fabric.These fabrics contain a total of fifty types of fibers that constituted the fabrics.Figure 5 illustrates the class distribution for the images of the dataset.The dataset collectors only attempted to identify fabrics that were not blended (contained a single fiber) [2].Therefore, the collectors were able to identify nine types of non-blended fabrics from the dataset.
40Figure 5: A pie chart that represents the number of images belonging to the number of fiber classes.
Evaluation Metrics
41To evaluate and compare the results, three evaluation metrics have been used, which are presented as follows:
42Accuracy: Accuracy is the simplest form of evaluation.It formally defines the ratio of correct predictions over total experiments.In multi-label classification, we consider a single prediction is accurate if all of the classes are correctly guessed.Accuracy can be defined as follows, Accuracy = Number of correct predictions Total number of predictions (6) Precision: Precision is also named as the positive predictive value (or true positive rate) of a system that reports the ratio of correctly predicted positive cases over total predicted positive cases.It can be represented as,
43F 1 -Score: F 1 score represents the weighted average of precision and recall.By choosing the weight value as 2, the F 1 score can be presented as,
44AUC Score: Area under the curve (AUC) and receiver operating characteristics (ROC) curve defines how well a model converges towards distinguishing classes accurately.In general, the metric generates a curve, where AUC represents the area under the ROC curve.In overall experiments, we use 200 thresholds to discretize the ROC curve.
45FLOPs: Floating point operations (FLOPs) measures the number of arithmetic operations required to execute a single instance of a deep learning model.Models requiring higher FLOPs have higher time complexity.
46Accuracy, Precision, F1-score, and AUC score generate results in the range [0, 1], whereas higher score points better performance of a system.Hence, we use the metrics mentioned above to prove the effectiveness of our model.Moreover, we use FLOPs to measure the time complexity of each model.
Experimental Setup
47The evaluation architectures were implemented using Tensorflow [38], Keras [39], scikit-learn [40], and NumPy [41].To lessen the architecture's bias and correctly measure each architecture's accuracy, k-fold cross-validation is performed [42].All of the evaluations are conducted by selecting the value of k = 4. Therefore, the dataset is split into 50%-25%-25% train, validation, and test subsets.The reported measurements are the best performance on the validation set for a particular fold, further evaluated on the unseen test set.Each architecture is trained using batchSize = 128 with a maximum epoch limit of 100.With a learning rate of 0.001, Adam optimizer is used to train each of the architectures.All of the tested architectures are initialized with ImageNet trained weights, and they are further trained on the Fabrics dataset.The input image is in the shape of 120 × 120 × 3.As the training dataset is small, we implemented image augmentation considering some common augmentation process that includes brightness change, contrast change, zooming, cropping, and channel shifts.We did not perform any geometrical distortions as it may change the texture pattern of the fabric weave.Every exhibited result is calculated as the mean and standard deviation for three runs for each fold (total 3 × 4 runs).3. Zoom in for a better view.
Result Analysis
48As fabric surface images are less exploited for fabric fiber recognition, we compare the FabricNet architecture with various computer vision based architecture.Also, we include the existing architecture CU-Net [20] that also operates over fabric surface image.We have implemented the DenseNet baseline for the CU-Net architecture.
49Figure 6 illustrates the F1-scores obtained on the validation set while training the existing DCNN frameworks in the fabric dataset.The graphs report that Xception architecture achieves a better result on the validation set.VGG architectures do not perform adequately in the framework, mostly due to the vanishing gradient problem.On the contrary, ResNets solve the vanishing gradient problem by implementing residual identity maps.Yet they don't acquire satisfactory results mostly due to overfitting.InceptionResNet architecture achieves better results due to the proper integration of residuals and inception blocks.DenseNets require fewer parameters than Xception architecture; still, the idea of the shorter connection from input and output does not help to achieve better performance.MobileNet architectures require the least number of parameters than the other implemented models.Nevertheless, they fail to perform fiber recognition at an acceptable rate.This low F1-score of MobileNets may indicate that the issue is not with training parameters, rather than a necessity of optimal network architecture.We further investigate for selecting the optimal ensemble model.However, it is considered to keep the ensemble network's trainable parameters as less as possible to avoid overfitting and for easy training.Hence, we search for an optimal shallow architecture as an ensemble model.Shallow architecture requires fewer parameters, and as a result, it is possible to greatly increase the number of networks in the ensemble, based on the output classes.Therefore, we investigate CNN architectures with no more than three layers.Table 2 exhibits our experiment with different ensemble architecture with the reported F1-score on validation and test dataset.In the ensemble architecture, only separable convolution is implemented as it initiates fewer parameters.A close relationship between the trainable parameters and overfitting can be observed by investigating the table data.Higher training parameters in the ensemble model results in overfitting in the validation data.By decreasing the number of training parameters, a reduction in overfitting can be observed.However, after a certain period, the score drops.Adding additional layers does not heavily improve the score.Thus, each of the ensemble architecture is implemented using two depthwise seperable convolutions followed by a single fully-connected node.A sigmoid activation function is used as our target output may contain multiple classes at once. Figure 8 represents a comparison (on validation dataset) of FabricNet and the CU-net architecture.Both of the architectures follow ensemble strategy.However, the architectures' influential differences are: 1) improper class distribution for each ensemble model and 2) the number of parameters for each ensemble model.In the case of CU-Net architecture, the output of each class is generated based on the ensemble framework's decision.However, the architecture does not define specific ensemble models for each specific class.Hence, a single binary output of each class can be easily biased by multiple ensemble models.On the contrary, FabricNet architecture contains shallow CNN models specifically for each class.Hence, FabricNet avoids biased outputs for each class.Also, in comparison to CU-Net architecture, FabricNet requires a low number of trainable parameters.Lower parameters solve the overfitting issue, also models with lesser parameters are more comfortable to train.
50The FabricNet architecture (network illustration in Figure 3) is compared with the DCNN architectures, presented in Table 3.The comparison reports the precision, accuracy, F1-score, and AUC score of all the architectures calculated on the train, validation, and test dataset.The table represents the improvement of FabricNet architecture from the general implementation of Xception architecture.Although the FabricNet is a subset of the Xception architecture, joining the ensemble models boosts the F1-score of the FabricNet architecture by approximately 0.7. Figure 9 represents a scatter plot of the tested architectures and the FabricNet.The horizontal axis indicates the number of training parameters, and the vertical axis reports the F1-score.As to calculate the number of trainable parameters and the FLOPs of the FabricNet architecture, the whole ensemble of 50 classifiers is considered.The FabricNet architecture achieves the highest accuracy while keeping the training parameters at a limit of 4.8 million.On the contrary, the MobileNet and MobileNetV2 architectures fall behind in achieving a better score with comparable training parameters.It is a clear indication that FabricNet architecture gains superiority due to the CNN network topology.
51Residual architectures (ResNet, Xception, Inception) indirectly implements the property of the ensemble strategy.Residuals not only help to solve the vanishing gradient problem but also can ignore a particular CNN block if required.However, the ignore state of a CNN block depends on the type of input, and it is adequately utilized using backpropagation.Yet, the difference between the residual ensemble and our implemented ensemble lies in the dedicated path (i.e., a layer sequence is fully dedicated to a class).Therefore each of the filters only looks for class-specific features.The dedicated feature extraction solves separating the depth filters for a class-specific identity extraction mostly occurred at the deepest layers (before fully connected layer) of a CNN architecture.Figure 10 illustrates the embedding vector outputs generated by the head model of the FabricNet architecture on a small subset of the input.It can be anticipated by analyzing the figure that the head model extricates some of the necessary features.Further, the ensemble's class-specific models furnish the embeddings based on the class-specific features.In such a case, the ensemble has the primary advantage of correcting the head model's erroneous guesses and further fix the issue through memorization.
Conclusion
52The paper presents an architecture FabricNet, a textile fiber recognition scheme, that can recognize multiple fibers at once by only processing the surface image of fabrics.This research work points to an immense improvement in fiber recognition tasks as the previous methods required microscopic images and spectrographs of fibers.The FabricNet is implemented based on a new idea of ensemble architecture, and to outline the difference, the paper comprises an investigation of mostly implemented ensemble architectures.The experiment is conducted using fifty types of textile fibers, and the FabricNet outperforms most of the well-known image classification architectures.We strongly believe that the overall contribution of this paper inaugurates a broader perception in the scope of image pattern recognition and industrial fiber identification research works.
Figure 2 :
53Figure 2: The dataset contains fabric images in different light and orientations [2].The first row illustrates fabric made of artificial leather.The second row illustrates the fabric made of silk.The third row contains images of fabric which is made of polyester and viscose (rayon).
Figure 3 :
54Figure 3: The figure illustrates the head and ensemble model of the FabricNet.The entry flow network recieves input image, and the processed data is passed to the middle flow network.It further forwards the processed data to the multiple ensemble models.Each of the convolutions is followed by a batch normalization [32] layer, not illustrated in the image.
Figure 4 :
55Figure 4: The figure depicts the architectural strategy of the FabricNet model.Inputs flow through the head model, which is further passed through the class-specific ensemble submodels.Submodels contain minimal trainable parameters to avoid overfitting and reduce computational complexity.
Figure 6 :
56Figure 6: Each graph represents the loss (min-max normalized), AUC, and F1-score on the validation dataset calculated on the existing DCNN architectures' training procedure.The horizontal axis represents the training epochs, while the vertical axis represents the metric score.The train and test scores of the corresponding architectures are reported in Table3.Zoom in for a better view.
Figure 7 :
57Figure 7: Each graph represents the loss, AUC, and F1-score on the validation dataset calculated using different Xception architecture setups.Entry, middle, and end define the three types of network flows of Xception architecture.The number of middle flows is indicated by multiplication.The 'entry+2×middle' design is used as the head model.
Figure 8 :
58Figure 8: The figure illustrates a comparison of FabricNet architecture with CU-Net architecture.Both architectures are based on ensemble strategy.However, FabricNet architecture acquires higher performance as it contains class-specific models in the ensemble.
Figure 9 :
59Figure 9: A scatter plot illustrating the test accuracy scores (vertical axis) w.r.t. the number of trainable parameters (horizontal axis).Zoom in for a better view.
Figure 10 :
60Figure10: The figures illustrate scatter-plots generated by the head model of FabricNet, on a small portion of the dataset (with ten classes).The head model tries to assume the classes, whereas the ensembles try to memorize the head ensemble's missed out features.Mixing the head and ensemble model enables the architecture to perform better with more class-specific feature memorization.
Table 1 :
61[20]table represents a detailed comparison of various domains of fiber recognition procedures.Among the different strategies, computer-vision-based method is fast, non-destructive, and requires no expertise.The table is a modified version, which was earlier presented by Z. Feng et al.[20].
Table 2 :
62The table illustrates the F1-score of the validation and test dataset corresponding to the different ensemble architectures.Each layer is represented as '{Sx, y, z}', where 'x' is the number of filters, 'y' is the kernel size, and 'z' is the stride.'S' defines a depthwise separable convolution layer.Each convolution is followed by batch normalization and ReLU activation function.Trainable parameters (for each ensemble) are presented in thousand.
Table 3 :
63The table reports a comparison between the FabricNet and other well-performing architectures on train validation and test dataset.The Parameters column represents the total number of trainable parameters required for each model.The actual Xception architecture consists of one entry flow, nine middle flows, and an exit flow network.Each flow network contains residual connections.To select a proper head model, we further investigate the Xcecption architecture with different flow settings.Figure7represents a validation test score of the Xception architecture tuning the number of entry flow, middle flow, and exit flow segments.Only selecting the entry flow causes the validation F1-score and AUC to decrease.Choosing different numbers of middle flow layers improves the validation score by 0.2.However, for a different number of middle flow blocks, the score remains nearly constant.We select an entry flow with two middle flow network as the head architecture of the FabricNet.Although setting six intermediate flow blocks with an entry block acquires the highest score, the improvement is negotiable.As we implement a class-wise ensemble network that will contain more parameters (in the ensemble model), we avoid over-parameterizing the head model.Avoiding over-parameterization causes the overall architecture to be less prone to overfitting.Furthermore, using one entry and two middle blocks as the head model decreases the number of the trainable parameter by 80% compared to Xception architecture.Also, reducing the number of parameters causes the reduction of FLOPs by 60%, corresponding to Xception architecture.
참고문헌 53건
- Structural mechanics of fibers, yarns, and fabrics 1969
- Textiles: Fiber to Fabric 1975
- Ensemble Methods in Machine Learning Lecture notes in computer science · Springer Science+Business Media · 2000 10.1007/3-540-45014-9_1
- Neural networks for pattern recognition Choice Reviews Online · Association of College and Research Libraries · 1994 10.5860/choice.31-5500
- Beyond Regression : "New Tools for Prediction and Analysis in the Behavioral Sciences 1974
- Large-Scale Multi-label Text Classification — Revisiting Neural Networks Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-662-44851-9_28
- Very Deep Convolutional Networks for Large-Scale Image Recognition Computer Vision and Pattern Recognition · 2014
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1502.03167
- Engineering, re-engineering and reverse engineering of textiles or textile genetic engineering International Journal of Clothing Science and Technology · Emerald Publishing Limited · 1998 10.1108/ijcst.1998.05810baa.001
- Fiber Identification in Practice Journal of the American Institute for Conservation · Routledge · 1987 10.1179/019713687806027933
- Automated fabric defect detection—A review Image and Vision Computing · Elsevier BV · 2011 10.1016/j.imavis.2011.02.002
- Neural Network Technique for Fiber Image Recognition Journal of Industrial Textiles · SAGE Publishing · 2007 10.1177/1528083707069464
- Effect of error metrics on optimum weight factor selection for ensemble of metamodels Expert Systems with Applications · Elsevier BV · 2014 10.1016/j.eswa.2014.11.020
- Fiber Recognition and Distribution Analysis of PET/Rayon Composite Yarn Cross Sections Using Image Processing Techniques Textile Research Journal · SAGE Publishing · 1999 10.1177/004051759906900605
- Going deeper with convolutions 2015 10.1109/cvpr.2015.7298594
- Scikit-learn: Machine Learning in Python arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1201.0490
- The structural mechanics of fibers Journal of Polymer Science Part C Polymer Symposia · Wiley · 1967 10.1002/polc.5070200118
- Support-Vector Networks Machine Learning · Springer Science+Business Media · 1995 10.1023/a:1022627411411
- Neural network ensembles IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1990 10.1109/34.58871
- Determination of Weave Type in Woven Fabric by Digital Image Processing Journal of the Textile Machinery Society of Japan · 1989 10.4188/jte1955.35.2_1
- The NumPy Array: A Structure for Efficient Numerical Computation Computing in Science & Engineering · AIP Publishing · 2011 10.1109/mcse.2011.37
- ImageNet Classification with Deep Convolutional Neural Networks Neural Information Processing Systems · 2012
- Classification of textile fabrics by use of spectroscopy-based pattern recognition methods Spectroscopy Letters · Taylor & Francis · 2015 10.1080/00387010.2015.1089446
- Rethinking the Inception Architecture for Computer Vision 2016 10.1109/cvpr.2016.308
- APPLICATION OF THE IMAGE ANALYSIS TECHNIQUE FOR TEXTILE IDENTIFICATION Autex Research Journal · De Gruyter Open · 2006 10.1515/aut-2006-060106
- Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
- TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1603.04467
- Identity Mappings in Deep Residual Networks Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46493-0_38
- Recurring and Novel Class Detection Using Class-Based Ensemble for Evolving Data Stream IEEE Transactions on Knowledge and Data Engineering · IEEE Computer Society · 2015 10.1109/tkde.2015.2507123
- Single fiber identification of cotton/flax fabric based on longitudinal view of microscopic fiber images Textile Research Journal · SAGE Publishing · 2012
- Trunk-Branch Ensemble Convolutional Neural Networks for Video-Based Face Recognition IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2017.2700390
- Fine-Grained Material Classification Using Micro-geometry and Reflectance Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46454-1_47
- Cognitive Computing and Neural Networks Handbook of statistics · Elsevier BV · 2016 10.1016/bs.host.2016.07.011
- Xception: Deep Learning with Depthwise Separable Convolutions 2017 10.1109/cvpr.2017.195
- A Review Paper on Textile Fiber Identification IOSR Journal of Polymer and Textile Engineering · IOSR Journals · 2017 10.9790/019x-04021420
- MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications arXiv (Cornell University) · Cornell University · 2017
- Fiber image classification using convolutional neural networks 2017 10.1109/icsai.2017.8248470
- Hydra: An Ensemble of Convolutional Neural Networks for Geospatial Land Classification IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2019 10.1109/tgrs.2019.2906883
- Classification of different animal fibers by near infrared spectroscopy and chemometric models Microchemical Journal · Elsevier BV · 2018 10.1016/j.microc.2018.10.011
- Evolving Ensemble Models for Image Segmentation Using Enhanced Particle Swarm Optimization IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2903015
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift arXiv (Cornell University) · Cornell University · 2024 10.57702/o9raffed
- Large-Scale Multi-label Text Classification — Revisiting Neural Networks Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-662-44851-9_28
- MobileNetV2: Inverted Residuals and Linear Bottlenecks 2018 10.1109/cvpr.2018.00474
- Densely Connected Convolutional Networks 2017 10.1109/cvpr.2017.243
- CU-Net: Component Unmixing Network for Textile Fiber Identification International Journal of Computer Vision · Springer Science+Business Media · 2019 10.1007/s11263-019-01199-9
- Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2017 10.1609/aaai.v31i1.11231
- Multi-model ensemble with rich spatial information for object detection Pattern Recognition · Elsevier BV · 2019 10.1016/j.patcog.2019.107098
- Deep Neural Network Ensembles Lecture notes in computer science · Springer Science+Business Media · 2019 10.1007/978-3-030-37599-7_1
- Beyond regression : new fools for prediction and analysis in the behavioral sciences 1974
- Applications of Microscopy to Polymers Springer eBooks · Springer Nature · 2008 10.1007/978-0-387-72628-1_5
- Support-vector networks Machine Learning · Springer Science+Business Media · 1995 10.1007/bf00994018
- MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1704.04861
- Neural Networks for Pattern Recognition 1995 10.1093/oso/9780198538493.001.0001