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

Read full text
Authors: Jun Huang, Shamsul Arrieya Ariffin, Qun Yang, Kai Yong, Wanting Xu
Cited by: 0
References: 23

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.

Fields of Study & Subjects

Industrial Vision Systems and Defect Detection Non-Destructive Testing Techniques Advanced Neural Network Applications

Publication details

Journal / source
Scientific Reports
Volume
16
Issue
1
Pages
5096–5096
Publication date
13 January 2026
Language
EN