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

• Presented a configuration-first hyperparameter optimization approach for YOLOv8m applied to multi-class textile defect detection. • Achieved 63.2% [email protected] with real-time processing throughput, surpassing more complex architectural models. • Demonstrated robustness through multi-seed reproducibility tests with low variance and 95% confidence intervals. • Provided comprehensive ablation studies clarifying the rationale for loss weights, classification thresholds, and validation settings. • Benchmarked against state-of-the-art models including EfficientDet, transformers, and anchor-free methods with consistent evaluation settings. 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.

Authors

Institutions

Publication Details

Journal
Results in Engineering
Published
2025-11-21
DOI
https://doi.org/10.1016/j.rineng.2025.108356
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Moses Laksono Singgih, Fajar Pitarsi Dharma, Dedy Dwi Prastyo
Results in Engineering
Industrial Vision Systems and Defect Detection
article

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

Moses Laksono Singgih, Fajar Pitarsi Dharma, Dedy Dwi Prastyo
article en

Abstract

• Presented a configuration-first hyperparameter optimization approach for YOLOv8m applied to multi-class textile defect detection. • Achieved 63.2% [email protected] with real-time processing throughput, surpassing more complex architectural models. • Demonstrated robustness through multi-seed reproducibility tests with low variance and 95% confidence intervals. • Provided comprehensive ablation studies clarifying the rationale for loss weights, classification thresholds, and validation settings. • Benchmarked against state-of-the-art models including EfficientDet, transformers, and anchor-free methods with consistent evaluation settings. 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.

Results in EngineeringVol. 28
Sepuluh Nopember Institute of Technology (ID), Solvay (Belgium) (BE)
Openalex Percentile: Top 52%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.