基于YOLOv10s的织物缺陷检测轻量化研究
Lightweight Research on Fabric Defect Detection Based on YOLOv10s
DOI: 10.12677/jisp.2026.153027, PDF,   
作者: 肖钦元, 逯力红:天津工业大学物理科学与技术学院,天津
关键词: YOLOv10sMobileNetV4RCS-OSA轻量化YOLOv10s MobileNetV4 RCS-OSA Lightweight
摘要: 针对移动端织物缺陷检测算力受限、推理延迟高的问题,本文基于YOLOv10s提出轻量化模型MR-YOLOv10s。首先,引入MobileNetV4重构骨干网络,利用万能倒残差块(UIB)与移动端多查询注意力(Mobile MQA)剥离计算冗余,降低内存访问成本。其次,在颈部网络引入结构重参数化RCS-OSA模块,通过训练阶段多分支强化与推理阶段模块融合,在不增加时延的前提下有效回补精度损耗。此外,结合SCDown与C2fCIB单元提升特征提纯能力。实验结果显示,MR-YOLOv10s参数量为4.18 M,计算量为12.5 GFLOPs,较基线模型缩减近50%。与Faster R-CNN相比,推理速度提升约8倍(单张仅需3.1 ms),实现了速度与能效的深度缩减,适配移动端部署需求。
Abstract: To address the issues of limited computing power and high inference latency in mobile device fabric defect detection, this paper proposes a lightweight model named MR-YOLOv10s based on YOLOv10s. Firstly, MobileNetV4 is introduced to restructure the backbone network, and the universal inverted residual block (UIB) and mobile multi-query attention (Mobile MQA) are utilized to eliminate computational redundancies and reduce memory access costs. Secondly, a structure reparameterization RCS-OSA module is introduced in the neck network. Through multi-branch reinforcement in the training stage and operator fusion in the inference stage, the accuracy loss is effectively compensated without increasing latency. Additionally, the SCDown and C2fCIB units are combined to enhance the feature purification ability. Experimental results show that MR-YOLOv10s has 4.18 M parameters and 12.5 GFLOPs of computational power, reducing nearly 50% compared to the baseline model. Compared with Faster R-CNN, the inference speed is approximately 8 times faster (only 3.1 ms per single instance), achieving a significant reduction in both speed and energy efficiency, and adapted to the deployment requirements of mobile devices.
文章引用:肖钦元, 逯力红. 基于YOLOv10s的织物缺陷检测轻量化研究[J]. 图像与信号处理, 2026, 15(3): 309-318. https://doi.org/10.12677/jisp.2026.153027

参考文献

[1] Khwakhali, U.S., Tra, N.T., Tin, H.V., Khai, T.D., Tin, C.Q. and Hoe, L.I. (2022) Fabric Defect Detection Using Gray Level Co-Occurence Matrix and Local Binary Pattern. 2022 RIVF International Conference on Computing and Communication Technologies (RIVF), Ho Chi Minh City, 20-22 December 2022, 226-231. [Google Scholar] [CrossRef
[2] Kumar, A. and Pang, G.K.H. (2002) Defect Detection in Textured Materials Using Gabor Filters. IEEE Transactions on Industry Applications, 38, 425-440. [Google Scholar] [CrossRef
[3] Krizhevsky, A., Sutskever, I. and Hinton, G.E. (2017) ImageNet Classification with Deep Convolutional Neural Networks. Communications of the ACM, 60, 84-90.
[4] Ren, S.Q., He, K.M., Girshick, R. and Su, J. (2016) Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39, 1137-1149.
[5] Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C., et al. (2016) SSD: Single Shot Multibox Detector. In: Leibe, B., Matas, J., Sebe, N. and Welling, M., Eds., Computer VisionECCV 2016, Springer, 21-37. [Google Scholar] [CrossRef
[6] Redmon, J., Divvala, S., Girshick, R. and Farhadi, A. (2016) You Only Look Once: Unified, Real-Time Object Detection. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, 27-30 June 2016, 779-788. [Google Scholar] [CrossRef
[7] Redmon, J. and Farhadi, A. (2018) YOLOv3: An Incremental Improvement. arXiv: 1804.02767.
[8] Jocher, G., Chaurasia, A., Stoken, A., et al. (2022) Ultralytics/YOLOv5: v7. 0-YOLOv5 Sota Realtime Instance Segmentation. Zenodo.
[9] Chen, H., Chen, K., Ding, G., Han, J., Lin, Z., Liu, L., et al. (2024) YOLOv10: Real-Time End-To-End Object Detection. Advances in Neural Information Processing Systems 37, Vancouver, 10-15 December 2024, 107984-108011. [Google Scholar] [CrossRef
[10] Shazeer, N. (0219) Fast Transformer Decoding: One Write-Head Is All You Need. arXiv: 1911.02150.
[11] Kang, M., Ting, C., Ting, F.F. and Phan, R.C. (2023) RCS-YOLO: A Fast and High-Accuracy Object Detector for Brain Tumor Detection. In: Greenspan, H., et al., Eds., Medical Image Computing and Computer Assisted InterventionMICCAI 2023, Springer, 600-610. [Google Scholar] [CrossRef
[12] Qin, D., Leichner, C., Delakis, M., Fornoni, M., Luo, S., Yang, F., et al. (2024) MobileNetV4: Universal Models for the Mobile Ecosystem. In: Leonardis, A., Ricci, E., Roth, S., Russakovsky, O., Sattler, T. and Varol, G., Eds., Computer VisionECCV 2024, Springer, 78-96. [Google Scholar] [CrossRef