mlsanityData to 7 Oct 2026

A SAM-guided Two-stream Lightweight Model for Anomaly Detection

arXiv 2402.19145 ↗First posted 29 Feb 2024cs.CVcited by 7

Not on the map. Why?

Abstract (arXiv)

In industrial anomaly detection, model efficiency and mobile-friendliness become the primary concerns in real-world applications. Simultaneously, the impressive generalization capabilities of Segment Anything (SAM) have garnered broad academic attention, making it an ideal choice for localizing unseen anomalies and diverse real-world patterns. In this paper, considering these two critical factors, we propose a SAM-guided Two-stream Lightweight Model for unsupervised anomaly detection (STLM) that not only aligns with the two practical application requirements but also harnesses the robust generalization capabilities of SAM. We employ two lightweight image encoders, i.e., our two-stream lightweight module, guided by SAM's knowledge. To be specific, one stream is trained to generate discriminative and general feature representations in both normal and anomalous regions, while the other stream reconstructs the same images without anomalies, which effectively enhances the differentiation of two-stream representations when facing anomalous regions. Furthermore, we employ a shared mask decoder and a feature aggregation module to generate anomaly maps. Our experiments conducted on MVTec AD benchmark show that STLM, with about 16M parameters and achieving an inference time in 20ms, competes effectively with state-of-the-art methods in terms of performance, 98.26% on pixel-level AUC and 94.92% on PRO. We further experiment on more difficult datasets, e.g., VisA and DAGM, to demonstrate the effectiveness and generalizability of STLM.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 52 of its 89 references that are in the map. First posted on arXiv 29 Feb 2024.

Builds on

52 of 89 references.

References · 52

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  6. 2023Segment Anythingcited by 8,158
  7. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  8. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  9. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  10. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  11. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  12. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
38 more
  1. 2015Fast R-CNNcited by 2,930
  2. 2013Describing Textures in the Wildcited by 2,110
  3. 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,586
  4. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
  5. 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 560
  6. 2023Segment Everything Everywhere All at Oncecited by 546
  7. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
  8. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
  9. 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 419
  10. 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
  11. 2022Decoupled Knowledge Distillationcited by 380
  12. 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
  13. 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
  14. 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
  15. 2020Learning Memory-guided Normality for Anomaly Detectioncited by 278
  16. 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 263
  17. 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
  18. 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 232
  19. 2019MetaPruning: Meta Learning for Automatic Neural Network Channel Pruningcited by 226
  20. 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 225
  21. 2022DeSTSeg: Segmentation Guided Denoising Student-Teacher for Anomaly Detectioncited by 153
  22. 2021Student-Teacher Feature Pyramid Matching for Anomaly Detectioncited by 145
  23. 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
  24. 2020Deep Learning for Medical Anomaly Detection -- A Surveycited by 127
  25. 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
  26. 2019Towards Visually Explaining Variational Autoencoderscited by 113
  27. 2022Explicit Boundary Guided Semi-Push-Pull Contrastive Learning for Supervised Anomaly Detectioncited by 72
  28. 2022MemSeg: A semi-supervised method for image surface defect detection using differences and commonalitiescited by 68
  29. 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 67
  30. 2022Prototypical Residual Networks for Anomaly Detection and Localizationcited by 56
  31. 2017On Pre-Trained Image Features and Synthetic Images for Deep Learningcited by 51
  32. 2020Improved anomaly detection by training an autoencoder with skip connections on images corrupted with Stain-shaped noisecited by 39
  33. 2023Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detectioncited by 32
  34. 2017CM-GANs: Cross-modal Generative Adversarial Networks for Common Representation Learningcited by 27
  35. 2020Rethinking Generative Zero-Shot Learning: An Ensemble Learning Perspective for Recognising Visual Patchescited by 27
  36. 2018q-Space Novelty Detection with Variational Autoencoderscited by 22
  37. 2020Post-training Quantization with Multiple Points: Mixed Precision without Mixed Precisioncited by 21
  38. 2020Fast Distance-based Anomaly Detection in Images Using an Inception-like Autoencodercited by 4

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 2.

7 papers.