[论文解读] A Novel Strategy for Improving Robustness in Computer Vision Manufacturing Defect Detection
本文提出了一种新颖的数据增强策略,通过在包含相同缺陷类型的多样化背景上训练模型,强制其学习不变特征,从而提升基于计算机视觉的制造缺陷检测的鲁棒性。该方法显著增强了模型在新缺陷场景下的泛化能力,其中目标检测模型的表现优于二元分类器(AUC:0.995 vs. 0.923),聚类分析识别出非关键数据簇,有助于优化数据收集流程。
Visual quality inspection in high performance manufacturing can benefit from automation, due to cost savings and improved rigor. Deep learning techniques are the current state of the art for generic computer vision tasks like classification and object detection. Manufacturing data can pose a challenge for deep learning because data is highly repetitive and there are few images of defects or deviations to learn from. Deep learning models trained with such data can be fragile and sensitive to context, and can under-detect new defects not found in the training data. In this work, we explore training defect detection models to learn specific defects out of context, so that they are more likely to be detected in new situations. We demonstrate how models trained on diverse images containing a common defect type can pick defects out in new circumstances. Such generic models could be more robust to new defects not found data collected for training, and can reduce data collection impediments to implementing visual inspection on production lines. Additionally, we demonstrate that object detection models trained to predict a label and bounding box outperform classifiers that predict a label only on held out test data typical of manufacturing inspection tasks. Finally, we studied the factors that affect generalization in order to train models that work under a wider range of conditions.
研究动机与目标
- 解决深度学习模型在制造缺陷检测中因缺陷频率低和数据重复而导致的脆弱性问题。
- 探究在多样化背景下进行训练是否能提升模型对未见过的缺陷场景的泛化能力。
- 比较二元分类器与目标检测模型在分布外缺陷检测场景下的性能表现。
- 识别影响模型性能的关键数据簇,从而实现高效的数据收集与标注。
提出的方法
- 作者通过在不同形状、尺寸和材质的平面金属零件上采集单一缺陷类型(缺料)的图像,构建了多样化的训练数据集。
- 应用聚类(k-means)方法根据视觉相似性对图像进行分组,识别出三个显著簇:具有负空间的小型零件、较大尺寸的穿孔零件,以及大型圆形物体。
- 通过依次排除每个簇,构建了三个独立的训练集,以实现对数据重要性影响的受控评估。
- 在每个数据集上分别训练目标检测和二元分类模型,并使用保留的测试数据集的AUC进行评估。
- 通过多次实验评估模型在数据排除和背景变化条件下的泛化能力。
- 采用基于聚类的分析方法,确定哪些数据子集对模型鲁棒性和泛化能力的影响最为显著。

实验结果
研究问题
- RQ1在多样化背景下训练缺陷检测模型是否能提升其在新、未见过的场景中检测相同缺陷的能力?
- RQ2在分布外缺陷图像上,目标检测与二元分类在泛化性能方面有何差异?
- RQ3哪些数据簇对模型性能贡献最大?非关键簇是否可被排除以降低数据收集成本?
- RQ4在多样化数据上训练的模型在测试均匀、分布内数据时是否仍能保持高性能?
- RQ5影响模型泛化能力的因素是什么?聚类分析如何帮助识别这些因素?
主要发现
- 在多样化数据上训练的目标检测模型在泛化到新背景时AUC达到0.995,显著优于二元分类器(AUC:0.923)。
- 排除80%的训练数据(簇1)导致AUC从0.995降至0.923,但性能在数据稀疏条件下保持稳定,表明具有鲁棒性。
- 排除簇2(较大尺寸的穿孔零件)对性能无影响,表明该簇对泛化无关键作用。
- 排除簇3(大型圆形物体)导致AUC从0.995降至0.985,表明该簇对模型性能有中等程度的贡献。
- 聚类分析成功识别出对性能影响较小的数据子集,从而支持了减少数据收集与标注工作量的决策。
- 在多样化数据上训练的模型能有效泛化到新场景,表明通过背景变化学习不变特征是可行的。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。