Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Artif. Intell.

Sec. Machine Learning and Artificial Intelligence

Volume 8 - 2025 | doi: 10.3389/frai.2025.1638772

This article is part of the Research TopicAdvances and Challenges in AI-Driven Visual Intelligence: Bridging Theory and PracticeView all 5 articles

Enhanced YOLOv8 for Industrial Polymer Films: A Semi-Supervised Framework for Micron-Scale Defect Detection

Provisionally accepted
Xiaoxia  YuXiaoxia Yu1Bingyu  HuBingyu Hu2,3Weifeng  JiangWeifeng Jiang4Jinru  WanJinru Wan1Xinduoji  YangXinduoji Yang2Nianbo  LiuNianbo Liu2,3Xiaoyan  DongXiaoyan Dong1*
  • 1Zhejiang Juhua Co Ltd, Quzhou, China
  • 2University of Electronic Science and Technology of China School of Electronic Science and Engineering, Chengdu, China
  • 3University of Electronic Science and Technology of China Yangtze Delta Region Institute Quzhou, Quzhou, China
  • 4Juhua Group Corporation, Quzhou, China

The final, formatted version of the article will be published soon.

Polymer material films are produced through extrusion machines, and their surfaces can develop micro-defects due to process and operational influences. The quantity and size of these defects significantly impact product quality. As traditional machine learning defect detection methods suffer from low accuracy and poor adaptability to complex scenarios, requiring extensive effort for parameter tuning and exhibiting weak generalization capability, this paper proposes an improved YOLOv8 method to identify micro-defects on films. The approach embeds the CBAM attention mechanism into high-level networks to address feature sparsity in small target detection samples. Simultaneously, given the difficulty in obtaining large annotated datasets, we employ the Mean Teacher method for semi-supervised learning using limited labeled data. During training, the method optimizes neural network gradients through an improved loss function based on normalized Wasserstein distance (NWD), mitigating gradient instability caused by scale variations and enhancing detection accuracy for small targets. Additionally, a proposed multi-threshold mask segmentation algorithm extracts defect contours for further feature analysis. Experimental results demonstrate that the improved YOLOv8 algorithm achieves an 8.26% increase in mAP@0.5 compared to the baseline. It exhibits higher precision for small targets, and maintains defect detection rates exceeding 95.0% across validation data of varying image sizes, thereby meeting industrial production requirements. In generalization validation, the model demonstrates superior performance compared to traditional methods under test environments with lighting variations and environmental contamination.

Keywords: Micron Defect Detection with YOLOv8 deep learning, polymer material film, Defect detection, YOLOv8 algorithm, CBAM, Mean Teacher, NWD

Received: 31 May 2025; Accepted: 19 Aug 2025.

Copyright: © 2025 Yu, Hu, Jiang, Wan, Yang, Liu and Dong. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Xiaoyan Dong, Zhejiang Juhua Co Ltd, Quzhou, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.