A Lightweight Improved YOLOv8-Based Method for Rebar Intersection Detection
Abstract
1. Introduction
- (1)
- A rebar-intersection dataset comprising 12,000 images is constructed, accompanied by systematic preprocessing and annotation. The dataset covers diverse illumination conditions, occlusion patterns, and rebar layout configurations, thereby providing a comprehensive reflection of real construction-site environments and strong data support for model accuracy and generalization in complex scenarios.
- (2)
- In terms of model architecture, the original CSPDarkNet backbone in YOLOv8 is replaced with ShuffleNetV2. By leveraging channel splitting and channel shuffling, the proposed backbone effectively reduces the number of parameters and floating-point operations while maintaining multi-scale feature extraction capability, thereby markedly improving runtime efficiency in resource-constrained environments. To alleviate the computational redundancy of the C2f modules in YOLOv8, a DualConv structure is introduced, which combines grouped convolutions and pointwise convolutions in parallel. By exploiting group sparsity, DualConv reduces redundant computation and enhances the extraction and fusion of small-target features, further improving the model’s lightweight characteristics without compromising detection accuracy.
- (3)
- On the self-constructed dataset, comparative experiments are conducted between the proposed model and mainstream detectors such as Faster R-CNN and YOLOv5/6/7/8. The results show that the proposed method maintains a high level of accuracy in terms of mAP@50, while significantly reducing GFLOPs and model size, thereby demonstrating the feasibility and superiority of the improved model for deployment on edge devices and in practical engineering applications.
2. Materials and Methods
2.1. Dataset Construction and Processing
2.1.1. Dataset Construction
2.1.2. Dataset Annotation and Processing
2.2. Overview of the YOLOv8 and YOLOv8-Seg Frameworks
2.3. Lightweight Improved YOLOv8 Network
2.3.1. Backbone Improvement Using ShuffleNetV2
2.3.2. Residual Module Improved with Dual Convolution
2.3.3. Overall Network Architecture
2.4. Experimental Environment and Evaluation Metrics
- (1)
- Precision
- (2)
- Recall
- (3)
- Average Precision (AP)
- (4)
- Mean Average Precision (mAP)
- (5)
- F1-score
- (6)
- Model Complexity Metrics
3. Results and Discussion
3.1. Object Detection Experiments
3.2. Image Segmentation Experiments
3.3. Ablation Study
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AP | Average Precision |
| BCE | Binary Cross-Entropy |
| BIM | Building Information Modeling |
| C2f | Faster Implementation of CSP Bottleneck with 2 Convolutions |
| C2f_Dual | C2f Block with DualConv |
| CBS | Conv–BatchNorm–SiLU |
| CIoU | Complete Intersection over Union |
| CNN | Convolutional Neural Network |
| CSP | Cross Stage Partial |
| CSPDarknet53 | Cross Stage Partial Darknet-53 |
| CUDA | Compute Unified Device Architecture |
| cuDNN | CUDA Deep Neural Network Library |
| DFL | Distribution Focal Loss |
| DualConv | Dual Convolution |
| F1 | F1-Score (Harmonic Mean of Precision and Recall) |
| FLOPs | Floating-Point Operations |
| FPN | Feature Pyramid Network |
| GFLOPs | Giga Floating-Point Operations |
| IoU | Intersection over Union |
| MAC | Memory Access Cost |
| mAP | Mean Average Precision |
| OpenCV | Open Source Computer Vision Library |
| PAN | Path Aggregation Network |
| RC | Reinforced Concrete |
| RGB-D | Red–Green–Blue plus Depth (Color–Depth Camera) |
| R-CNN | Region-based Convolutional Neural Network |
| Faster R-CNN | Faster Region-based Convolutional Neural Network |
| SPPF | Spatial Pyramid Pooling—Fast |
| VRAM | Video Random-Access Memory |
| YOLO | You Only Look Once |
| YOLOv8L | Large Variant of YOLOv8 |
| YOLOv8-seg | YOLOv8 for Instance Segmentation |
| YOLOv8L-seg | Large Variant of YOLOv8 for Instance Segmentation |
References
- Ferreiro-Cabello, J.; Fraile-Garcia, E.; Lara-Santillán, P.M.; Mendoza-Villena, M. Assessment and Optimization of a Clean and Healthier Fusion Welding Procedure for Rebar in Building Structures. Appl. Sci. 2020, 10, 7045. [Google Scholar] [CrossRef]
- Liu, M.; Guo, J.; Deng, L.; Wang, S.; Wang, H. Enhanced Vision-Based 6-DoF Pose Estimation for Robotic Rebar Tying. Autom. Constr. 2025, 171, 105999. [Google Scholar] [CrossRef]
- Tan, X.; Xiong, L.; Zhang, W.; Zuo, Z.; He, X.; Xu, Y.; Li, F. Rebar-Tying Robot Based on Machine Vision and Coverage Path Planning. Robot. Auton. Syst. 2024, 182, 104826. [Google Scholar] [CrossRef]
- Guo, W.; Liang, G.; Ren, S.; Zeng, C. Automatic Crack Detection Method for High-Speed Railway Box Girder Based on Deep Learning Techniques and Inspection Robot. Structures 2024, 68, 107116. [Google Scholar] [CrossRef]
- Gong, Y.; Yang, K.; Seo, J.; Lee, J.G. Wearable Acceleration-Based Action Recognition for Long-Term and Continuous Activity Analysis in Construction Site. J. Build. Eng. 2022, 52, 104448. [Google Scholar] [CrossRef]
- Mahamivanan, H.; Matthews, J.; Love, P.E.D.; Nasirzadeh, F. Toward Accurate Detection of Small Objects in Rail Construction: A Deep Learning Perspective. Eng. Appl. Artif. Intell. 2025, 160, 111977. [Google Scholar] [CrossRef]
- Cai, Z.; Chebil, G.A.; Tan, Y.; Kessler, S.; Fottner, J. Deep Learning-Based on-Site Identification and Volume Measurement of Bulk Material in Construction Industry. Eng. Appl. Artif. Intell. 2026, 163, 112797. [Google Scholar] [CrossRef]
- Xu, J.; Pan, W. Deep Learning-Based Object Detection for Dynamic Construction Site Management. Autom. Constr. 2024, 165, 105494. [Google Scholar] [CrossRef]
- Zeng, L.; Guo, S.; Wu, J.; Markert, B. Autonomous Mobile Construction Robots in Built Environment: A Comprehensive Review. Dev. Built Environ. 2024, 19, 100484. [Google Scholar] [CrossRef]
- Du, S.; Du, M.; Gao, Y.; Yang, M.; Hu, F.; Weng, Y. Optimized Motion Planning for Mobile Robots in Dynamic Construction Environments with Low-Feature Mapping and Pose-Based Positioning. Autom. Constr. 2025, 177, 106334. [Google Scholar] [CrossRef]
- Chen, P.; Huang, B.; Yuan, S.; Jin, Y.; Hou, J. Automated Mobile Robot-Based Detection of in-Process Tunnel Lining Deformation during Construction. Autom. Constr. 2025, 180, 106560. [Google Scholar] [CrossRef]
- Jin, J.; Zhang, W.; Li, F.; Li, M.; Shi, Y.; Guo, Z.; Huang, Q. Robotic Binding of Rebar Based on Active Perception and Planning. Autom. Constr. 2021, 132, 103939. [Google Scholar] [CrossRef]
- Feng, R.; Jia, Y.; Wang, T.; Gan, H. Research on the System Design and Target Recognition Method of the Rebar-Tying Robot. Buildings 2024, 14, 838. [Google Scholar] [CrossRef]
- Chua, W.P.; Cheah, C.C. Deep-Learning-Based Automated Building Construction Progress Monitoring for Prefabricated Prefinished Volumetric Construction. Sensors 2024, 24, 7074. [Google Scholar] [CrossRef]
- Helian, B.; Huang, G.; Geimer, M. Temporal Sequence-Based Object Detection and Action Recognition for Mobile Machinery on Construction Sites. Adv. Eng. Inform. 2025, 68, 103691. [Google Scholar] [CrossRef]
- Xiao, H.; Yang, B.; Lu, Y.; Chen, W.; Lai, S.; Gao, B. Automated Detection of Complex Construction Scenes Using a Lightweight Transformer-Based Method. Autom. Constr. 2025, 177, 106330. [Google Scholar] [CrossRef]
- Fan, Z.; Lu, J.; Qiu, B.; Jiang, T.; An, K.; Josephraj, A.N.; Wei, C. Automated Steel Bar Counting and Center Localization with Convolutional Neural Networks. arXiv 2019, arXiv:1906.00891. [Google Scholar] [CrossRef]
- Xi, J.; Gao, L.; Zheng, J.; Wang, D.; Tu, C.; Jiang, J.; Miao, Y.; Zhong, J. Automatic Spacing Inspection of Rebar Spacers on Reinforcement Skeletons Using Vision-Based Deep Learning and Computational Geometry. J. Build. Eng. 2023, 79, 107775. [Google Scholar] [CrossRef]
- Kardovskyi, Y.; Moon, S. Artificial Intelligence Quality Inspection of Steel Bars Installation by Integrating Mask R-CNN and Stereo Vision. Autom. Constr. 2021, 130, 103850. [Google Scholar] [CrossRef]
- Mangal, M.; Li, M.; Gan, V.J.L.; Cheng, J.C.P. Automated Clash-Free Optimization of Steel Reinforcement in RC Frame Structures Using Building Information Modeling and Two-Stage Genetic Algorithm. Autom. Constr. 2021, 126, 103676. [Google Scholar] [CrossRef]
- Wang, H.; Ye, Z.; Wang, D.; Jiang, H.; Liu, P. Synthetic Datasets for Rebar Instance Segmentation Using Mask R-CNN. Buildings 2023, 13, 585. [Google Scholar] [CrossRef]
- Li, Y.; Lu, Y.; Chen, J. A Deep Learning Approach for Real-Time Rebar Counting on the Construction Site Based on YOLOv3 Detector. Autom. Constr. 2021, 124, 103602. [Google Scholar] [CrossRef]
- Cheng, B.; Deng, L. Vision Detection and Path Planning of Mobile Robots for Rebar Binding. J. Field Robot. 2024, 41, 1864–1886. [Google Scholar] [CrossRef]
- Zhao, X.; Yang, Z.; Zhao, H. DCS-YOLOv8: A Lightweight Context-Aware Network for Small Object Detection in UAV Remote Sensing Imagery. Remote Sens. 2025, 17, 2989. [Google Scholar] [CrossRef]
- Yang, S.; Chen, L.; Wang, J.; Jin, W.; Yu, Y. A Novel Lightweight Object Detection Network with Attention Modules and Hierarchical Feature Pyramid. Symmetry 2023, 15, 2080. [Google Scholar] [CrossRef]
- Liu, H.; Yao, D.; Yang, J.; Li, X. Lightweight Convolutional Neural Network and Its Application in Rolling Bearing Fault Diagnosis under Variable Working Conditions. Sensors 2019, 19, 4827. [Google Scholar] [CrossRef]
- Farman, H.; Nasralla, M.M.; Khattak, S.B.A.; Jan, B. Efficient Fire Detection with E-EFNet: A Lightweight Deep Learning-Based Approach for Edge Devices. Appl. Sci. 2023, 13, 12941. [Google Scholar] [CrossRef]
- Zhang, X.; Zhang, X.; Jiang, H.; Ma, B.; Si, Y. Efficient Rebar Bundling: Vision Robotics Innovations. J. Chin. Inst. Eng. 2024, 47, 312–324. [Google Scholar] [CrossRef]
- Duan, H.; Yu, M.; Ai, T.; Zhu, M.; Jiang, H.; Guo, S. YOLO-FAS: A Lightweight Model for Detecting Rebar Intersections Location and Tying Status. Neurocomputing 2025, 624, 129485. [Google Scholar] [CrossRef]
- Zheng, Y.; Zhou, G.; Lu, B. A Multi-Scale Rebar Detection Network with an Embedded Attention Mechanism. Appl. Sci. 2023, 13, 8233. [Google Scholar] [CrossRef]
- Zhu, A.; Xie, J.; Wang, B.; Guo, H.; Guo, Z.; Wang, J.; Xu, L.; Zhu, S.; Yang, Z. Lightweight Defect Detection Algorithm of Tunnel Lining Based on Knowledge Distillation. Sci. Rep. 2024, 14, 27178. [Google Scholar] [CrossRef] [PubMed]
- Chen, J.; Kao, S.; He, H.; Zhuo, W.; Wen, S.; Lee, C.-H.; Chan, S.-H.G. Run, Don’t Walk: Chasing Higher FLOPS for Faster Neural Network. arXiv 2023, arXiv:2303.03667. [Google Scholar] [CrossRef]
- Zhao, Y.; Sun, F.; Wu, X. FEB-YOLOv8: A Multi-Scale Lightweight Detection Model for Underwater Object Detection. PLoS ONE 2024, 19, e0311173. [Google Scholar] [CrossRef] [PubMed]



















| Configuration Item | Specification |
|---|---|
| CPU | Intel® Xeon® Gold 6133 |
| GPU | NVIDIA GeForce RTX A5000 × 2 |
| GPU memory (VRAM) | 24 GB × 2 |
| OS | Ubuntu22.04 LTS-Desktop |
| Deep learning framework | PyTorch 1.9.0 |
| Python version | 3.8.19 |
| OpenCV | 4.9.0.80 |
| CUDA | 11.0 |
| CUDNN | v8.05.39 |
| Model | mAP@50 | GFLOPs(M) | Model Size (MB) |
|---|---|---|---|
| Faster R-CNN | 0.9435 | 131.5 | 91.6 |
| YOLOv5 | 0.9878 | 135.3 | 101 |
| YOLOv6 | 0.9809 | 391.9 | 211 |
| YOLOv7 | 0.9691 | 105.2 | 71.3 |
| This Paper | 0.9774 | 69.3 | 40.8 |
| YOLOv8L | Improved Backbone | Improved C2f | mAP@50 | GFLOPs(M) | Model Size (MB) |
|---|---|---|---|---|---|
| √ | 0.9888 | 165.4 | 83.6 | ||
| √ | √ | 0.9828 | 134.5 | 68.8 | |
| √ | √ | 0.9789 | 81.1 | 47.9 | |
| √ | √ | √ | 0.9774 | 69.3 | 40.8 |
| YOLOv8L-Seg | Improved Backbone | Improved C2f | mAP@50 | GFLOPs | Model Size (MB) |
|---|---|---|---|---|---|
| √ | 0.9633 | 191.4 | 61.7 | ||
| √ | √ | 0.9588 | 172.3 | 54.0 | |
| √ | √ | 0.9464 | 136.5 | 52.3 | |
| √ | √ | √ | 0.9437 | 132.8 | 50.2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, R.; Shi, F.; She, Y.; Zhang, L.; Lin, K.; Fu, L.; Shi, J. A Lightweight Improved YOLOv8-Based Method for Rebar Intersection Detection. Appl. Sci. 2025, 15, 12898. https://doi.org/10.3390/app152412898
Wang R, Shi F, She Y, Zhang L, Lin K, Fu L, Shi J. A Lightweight Improved YOLOv8-Based Method for Rebar Intersection Detection. Applied Sciences. 2025; 15(24):12898. https://doi.org/10.3390/app152412898
Chicago/Turabian StyleWang, Rui, Fangjun Shi, Yini She, Li Zhang, Kaifeng Lin, Longshun Fu, and Jingkun Shi. 2025. "A Lightweight Improved YOLOv8-Based Method for Rebar Intersection Detection" Applied Sciences 15, no. 24: 12898. https://doi.org/10.3390/app152412898
APA StyleWang, R., Shi, F., She, Y., Zhang, L., Lin, K., Fu, L., & Shi, J. (2025). A Lightweight Improved YOLOv8-Based Method for Rebar Intersection Detection. Applied Sciences, 15(24), 12898. https://doi.org/10.3390/app152412898

