Article Details

Title · Authors · Abstract · Keywords · DOI · References

Research on an Anomaly Detection Algorithm Based on Few-Shot of Micro-Speaker Diaphragms

LI Xudong, SONG Wenlong, HUANG Jianping

(College of Computer and Control Engineering, Northeast Forestry University, Harbin 150040, China)

Section:Electronic Engineering · 2025, Vol. 9, No. 13 · Pages:7-12 · 2096-4706(2025)13-0007-06 · CLC number:TP391 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2025.13.002

Abstract

To address the inefficiency caused by manual visual inspection of micro-speaker diaphragms, this paper proposes an anomaly detection algorithm that integrates a Latent Diffusion Model and SimAM. The diffusion model is employed to synthesize samples, solving the common issue of insufficient samples in industrial scenarios. Additionally, SimAM is incorporated to enhance the algorithm's image feature extraction capability and overall performance. Experiments demonstrate that the proposed method achieves an accuracy of 96.57% on the validation set, outperforming other anomaly detection algorithms. Furthermore, the detection speed reaches 157 frames per second, meeting the industrial on-site inspection standards and real-time requirements. This provides support for anomaly detection in micro-speaker diaphragms.

Keywords

anomaly detection; Few-Shot Learning; Attention Mechanism; feature fusion

References

  1. [1] CHUA L O,ROSKA T. The CNN Paradigm [J].IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications,1993,40(3):147-156.
  2. [2] ZHANG M,WU J,LIN H,et al. The Application of One-Class Classifier Based on CNN in Image Defect Detection [J].Procedia Computer Science,2017,114:341-348.
  3. [3] Wang Biao, Zhou Yalan, Wang Yonghong. Application of Improved Faster R-CNN Network in LED Bubble Defect Detection of Electronic Components [J]. Journal of Electronic Measurement and Instrumentation, 2021, 35 (9): 136-143
  4. [4] Zhao Kailin, Jin Xiaolong, Wang Yuanzhuo. A Review of Small Sample Learning Research [J]. Journal of Software, 2021, 32 (2): 349-369
  5. [5] Xu Xingyu, Zhong Yuzhong, Tu Haiyan, et al. Surface defect segmentation of small sample metal workpieces based on deep semi supervised learning [J]. Computer Application Research, 2024, 41 (8): 2540-2545
  6. [6] Dong Chao, Zhang Ke, Xie Zhiyuan, et al. A small sample transmission line image component defect classification method based on meta metric learning [J]. High Voltage Technology, 2024, 50 (9): 4131-4141
  7. [7] Gan Jiqiang, Wang Xiaoping. Surface defect detection of wire laying based on virtual sample generation [J]. Acta Aeronautica Sinica, 2024, 45 (1): 267-281
  8. [8] WANG C Y,LIAO H Y M,WU Y H,et al. CSPNet:A New Backbone That Can Enhance Learning Capability of CNN [C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops.Seattle:IEEE,2020:1571-1580.
  9. [9] ROMBACH R,BLATTMANN A,LORENZ D,et al. High-Resolution Image Synthesis with Latent Diffusion Models [C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.New Orleans:IEEE,2022:10674-10685.
  10. [10] HO J,JAIN A,ABBEEL P. Denoising Diffusion Probabilistic Models [J].Advances in Neural Information Processing Systems,2020,33:6840-6851.
  11. [11] XIAO Z,KREIS K,KAUTZ J,et al. VAEBM: A Symbiosis between Variational Autoencoders and Energy-Based Models [J/OL].arXiv: 2010.00654 [cs.LG].(2020-10-01).https: //arxiv.org/abs/2010.00654.
  12. [12] YANG L,ZHANG R-Y,LI L,et al. SimAM: A Simple, Parameter-Free Attention Module for Convolutional Neural Networks [C]//International Conference on Machine Learning.Vienna:PMLR,2021:11863-11874.
  13. [13] HU J,SHEN L,SUN G. Squeeze-and-Excitation Networks [J].IEEE Transactions on Pattern Analysis and Machine Intelligence,2020,42(8):2011-2023.
  14. [14] HOU Q,ZHOU D,FENG J. Coordinate Attention for Efficient Mobile Network Design [C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Nashville:IEEE,2021:13708-13717.

Funding

National Natural Science Foundation of China Project (61701105)

About the authors

Li Xudong (1998-), male, Han ethnicity, from Liaocheng, Shandong Province, is currently pursuing a master's degree in deep learning and computer vision; Song Wenlong (1973-), male, Han ethnicity, from Changbai Mountain, Jilin Province, professor, PhD, research direction: intelligent detection and control; Corresponding author: Huang Jianping (1982-), male, Han nationality, from Mount Wuyi, Fujian Province, associate professor, doctor, research direction: visual inspection, image processing research.