mlsanityData to 14 Oct 2026

From Lab to Factory: Pitfalls and Guidelines for Self-/Unsupervised Defect Detection on Low-Quality Industrial Images

arXiv 2506.16890 ↗First posted 20 Jun 2025cs.LG cs.CV stat.APcited by 0

Not on the map. Why?

Abstract (arXiv)

The detection and localization of quality-related problems in industrially mass-produced products has historically relied on manual inspection, which is costly and error-prone. Machine learning has the potential to replace manual handling. As such, the desire is to facilitate an unsupervised (or self-supervised) approach, as it is often impossible to specify all conceivable defects ahead of time. A plethora of prior works have demonstrated the aptitude of common reconstruction-, embedding-, and synthesis-based methods in laboratory settings. However, in practice, we observe that most methods do not handle low data quality well or exude low robustness in unfavorable, but typical real-world settings. For practitioners it may be very difficult to identify the actual underlying problem when such methods underperform. Worse, often-reported metrics (e.g., AUROC) are rarely suitable in practice and may give misleading results. In our setting, we attempt to identify subtle anomalies on the surface of blasted forged metal parts, using rather low-quality RGB imagery only, which is a common industrial setting. We specifically evaluate two types of state-of-the-art models that allow us to identify and improve quality issues in production data, without having to obtain new data. Our contribution is to provide guardrails for practitioners that allow them to identify problems related to, e.g., (lack of) robustness or invariance, in either the chosen model or the data reliably in similar scenarios. Furthermore, we exemplify common pitfalls in and shortcomings of likelihood-based approaches and outline a framework for proper empirical risk estimation that is more suitable for real-world scenarios.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 34 references that are in the map. First posted on arXiv 20 Jun 2025.

Builds on

16 of 34 references.

References · 16

  1. 2023Segment Anythingcited by 8,234
  2. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  4. 2013Describing Textures in the Wildcited by 2,125
  5. 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
  6. 2024Grounded SAM: Assembling Open-World Models for Diverse Visual Taskscited by 929
  7. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
  8. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
  9. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
  10. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  11. 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
  12. 2020DROCC: Deep Robust One-Class Classificationcited by 121
4 more
  1. 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
  2. 2024A Unified Anomaly Synthesis Strategy with Gradient Ascent for Industrial Anomaly Detection and Localizationcited by 74
  3. 2022Deep Learning for Unsupervised Anomaly Localization in Industrial Images: A Surveycited by 68
  4. 2021Entropic Issues in Likelihood-Based OOD Detectioncited by 16

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024DefFiller: Mask-Conditioned Diffusion for Salient Steel Surface Defect Generation
  2. 2024Leveraging Latent Diffusion Models for Training-Free In-Distribution Data Augmentation for Surface Defect Detection
  3. 2024A Comprehensive Survey on Machine Learning Driven Material Defect Detection
  4. 2026FLASH: A "Generate Once, Synthesize Many" Framework for Synthetic Anomaly Generation in Industrial Anomaly Detection
  5. 2025Image-Intrinsic Priors for Integrated Circuit Defect Detection and Novel Class Discovery via Self-Supervised Learning
  6. 2026SteelDefectX: A Multi-Form Vision-Language Dataset and Benchmark for Steel Surface Defect Analysis
  7. 2025Towards Open-Vocabulary Industrial Defect Understanding with a Large-Scale Multimodal Dataset
  8. 2025Enhancing Glass Defect Detection with Diffusion Models: Addressing Imbalanced Datasets in Manufacturing Quality Control