# Liquid Reservoir Weld Defect Detection Based on Improved YOLOv8s

**Authors:** Zonghang Li, Tao Song, Bin Zhou, Yupei Zhang, Shifan Yu, Songxiao Cao, Zhipeng Xu, Qing Jiang

PMC · DOI: 10.3390/s25216521 · Sensors (Basel, Switzerland) · 2025-10-23

## TL;DR

This paper introduces an improved YOLOv8s algorithm for detecting weld defects in automotive liquid reservoirs, achieving better accuracy than traditional methods.

## Contribution

The novel integration of RepGFPN, FocalNets, and CGA in YOLOv8s enhances weld defect detection for varying defect sizes and complexities.

## Key findings

- The improved YOLOv8s achieved a 6.3% increase in mAP@0.5 and 4.3% in mAP@0.5:0.95 compared to the original model.
- Specific defect detection improved significantly, with porosity showing a 13.5% AP increase.
- The model outperformed state-of-the-art methods on weld defect datasets for liquid reservoirs and steel pipes.

## Abstract

The liquid reservoir is a critical component of the automotive air conditioning system, while weld seams on its surface may exhibit different types of defects with various shapes and scales, meaning traditional detection methods struggle to detect them effectively. In this article, we propose a YOLOv8s-based algorithm to detect liquid reservoir weld defects. In order to improve feature fusion within the neck and enhance the model’s capacity to detect defects showing substantial size variations, the neck is optimized through the integration of the improved Reparameterized Generalized Feature Pyramid Network (RepGFPN) and the addition of a small-object detection head. To further improve the capacity of identifying complex defects, the Spatial Pyramid Pooling Fast (SPPF) module in YOLOv8s is substituted with Focal Modulation Networks (FocalNets). Additionally, the Cascaded Group Attention (CGA) mechanism is incorporated into the improved neck to minimize the propagation of redundant feature information. Experimental results indicate that the improved YOLOv8s achieves a 6.3% improvement in mAP@0.5 and a 4.3% improvement in mAP@0.5:0.95 compared to the original model. The AP value for detecting craters, porosity, undercuts, and lack of fusion defects improves by 3.9%, 13.5%, 5.0%, and 2.5%, respectively. We conducted comparative experiments against other state-of-the-art models on the liquid reservoir weld dataset and the steel pipe weld defect dataset, and the results show that our model has outstanding detection performance.

## Full-text entities

- **Genes:** RCAN1 (regulator of calcineurin 1) [NCBI Gene 1827] {aka ADAPT78, CSP1, DSCR1, MCIP1}
- **Diseases:** injury to (MESH:D014947), Crater defects (MESH:D000013), steel pipe weld defects (MESH:D013494)
- **Chemicals:** RepGFPN (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12608454/full.md

## Figures

14 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12608454/full.md

## References

50 references — full list in the complete paper: https://tomesphere.com/paper/PMC12608454/full.md

---
Source: https://tomesphere.com/paper/PMC12608454