持續學習之分佈外數據偵測應用於細粒度瑕疵影像辨識
Continual Learning with Out-of-Distribution Data Detection for Fine-grained Defect Classification
摘要
缺陷檢測在產線上是一個用來確保產品品質的重要步驟。
近期,深度學習模型被廣泛使用於缺陷檢測中,但在實際產線場景中有三個關鍵挑戰需要被解決,異常和未知缺陷存在、新類別的出現以及缺陷之間難以辨識的問題。
為此,我們整合了三個研究領域:持續學習、分布外數據偵測和細粒度影像辨識來應對上述的挑戰。
我們提出了一個用於分類未知缺陷並學習新類別之帶有分布外偵測的持續學習框架。
為了驗證框架的有效性,我們在兩個缺陷影像資料集A19與Skyeye上進行實驗。
實驗結果顯示,該框架可以將過去的持續學習方法的平均F1分數提高10%。
尤其是DER,該框架在A19資料及上提高了其最後一個任務的準確度9.44%、平均準確度15.7%與平均F1分數17.07%。
因此,我們將DER作為我們的基礎方法,並結合一個細粒度影像辨識方法DCL來產生足以區分相似影像的特徵來訓練分類器。
此外,我們還有引入了mixup技術來緩解現有持續學習方法相較可塑性會優先考慮穩定性的問題。
我們在A19資料集、Skyeye資料及與一個常用於細粒度影像辨識的資料集CUB-200-2011上驗證我們的方法。
實驗結果顯示,我們的方法在A19資料集上的提升了平均新類別準確度9.51%,在Skyeye資料集上提升了平均F1分數2.22% 並在CUB-200-2011資料集上提升了平均F1分數8.8%。
近期,深度學習模型被廣泛使用於缺陷檢測中,但在實際產線場景中有三個關鍵挑戰需要被解決,異常和未知缺陷存在、新類別的出現以及缺陷之間難以辨識的問題。
為此,我們整合了三個研究領域:持續學習、分布外數據偵測和細粒度影像辨識來應對上述的挑戰。
我們提出了一個用於分類未知缺陷並學習新類別之帶有分布外偵測的持續學習框架。
為了驗證框架的有效性,我們在兩個缺陷影像資料集A19與Skyeye上進行實驗。
實驗結果顯示,該框架可以將過去的持續學習方法的平均F1分數提高10%。
尤其是DER,該框架在A19資料及上提高了其最後一個任務的準確度9.44%、平均準確度15.7%與平均F1分數17.07%。
因此,我們將DER作為我們的基礎方法,並結合一個細粒度影像辨識方法DCL來產生足以區分相似影像的特徵來訓練分類器。
此外,我們還有引入了mixup技術來緩解現有持續學習方法相較可塑性會優先考慮穩定性的問題。
我們在A19資料集、Skyeye資料及與一個常用於細粒度影像辨識的資料集CUB-200-2011上驗證我們的方法。
實驗結果顯示,我們的方法在A19資料集上的提升了平均新類別準確度9.51%,在Skyeye資料集上提升了平均F1分數2.22% 並在CUB-200-2011資料集上提升了平均F1分數8.8%。
Defect detection in production lines is crucial to ensure product quality.
Recently, while deep learning models are widely adopted for this task, they face three key challenges when applied in production scenarios, the presence of the outlier and unknown defects, the emergence of new categories, and the unrecognizable differences between objects.
To this end, we integrate three research areas: continual learning, out-of-distribution detection and fine-grained image classification to address the challenges above.
We propose a continual learning framework with out-of-distribution detection to classify the unknown defects and upcoming categories.
To validate the effectiveness of our framework, we conduct the experiments on two production defect dataset, A19 and Skyeye.
Experimental results show that our framework can improve the average F1-score of existing continual learning methods by 10%.
Especially for DER, our framework improve the last accuracy by 9.44%, average accuracy by 15.7% and average F1-score by 17.07% compared to the original DER on A19 dataset.
Thus, we adopt DER as the basis of our approach to combine with a fine-grained recognition method, DCL, for generating a discriminative feature for classifier training.
Otherwise, we also introduce mixup technique to alleviate the issue of existing methods favoring high stability over plasticity.
We evaluate our approach on A19 dataset and a common used fine-grained dataset, CUB-200-2011.
Experimental results show that our approach improves the average new class accuracy on the A19 dataset by 9.51%, the average F1-score on Skyeye dataset by 2.22% the average F1-score on CUB-200-2011 by 8.8%.
Recently, while deep learning models are widely adopted for this task, they face three key challenges when applied in production scenarios, the presence of the outlier and unknown defects, the emergence of new categories, and the unrecognizable differences between objects.
To this end, we integrate three research areas: continual learning, out-of-distribution detection and fine-grained image classification to address the challenges above.
We propose a continual learning framework with out-of-distribution detection to classify the unknown defects and upcoming categories.
To validate the effectiveness of our framework, we conduct the experiments on two production defect dataset, A19 and Skyeye.
Experimental results show that our framework can improve the average F1-score of existing continual learning methods by 10%.
Especially for DER, our framework improve the last accuracy by 9.44%, average accuracy by 15.7% and average F1-score by 17.07% compared to the original DER on A19 dataset.
Thus, we adopt DER as the basis of our approach to combine with a fine-grained recognition method, DCL, for generating a discriminative feature for classifier training.
Otherwise, we also introduce mixup technique to alleviate the issue of existing methods favoring high stability over plasticity.
We evaluate our approach on A19 dataset and a common used fine-grained dataset, CUB-200-2011.
Experimental results show that our approach improves the average new class accuracy on the A19 dataset by 9.51%, the average F1-score on Skyeye dataset by 2.22% the average F1-score on CUB-200-2011 by 8.8%.