journal article·2023-12Open access

Incorporating convolutions into transformers for textile fiber identification from fabric images

Luoli Xu, Fenying Li, Shan Chang

Textile Research Journal· Volume 93· Issue 23-24

Abstract

Simple, fast and effective fiber identification can help consumers purchase their desired apparel and help the industry conduct large-scale textile testing. This paper presents a transformer architecture incorporating convolutions to recognize fibers in textile surface images, which meets the above requirements. Firstly, a convolution operation is performed on textile images to pick up overlapping patches as tokens and the linear projections in transformer encoders are replaced by depth-wise separable convolutions to extract the fiber representations. Secondly, the multi-head cross-attention module enables each label embedding to be compared with features at each spatial location to locate and pool the corresponding fiber characteristics. Finally, a simplified asymmetric loss is introduced to further purify the extracted fiber features. Experiments demonstrate that the proposed approach provides a significant improvement in fiber identification accuracy over both state-of-the-art multi-label classification frameworks and fiber identification architectures.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Color Science and Applications · Textile materials and evaluations

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computer Science and Technology, Donghua University, China

Silicon Engineer Group, ZEKU Technologies (Shanghai), China

Funding

National Natural Science Foundation of China

References (43)

Show source-provided references
1. Raeve AD · J Text Eng Fash Technol · 2018 · 4 · 66
2. Bibi N · Int J Sci Res Publ · 2021 · 11 · 717
3. 10.1177/004051751246707810.1177/0040517512467078 ↗
4. 10.4028/www.scientific.net/AMR.156-157.71710.4028/www.scientific.net/AMR.156-157.717 ↗
5. 10.1016/j.heliyon.2022.e0960510.1016/j.heliyon.2022.e09605 ↗
6. 10.1177/00405175840540050210.1177/004051758405400502 ↗
7. 10.5604/01.3001.0014.238410.5604/01.3001.0014.2384 ↗
8. 10.1179/01971368780602793310.1179/019713687806027933 ↗
9. 10.1177/152808370706946410.1177/1528083707069464 ↗
10. 10.1177/0040517505418710.1177/00405175054187 ↗
11. 10.1177/004051750808975510.1177/0040517508089755 ↗
12. Lu K · J Eng Fibers Fabr · 2019 · 14 · 1
13. 10.1007/s11263-019-01199-910.1007/s11263-019-01199-9 ↗
14. 10.1109/ACCESS.2019.292322510.1109/ACCESS.2019.2923225 ↗
15. 10.1177/004051751881704310.1177/0040517518817043 ↗
16. 10.1007/978-3-319-46454-1_4710.1007/978-3-319-46454-1_47 ↗
17. 10.1109/ACCESS.2021.305198010.1109/ACCESS.2021.3051980 ↗
18. 10.1016/j.neucom.2023.01.03310.1016/j.neucom.2023.01.033 ↗
19. Chen SF · Proc AAAI Conf Artif Intell · 2018 · 32 · 6714
20. Yang YY, Lin YA, Chu HM, et al. Deep learning with a rethinking structure for multi-label classification. In: eds WS Lee and T Suzuki. Asian conference on machine learning , Nagoya, Japan, 17-19 November 2019, paper no. paper no. 79, pp.125–140. New York: PMLR.
21. 10.1016/j.neucom.2022.03.05710.1016/j.neucom.2022.03.057 ↗
22. 10.1016/j.neucom.2019.05.02410.1016/j.neucom.2019.05.024 ↗
23. You R · Proc AAAI Conf Artif Intell · 2020 · 34 · 12709
24. 10.1109/ICCV48922.2021.0002310.1109/ICCV48922.2021.00023 ↗
25. 10.1145/3474085.347519110.1145/3474085.3475191 ↗
26. 10.1016/j.neucom.2022.12.04710.1016/j.neucom.2022.12.047 ↗
27. 10.1016/j.neucom.2023.01.05510.1016/j.neucom.2023.01.055 ↗
28. 10.1109/ICCV48922.2021.0000910.1109/ICCV48922.2021.00009 ↗
29. 10.1145/3503161.354831010.1145/3503161.3548310 ↗
30. Ba JL, Kiros JR, Hinton GE. Layer normalization. arXiv preprint arXiv:1607.06450 .
31. 10.1109/CVPR.2017.19510.1109/CVPR.2017.195 ↗
32. Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need. In: In: eds I. Guyon, UV Luxburg, S. Bengio, et al. 31st conference on neural information processing systems , Long Beach, CA, USA, 4-9 December 2017, paper no.124, pp. 5998–6008. New York: ACM.
33. 10.1080/00393630.2017.141095610.1080/00393630.2017.1410956 ↗
34. 10.1039/D1AN01794B10.1039/D1AN01794B ↗
35. 10.1109/CVPR52688.2022.0118610.1109/CVPR52688.2022.01186 ↗
36. Yuan K, Guo S, Liu Z, et al. Incorporating convolution designs into visual transformers. In: eds T Hassner, C Pal, Y Sato, et al. Proceedings of the IEEE/CVF international conference on computer vision , Montreal, QC, Canada, 10–17 October 2021, paper no. 2593, pp. 579–588. New York: IEEE.
37. Ridnik T, Ben BE, Zamir N, et al. Asymmetric loss for multi-label classification. In: eds T Hassner, C Pal, Y Sato, et al. Proceedings of the IEEE/CVF international conference on computer vision , Montreal, QC, Canada, 10–17 October 2021, paper no. 7868, pp. 82–91. New York: IEEE.
38. Liu SL, Zhang L, Yang X, et al. Query2label: a simple transformer way to multi-label classification. arXiv preprint arXiv:2107.10834 .
39. Kingma DP, Ba JL. Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980 .
40. 10.1109/CVPR.2019.0053210.1109/CVPR.2019.00532 ↗
41. 10.1109/ICCV.2019.0006110.1109/ICCV.2019.00061 ↗
42. 10.1080/00405000.2013.83509210.1080/00405000.2013.835092 ↗
43. 10.35530/IT.072.03.176010.35530/IT.072.03.1760 ↗