Multimodal Llms For Image-Based Fabric Composition Identification
DOI:
https://doi.org/10.29284/n8jk2q41Keywords:
Fabric Composition identification, Multimodal LLMs, Vision-Language Models, Regression, LoRA, PEFT, Textile Blends.Abstract
With e-commerce shaping the way people buy clothes today, correctly determining what fabrics are made of is now a key requirement. Conventional methods are often constrained by hardware dependencies (e.g, NIR sensors), limited accessibility and poor fabric classification. We propose a parameter-efficient multimodal system that uses instruction-tuned LLMs to determine the proportion of fibers directly from fabric images. We compare two different multimodal models. The first is Meta’s LLaMA 3.2-Vision 11B Instruct model, which builds on a separately trained image encoder and a vision adapter that integrates image-feature representations via cross-attention layers into a core language model. The second is Salesforce’s BLIP2, which connects a ViT-G/14 image encoder to an OPT language model. In both the models, a light-weight regression head is appended to the final pooled representations and trained alongside LoRA injected adapters targeting the query, key and value projections within the transformer layers. The LoRA configuration is implemented using the PEFT (Parameter-Efficient Fine-Tuning), reducing trainable parameters to a few million for efficient adaptation. Experiments span six fiber categories -cotton, wool, polyester, linen, silk, and other fibers using a custom dataset of labelled textile images. The BLIP2-based model achieved a mean absolute error of 13.40 percentage points, outperforming the LLaMA 3.2 model, which recorded 14.87 percentage points on the test set. The evaluation results validate the use of vision-language models for estimating fiber composition and point toward their potential adoption in both consumer and industrial applications.
References
[1]. Chitra G. M., Shylaja S. S., Neha A. Angadi, Shreyas Raviprasad, and Royston Tauro, “Fabric Composition Identification using Fine-Tuned Vision Transformers,” Global Scientific and Academic Research Journal of Multidisciplinary Studies, vol. 2, no. 9, pp. 18–25, Sep. 2023.
[2]. A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, “Attention Is All You Need,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 30, pp. 5998–6008, 2017.
[3]. M. A. Gelary, “Gelary Script: A Visual Textile Analysis Using Fourier Transform and PCA,” GSAR Journal of Multidisciplinary Studies, vol. 8, no. 3, pp. 40–52, 2023.
[4]. W. H. Cheung and Q. Yang, “Fabric Defect Detection Using AI and Machine Learning for Lean and Automated Manufacturing of Acoustic Panels,” Journal of Engineering Manufacture, Institution of Mechanical Engineers, 2023. doi: 10.1177/09544054231209782
[5]. G. Stylios, “Engineering, Re-engineering and Reverse Engineering of Textiles or Textile Genetic Engineering,” International Journal of Clothing Science and Technology, vol. 10, no. 1, pp. 21–34, 1998.
[6]. C. Kampouris, S. Zafeiriou, A. Ghosh, and S. Malassiotis, “Fine-Grained Material Classification Using Micro-Geometry and Reflectance,” in Proc. European Conf. Computer Vision (ECCV), Amsterdam, Netherlands, Oct. 2016, pp. 778–792.
[7]. A. Q. Ohi, M. F. Mridha, M. A. Hamid, M. M. Monowar, and F. A. Kateb, “FabricNet: A Fiber Recognition Architecture Using Ensemble ConvNets,” IEEE Access, vol. 9, pp. 13224–13236, 2021. doi: 10.1109/ACCESS.2021.3051980.
[8]. S. Bian, C. Xu, Y. Xiu, A. Grigorev, Z. Liu, C. Lu, M. J. Black, and Y. Feng, “ChatGarment: Garment Estimation, Generation and Editing via Large Language Models,” arXiv preprint, arXiv:2412.17811, 2024. [Online]. Available: https://chatgarment.github.io
[9]. Z. Zhong and C. Xiao, “Fabric Composition Testing,” in Fabric Testing, Woodhead Publishing, 2008, pp. 48–60.
[10]. M. S. Hossain, M. S. Uddin, M. A. H. Akhand, and M. A. Al-Amin, “Textile Defect Detection Using MobileNetV2-Based Deep Neural Network,” PeerJ Computer Science, vol. 9, e2188, 2023. doi: 10.7717/peerj-cs.2188
[11]. R. Li, C. Dumery, B. Guillard, and P. Fua, “Garment Recovery with Shape and Deformation Priors,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2024, pp. 1586–1595.
[12].Renewcell,“What we accept,” Renewcell. [Online]. Available: https://www.renewcell.com/for-suppliers/wh at-we-accept/
[13]. National Authority for Trade and Consumer Protection, “Laboratory tests expose misleading labelling of textile products,” [Online]. Available: https://nkfh.gov.hu/uploads/NATCP_inspect s_infant_and_toddler_clothes_children_s_cl othes_and_gym_clothes_Laboratory_tests_e xpose_misleading_labelling_of_textile_prod ucts_02_04_298d121802.pdf
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

