Contrastive learning enhanced MobileMamba for real time industrial defect detection on edge devices

Industrial metal defect detection is difficult to run in real time on edge devices with limited computing power. To solve this problem, we propose a new lightweight detection network based on Mamba for industrial defect detection applications. Firstly, we designed a MobileMamba backbone network, which includes a Mamba network with temporal characteristics and a focus on global features. Moreover, we adopted a multi-scale approach to further stimulate the characteristics of Mamba and enhance the feature extraction ability of the model. We also add a contrastive auxiliary loss function on the basis of model training to compare the differences between foreground features and background features, as well as the differences between real labels and negative samples. We also defined the difficult negative samples and the easy negative samples, and used the negative samples with the top K% similarity as the difficult negative samples to make the model pay more attention to the difficult negative samples during training. Experiments on the NEU-DET, GC10-DET, and APDDD datasets show that the efficiency of our model is higher than that of the detection models at the same level, and our nano model can reason in real time on edge devices with an accuracy rate higher than that at the same level.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-01-13
DOI
https://doi.org/10.1038/s41598-026-35515-4
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Contrastive learning enhanced MobileMamba for real time industrial defect detection on edge devices

Shamsul Arrieya Ariffin, Kai Yong, Jun Huang, Qun Yang et al.
Scientific Reports
Advanced Neural Network Applications
article

Contrastive learning enhanced MobileMamba for real time industrial defect detection on edge devices

Shamsul Arrieya Ariffin, Kai Yong, Jun Huang, Qun Yang, Wanting Xu
article en

Abstract

Industrial metal defect detection is difficult to run in real time on edge devices with limited computing power. To solve this problem, we propose a new lightweight detection network based on Mamba for industrial defect detection applications. Firstly, we designed a MobileMamba backbone network, which includes a Mamba network with temporal characteristics and a focus on global features. Moreover, we adopted a multi-scale approach to further stimulate the characteristics of Mamba and enhance the feature extraction ability of the model. We also add a contrastive auxiliary loss function on the basis of model training to compare the differences between foreground features and background features, as well as the differences between real labels and negative samples. We also defined the difficult negative samples and the easy negative samples, and used the negative samples with the top K% similarity as the difficult negative samples to make the model pay more attention to the difficult negative samples during training. Experiments on the NEU-DET, GC10-DET, and APDDD datasets show that the efficiency of our model is higher than that of the detection models at the same level, and our nano model can reason in real time on edge devices with an accuracy rate higher than that at the same level.

Scientific ReportsVol. 16(1)
Sultan Idris Education University (MY), Wuhu Institute of Technology (CN), University of Kuala Lumpur (MY)
Anhui Provincial Quality Engineering Project
Industry, innovation and infrastructure
Openalex Percentile: Top 91%
Advanced Neural Network Applications
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.

Contrastive learning enhanced MobileMamba for real time industrial defect detection on edge devices — Shamsul Arrieya Ariffin, Kai Yong, et al. · Scientific Reports (2026) | TGRS Research Map | TGRS