SAMF-YOLO: A self-supervised, high-precision approach for defect detection in complex industrial environments

J Jun Huang S Shamsul Arrieya Ariffin Q Qiang Zhu (School of Science and Molecular Horizons, ARC Centre of Excellence in Quantum Biotechnology) W Wanting Xu Q Qun Yang (Department of Molecular Sciences, Uppsala BioCenter, Swedish University of Agricultural Sciences and Linnean Center for Plant Biology)

Abstract

As object detection models grow in complexity, balancing computational efficiency and feature expressiveness becomes a critical challenge. To address this, we propose SAMF-YOLO, a novel model integrating three key components: SONet, BFAM, and FASFF-Head. The UniRepLKNet backbone, enhanced by the Star Operation, expands the feature space with high efficiency. FASFF-Head performs adaptive multi-scale feature fusion with minimal overhead, and the Bi-temporal Feature Aggregation Module (BFAM) strengthens the detection of small defects. Additionally, the Focaler-IoU loss improves bounding box regression for challenging object scales, and a self-supervised contrastive learning strategy enhances feature representation and model robustness without relying on labeled data. Experimental results demonstrate that SAMF-YOLO surpasses YOLOv11s with a 6.38% improvement in mAP@0.5 and a notable reduction in computational cost, confirming its superiority in accuracy, efficiency, and robustness. The code is released at https://github.com/Missing24ff/SAMF-YOLO.git.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 7
Published July 01, 2025
Pages e0327001
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (5)

J

Jun Huang

S

Shamsul Arrieya Ariffin

Q

Qiang Zhu

School of Science and Molecular Horizons, ARC Centre of Excellence in Quantum Biotechnology

W

Wanting Xu

Q

Qun Yang

Department of Molecular Sciences, Uppsala BioCenter, Swedish University of Agricultural Sciences and Linnean Center for Plant Biology