持續學習之分佈外數據偵測應用於細粒度瑕疵影像辨識
顯示簡易詮釋資料 統計資料| 欄位 | 內容 | 語言 |
|---|---|---|
dc.catalog.0080 |
240916 | |
dc.catalog.00818 |
a | |
dc.catalog.00818 |
d | |
dc.catalog.00818 |
| | |
dc.catalog.00818 |
| | |
dc.catalog.0087 |
2023 | |
dc.catalog.020 |
平裝 | |
dc.catalog.041 |
chi | |
dc.catalog.041 |
eng | |
dc.catalog.300c |
30 | |
dc.contributor.advisor |
郭志義 | |
dc.contributor.advisor |
Kuo, Tse-I | |
dc.contributor.author |
林承學 | |
dc.contributor.author |
Lin, Cheng-Hsueh | |
dc.contributor.campus |
台南 | |
dc.contributor.college |
智慧科學暨綠能學院 | |
dc.contributor.committee |
陳建志 | |
dc.contributor.committee |
林家瑜 | |
dc.contributor.committee |
Chen, Jen-Jee | |
dc.contributor.committee |
Lin, Chia-Yu | |
dc.contributor.department |
智慧系統與應用研究所 | |
dc.contributor.dpcode |
832 | |
dc.contributor.idpcode |
3832 | |
dc.contributor.studentid |
309832001 | |
dc.date.NCLavailable |
2026/10/16 | |
dc.date.USTavailable |
2026/10/16 | |
dc.date.issued |
2023 | |
dc.date.issuedROC |
112 | |
dc.date.paperavailable |
立即公開 | |
dc.date.schoolyear |
112 | |
dc.description.abstract |
缺陷檢測在產線上是一個用來確保產品品質的重要步驟。 近期,深度學習模型被廣泛使用於缺陷檢測中,但在實際產線場景中有三個關鍵挑戰需要被解決,異常和未知缺陷存在、新類別的出現以及缺陷之間難以辨識的問題。 為此,我們整合了三個研究領域:持續學習、分布外數據偵測和細粒度影像辨識來應對上述的挑戰。 我們提出了一個用於分類未知缺陷並學習新類別之帶有分布外偵測的持續學習框架。 為了驗證框架的有效性,我們在兩個缺陷影像資料集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%。 | |
dc.description.abstract |
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%. | |
dc.description.abstractopendate |
2023/10/16 | |
dc.description.degree |
碩士 | |
dc.description.tableofcontents |
摘要 ..... i Abstract ..... ii Table of Contents ..... iii List of Figures ..... v List of Tables ..... vi 1 Introduction ..... 1 2 Related work ..... 6 2.1 Out-of-Distribution Detection ..... 6 2.2 Continual Learning ..... 6 2.3 Fine-grained Image Classification ..... 8 3 Problem and Method ..... 11 3.1 Problem and Defect Characterization ..... 11 3.2 Problem Formulation ..... 12 3.3 Proposed Framework ..... 13 3.3.1 Background ..... 13 3.3.2 Overview ..... 14 3.3.3 Key components of our method ..... 15 3.3.4 Summary ..... 22 4. Experiment ..... 23 4.1 Dataset ..... 23 4.1.1 A19 and Skyeye ..... 23 4.1.2 CUB-200-2011 ..... 24 4.2 Implementation Details ..... 25 4.3 Results of A19 dataset and Skyeye dataset ..... 27 4.3.1 OOD and CIL performance ..... 27 4.3.2 Ablation study ..... 29 4.4 Results of CUB-200-2011 ..... 32 4.5 Discussions ..... 32 4.5.1 Other methods of fine-grained recognition ..... 33 4.5.2 The hyperparameter of location loss (γ) ..... 33 4.5.3 Partition granularity (N) ..... 34 4.4.5 The hyperparameter of beta distribution in mixup (α) ..... 35 5 Conclusion and Future work ..... 37 | |
dc.identifier.citation |
[1] D. Hendrycks and K. Gimpel, “A baseline for detecting misclassified and out-ofdistribution examples in neural networks,” ArXiv, vol. abs/1610.02136, 2016. [2] W. Liu, X. Wang, J. Owens, and Y. Li, “Energy-based out-of-distribution detection,” Advances in neural information processing systems, vol. 33, pp. 21 464–21 475, 2020. [3] K. Lee, K. Lee, H. Lee, and J. Shin, “A simple unified framework for detecting out-ofdistribution samples and adversarial attacks,” Advances in neural information processing systems, vol. 31, 2018. [4] D. Hendrycks, M. Mazeika, and T. Dietterich, “Deep anomaly detection with outlier exposure,” Proceedings of the International Conference on Learning Representations, 2019. [5] J. Zhang, N. Inkawhich, R. Linderman, Y. Chen, and H. Li, “Mixture outlier exposure: Towards out-of-distribution detection in fine-grained environments,” in Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, 2023, pp. 5531–5540. [6] S. Thulasidasan, S. Thapa, S. Dhaubhadel, G. Chennupati, T. Bhattacharya, and J. A. Bilmes, “An effective baseline for robustness to distributional shift,” 2021 20th IEEE International Conference on Machine Learning and Applications (ICMLA), 2021. [7] B. Zhao, X. Xiao, G. Gan, B. Zhang, and S.-T. Xia, “Maintaining discrimination and fairness in class incremental learning,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2020, pp. 13 208–13 217. [8] A. Douillard, M. Cord, C. Ollion, T. Robert, and E. Valle, “Podnet: Pooled outputs distillation for small-tasks incremental learning,” in Proceedings of the IEEE European Conference on Computer Vision (ECCV), 2020. [9] Y. Liu, B. Schiele, and Q. Sun, “Adaptive aggregation networks for class-incremental learning,” in Proceedings of the IEEE/CVF conference on Computer Vision and Pattern Recognition, 2021, pp. 2544–2553. [10] S. Yan, J. Xie, and X. He, “Der: Dynamically expandable representation for class incremental learning,” pp. 3014–3023, 2021. [11] D. Kim and B. Han, “On the stability-plasticity dilemma of class-incremental learning,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023, pp. 20 196–20 204. [12] H. Zhang, M. Cisse, Y. N. Dauphin, and D. Lopez-Paz, “mixup: Beyond empirical risk minimization,” arXiv preprint arXiv:1710.09412, 2017. [13] C. Wah, S. Branson, P. Welinder, P. Perona, and S. Belongie, “The caltech-ucsd birds-200-2011 dataset,” 2011. [14] R. Ratcliff, “Connectionist models of recognition memory: constraints imposed by learning and forgetting functions.” Psychological review, vol. 97, no. 2, p. 285, 1990. [15] A. Robins, “Catastrophic forgetting, rehearsal and pseudorehearsal,” Connection Science, vol. 7, no. 2, pp. 123–146, 1995. [16] P. Buzzega, M. Boschini, A. Porrello, D. Abati, and S. Calderara, “Dark experience for general continual learning: a strong, simple baseline,” Advances in neural information processing systems, vol. 33, pp. 15 920–15 930, 2020. [17] J. Kirkpatrick, R. Pascanu, N. Rabinowitz, J. Veness, G. Desjardins, A. A. Rusu, K. Milan, J. Quan, T. Ramalho, A. Grabska-Barwinska et al., “Overcoming catastrophic forgetting in neural networks,” Proceedings of the national academy of sciences, vol. 114, no. 13, pp. 3521–3526, 2017. [18] F. Zenke, B. Poole, and S. Ganguli, “Continual learning through synaptic intelligence,” in International conference on machine learning. PMLR, 2017, pp. 3987–3995. [19] R. Aljundi, F. Babiloni, M. Elhoseiny, M. Rohrbach, and T. Tuytelaars, “Memory aware synapses: Learning what (not) to forget,” in Proceedings of the European conference on computer vision (ECCV), 2018, pp. 139–154. [20] Z. Li and D. Hoiem, “Learning without forgetting,” IEEE transactions on pattern analysis and machine intelligence, vol. 40, no. 12, pp. 2935–2947, 2017. [21] A. A. Rusu, N. C. Rabinowitz, G. Desjardins, H. Soyer, J. Kirkpatrick, K. Kavukcuoglu, R. Pascanu, and R. Hadsell, “Progressive neural networks,” arXiv preprint arXiv:1606.04671, 2016. [22] A. Mallya and S. Lazebnik, “Packnet: Adding multiple tasks to a single network by iterative pruning,” in Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, 2018, pp. 7765–7773. [23] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 770–778. [24] A. Douillard, A. Ramé, G. Couairon, and M. Cord, “Dytox: Transformers for continual learning with dynamic token expansion,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022, pp. 9285–9295. [25] Z. Hu, Y. Li, J. Lyu, D. Gao, and N. Vasconcelos, “Dense network expansion for class incremental learning,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2023, pp. 11 858–11 867. [26] A. Mohamed, R. Grandhe, K. J. Joseph, S. Khan, and F. Khan, “D3former: Debiased dual distilled transformer for incremental learning,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, June 2023, pp. 2420–2429. [27] X. Gao, Y. He, S. Dong, J. Cheng, X. Wei, and Y. Gong, “Dkt: Diverse knowledge transfer transformer for class incremental learning,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2023, pp. 24 236–24 245. [28] J.-T. Zhai, X. Liu, A. D. Bagdanov, K. Li, and M.-M. Cheng, “Masked autoencoders are efficient class incremental learners,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), October 2023, pp. 19 104–19 113. [29] T. Berg and P. N. Belhumeur, “Poof: Part-based one-vs.-one features for fine-grained categorization, face verification, and attribute estimation,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2013, pp. 955–962. [30] N. Zhang, J. Donahue, R. Girshick, and T. Darrell, “Part-based r-cnns for fine-grained category detection,” in Computer Vision–ECCV 2014: 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part I 13. Springer, 2014, pp. 834–849. [31] J. Fu, H. Zheng, and T. Mei, “Look closer to see better: Recurrent attention convolutional neural network for fine-grained image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 4438–4446. [32] H. Zheng, J. Fu, T. Mei, and J. Luo, “Learning multi-attention convolutional neural network for fine-grained image recognition,” in Proceedings of the IEEE international conference on computer vision, 2017, pp. 5209–5217. [33] Z. Yang, T. Luo, D. Wang, Z. Hu, J. Gao, and L. Wang, “Learning to navigate for finegrained classification,” in Proceedings of the European conference on computer vision (ECCV), 2018, pp. 420–435. [34] Y. Ding, Z. Ma, S. Wen, J. Xie, D. Chang, Z. Si, M. Wu, and H. Ling, “Ap-cnn: Weakly supervised attention pyramid convolutional neural network for fine-grained visual classification,” IEEE Transactions on Image Processing, vol. 30, pp. 2826–2836, 2021 [35] T.-Y. Lin, A. RoyChowdhury, and S. Maji, “Bilinear cnn models for fine-grained visual recognition,” in Proceedings of the IEEE international conference on computer vision, 2015, pp. 1449–1457. [36] M. Sun, Y. Yuan, F. Zhou, and E. Ding, “Multi-attention multi-class constraint for finegrained image recognition,” in Proceedings of the european conference on computer vision (ECCV), 2018, pp. 805–821. [37] D. Chang, Y. Ding, J. Xie, A. K. Bhunia, X. Li, Z. Ma, M. Wu, J. Guo, and Y.-Z. Song, “The devil is in the channels: Mutual-channel loss for fine-grained image classification,” IEEE Transactions on Image Processing, vol. 29, pp. 4683–4695, 2020. [38] G. Sun, H. Cholakkal, S. Khan, F. Khan, and L. Shao, “Fine-grained recognition: Accounting for subtle differences between similar classes,” in Proceedings of the AAAI conference on artificial intelligence, vol. 34, no. 07, 2020, pp. 12 047–12 054. [39] Y. Gao, X. Han, X. Wang, W. Huang, and M. Scott, “Channel interaction networks for fine-grained image categorization,” in Proceedings of the AAAI conference on artificial intelligence, vol. 34, no. 07, 2020, pp. 10 818–10 825. [40] Y. Chen, Y. Bai, W. Zhang, and T. Mei, “Destruction and construction learning for finegrained image recognition,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2019, pp. 5157–5166. [41] J. Guo, G. Qi, S. Xie, and X. Li, “Two-branch attention learning for fine-grained class incremental learning,” Electronics, vol. 10, no. 23, p. 2987, 2021. [42] G. Kim, S. Esmaeilpour, C. Xiao, and B. Liu, “Continual learning based on ood detection and task masking,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022, pp. 3856–3866. [43] G. Kim, B. Liu, and Z. Ke, “A multi-head model for continual learning via out-ofdistribution replay,” in Conference on Lifelong Learning Agents. PMLR, 2022, pp. 548– 563. [44] M. Mundt, I. Pliushch, S. Majumder, Y. Hong, and V. Ramesh, “Unified probabilistic deep continual learning through generative replay and open set recognition,” Journal of Imaging, vol. 8, no. 4, p. 93, 2022. [45] L. Deng, “The mnist database of handwritten digit images for machine learning research,” IEEE Signal Processing Magazine, vol. 29, no. 6, pp. 141–142, 2012. [46] H. Xiao, K. Rasul, and R. Vollgraf, “Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms,” arXiv preprint arXiv:1708.07747, 2017. [47] A. Khosla, N. Jayadevaprakash, B. Yao, and L. Fei-Fei, “Novel dataset for fine-grained image categorization,” in First Workshop on Fine-Grained Visual Categorization, IEEE Conference on Computer Vision and Pattern Recognition, Colorado Springs, CO, June 2011. [48] A. Paszke, S. Gross, S. Chintala, G. Chanan, E. Yang, Z. DeVito, Z. Lin, A. Desmaison, L. Antiga, and A. Lerer, “Automatic differentiation in pytorch,” in NIPS-W, 2017. [49] O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein et al., “Imagenet large scale visual recognition challenge,” International journal of computer vision, vol. 115, pp. 211–252, 2015. [50] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014. [51] I. Loshchilov and F. Hutter, “Sgdr: Stochastic gradient descent with warm restarts,” arXiv preprint arXiv:1608.03983, 2016. [52] S.-A. Rebuffi, A. Kolesnikov, G. Sperl, and C. H. Lampert, “icarl: Incremental classifier and representation learning,” in Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, 2017, pp. 2001–2010. | |
dc.identifier.uri |
https://hdl.handle.net/20.500.14371/765 | |
dc.language.iso |
英文 | |
dc.relation.page |
50 | |
dc.subject.keyword |
持續學習 | |
dc.subject.keyword |
細粒度影像辨識 | |
dc.subject.keyword |
分布外數據偵測 | |
dc.subject.keyword |
continual learning | |
dc.subject.keyword |
fine-grained image categorization | |
dc.subject.keyword |
out-of-distribution detection | |
dc.title |
持續學習之分佈外數據偵測應用於細粒度瑕疵影像辨識 | zh-TW |
dc.title |
Continual Learning with Out-of-Distribution Data Detection for Fine-grained Defect Classification | en |
dc.type |
Thesis | zh-TW |
檔案
- dCpn_38ah.pdf (3.16 MB, Adobe PDF)
所屬典藏: 智慧系統與應用研究所