Beyond architecture: Hyperparameter optimization for YOLOv8m in multi-class textile defect detection

Research output: Contribution to journalArticlepeer-review

Abstract

Fabric defect detection in industrial textile manufacturing remains a challenging task due to intricate patterns and subtle defect features. Although existing methods employ sophisticated architectural innovations, they often introduce significant computational overhead and complexity, limiting industrial applicability. This study presents a configuration-centric approach for multi-class textile defect detection, optimizing the hyperparameters of the baseline YOLOv8m model without modifying its architecture. Experiments on the Tianchi Fabric Dataset with 22 defect classes involved systematic tuning of augmentation strategies, confidence and IoU thresholds, and loss function parameters through a rigorous multi-phase search procedure. The optimized YOLOv8m achieves 65.2 % mean Average Precision at IoU 0.5 ([email protected]), surpassing several recent state-of-the-art models: the YOLOX-CATD framework (54.6 % [email protected]), JDCBL transformer-based method (39.3 %), AMFF multi-scale fusion network (39.1 %), and CRFB approach trained on fewer classes (61.5 %). Notably, it marginally outperforms FD-YOLOv5 (65.1 % [email protected]) on a more extensive class set and exceeds RT-DETR-L transformer detector (64.1 %) while requiring 24 % fewer GFLOPs and exhibiting superior inference speed (17.4 FPS on NVIDIA GeForce RTX 3060 12GB). Ablation studies validate the significant impact of hyperparameter choices on performance, and saliency-based visualization confirms accurate defect localization despite interference from fabric motifs. These findings emphasize the efficacy of hyperparameter optimization as a scalable alternative to architectural complexity, offering a balanced trade-off between accuracy, speed, and deployment readiness in real-world production lines. The novelty of this study advances fabric defect inspection by providing a reproducible, efficient, and interpretable framework, underscoring disciplined configuration as a pivotal factor for state-of-the-art performance.

Original languageEnglish
Article number108356
JournalResults in Engineering
Volume28
DOIs
Publication statusPublished - Dec 2025

Keywords

  • Fabric defect detection
  • Hyperparameter optimization
  • Object detection
  • Textile inspection

Fingerprint

Dive into the research topics of 'Beyond architecture: Hyperparameter optimization for YOLOv8m in multi-class textile defect detection'. Together they form a unique fingerprint.

Cite this