教工厂如何用低质工业图像做缺陷检测,避免常见陷阱。
From Lab to Factory: Pitfalls and Guidelines for Self-/Unsupervised Defect Detection on Low-Quality Industrial Images
- 用自/无监督模型分析低质量工业图像中的缺陷
- 发现多数方法在真实场景下鲁棒性差,指标易误导
- 提供可操作指南,适合生产落地的质检工程师
工业产品缺陷检测长期依赖人工,成本高且易出错。机器学习有望替代,但实际中难以预知所有缺陷类型,因此倾向采用无监督或自监督方法。尽管已有大量研究在实验室环境下验证了重建、嵌入与生成类方法的有效性,但在真实工业场景中,这些方法往往对低质量数据不鲁棒,表现不稳定。本文聚焦于喷砂锻造件表面微小异常的检测,仅使用普通低质量RGB图像,这是典型的工业现实。我们评估两种前沿模型,旨在识别并改进生产数据中的质量缺陷,无需新增数据采集。贡献在于为实践者提供可信赖的诊断框架,用于判断模型或数据本身是否存在鲁棒性、不变性等问题。同时,揭示基于似然的方法常见误区,并提出更适合真实场景的经验风险估计框架。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。