簡易檢索 / 詳目顯示

研究生: 余佩倫
Yu, Pei-Lun
論文名稱: 基於特徵金字塔網路之新型異常圖像偵測系統
A Novel Out-of-Distribution Image Detection Network Based on Feature Pyramid Network
指導教授: 林政宏
Lin, Cheng-Hung
口試委員: 陳勇志
Chen, Yung-Chih
賴穎暉
Lai, Ying-Hui
林政宏
Lin, Cheng-Hung
口試日期: 2022/08/29
學位類別: 碩士
Master
系所名稱: 電機工程學系
Department of Electrical Engineering
論文出版年: 2022
畢業學年度: 110
語文別: 中文
論文頁數: 58
中文關鍵詞: 深度神經網路特徵金字塔分佈外偵測異常偵測離群偵測
英文關鍵詞: Deep neural networks, Feature Pyramid, Out-of-distribution Detection, Anomaly detection, Outlier detection
研究方法: 實驗設計法
DOI URL: http://doi.org/10.6345/NTNU202201445
論文種類: 學術論文
相關次數: 點閱:111下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 異常資料偵測在神經網路的安全議題上,是一個值得探討的方向。一旦訓練好的神經網路遇上了無法識別的資料型態,就極有可能發生錯誤的判斷,導致無可挽回的後果,像是自動駕駛以及醫學診斷系統就是其中經典的例子。因此,一個有效的分類器不只應該要能準確的識別原先的類別項目,也要能辨識出不屬於他認知範圍的異常資料。
    本論文提出一個基於特徵金字塔網路之異常圖像偵測系統。相比起其他異常檢測系統的單一輸入單一預測值,我們將系統結合了特徵金字塔網路,因此針對單一影像輸入,可以輸出多尺度的預測值,透過統整多尺度的預測值,有效地讓系統準確度提升。實驗結果顯示此系統不僅可以保留原先任務需求,且在多個視覺資料集上皆顯示辨識效果有所提升。

    Anomaly data detection is a direction worthy of discussion on the security issue of neural networks. Once an unrecognized data type is input into a trained neural network which is very likely to make wrong judgments, and it will lead to an irreversible consequences, such as autonomous driving and medical diagnosis systems are classic examples.
    In this paper, we propose an out-of-distribution image detection system based on feature pyramid network. Compared with the single input and single prediction of other out-of-distribution detection systems, we combine the system with the feature pyramid network, so for a single image input, multi-scale prediction would be output. Experimental results show that the system not only retains the original task, but also improves the recognition accuracy on multiple visual datasets.

    誌謝 i 摘要 ii Abstract iii 目 錄 iv 表目錄 vii 圖目錄 viii 第一章 緒論 1 1.1 研究背景與動機 1 1.2 研究目的 3 1.3 研究方法概述 3 1.4 研究貢獻 3 1.5 論文架構 4 第二章 文獻探討 5 2.1 Classic problem setting for Out-of-distribution detection 5 2.1.1 Anomaly Detection 5 2.1.2 Novelty Detection 6 2.1.3 Open Set Recognition 6 2.1.4 Out-of-distribution Detection 7 2.1.5 Outlier Detection 7 2.2 Out-of-Distribution Detection 9 2.2.1 Generative Model-based Method 10 2.2.2 Softmax-based Method 12 2.3 Feature Pyramid Network 14 第三章 研究方法 17 3.1 系統架構與流程 17 3.2 資料增強 18 3.3 特徵金字塔網路之模型訓練過程 19 3.3.1 模型訓練流程 19 3.3.2 特徵金字塔模型(Feature Pyramid Pretrained Model) 20 3.3.3 訓練細節說明 21 3.4 模型測試 21 3.4.1 OOD偵測器之估算方式 23 3.4.2 異常資料判斷方式 33 第四章 實驗結果 35 4.1實驗配置 35 4.1.1軟硬體設置 35 4.1.2資料集 35 4.1.3驗證指標 39 4.1.4訓練細節 42 4.2函數差異比較 42 4.2.1 Evaluator 1與Evaluator 2 42 4.2.2 Evaluator 1與Evaluator 3 43 4.2.3Evaluator 6與Evaluator 7 44 4.3單雙流效能比較 44 4.3.1 Evaluator 1與Evaluator 4 44 4.3.2 Evaluator 3與Evaluator 5 45 4.3.3 Evaluator 8與Evaluator 10 46 4.4 Evaluator的整體比較 47 4.5 強弱資料增強測試比較 49 4.5 單一評斷標準與多評斷標準的比較 51 4.6 比較與實驗結論 51 第五章 結論與未來展望 53 5.1 結論 53 5.2 未來展望 53 參考文獻 54 自傳 58

    [1] A. v. d. Oord et al., "Wavenet: A generative model for raw audio," arXiv preprint arXiv:1609.03499, 2016.
    [2] A. Krizhevsky, I. Sutskever, and G. E. Hinton, "Imagenet classification with deep convolutional neural networks," Advances in neural information processing systems, vol. 25, 2012.
    [3] 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.
    [4] A. Geiger, P. Lenz, and R. Urtasun, "Are we ready for autonomous driving? the kitti vision benchmark suite," in 2012 IEEE conference on computer vision and pattern recognition, 2012: IEEE, pp. 3354-3361.
    [5] M. Jamshidi et al., "Artificial intelligence and COVID-19: deep learning approaches for diagnosis and treatment," Ieee Access, vol. 8, pp. 109581-109595, 2020.
    [6] H. Idrees, M. Shah, and R. Surette, "Enhancing camera surveillance using computer vision: a research note," Policing: An International Journal, 2018.
    [7] I. J. Goodfellow, J. Shlens, and C. Szegedy, "Explaining and harnessing adversarial examples," arXiv preprint arXiv:1412.6572, 2014.
    [8] K. Lee, K. Lee, H. Lee, and J. Shin, "A simple unified framework for detecting out-of-distribution samples and adversarial attacks," Advances in neural information processing systems, vol. 31, 2018.
    [9] L. Ruff et al., "Deep one-class classification," in International conference on machine learning, 2018: PMLR, pp. 4393-4402.
    [10] D. Hendrycks, M. Mazeika, and T. Dietterich, "Deep anomaly detection with outlier exposure," arXiv preprint arXiv:1812.04606, 2018.
    [11] S. Liang, Y. Li, and R. Srikant, "Enhancing the reliability of out-of-distribution image detection in neural networks," arXiv preprint arXiv:1706.02690, 2017.
    [12] S. Vernekar et al., "Analysis of confident-classifiers for out-of-distribution detection," arXiv preprint arXiv:1904.12220, 2019.
    [13] V. Abdelzad, K. Czarnecki, R. Salay, T. Denounden, S. Vernekar, and B. Phan, "Detecting out-of-distribution inputs in deep neural networks using an early-layer output," arXiv preprint arXiv:1910.10307, 2019.
    [14] D. Hendrycks and K. Gimpel, "A baseline for detecting misclassified and out-of-distribution examples in neural networks," arXiv preprint arXiv:1610.02136, 2016.
    [15] N. Akhtar and A. Mian, "Threat of adversarial attacks on deep learning in computer vision: A survey," Ieee Access, vol. 6, pp. 14410-14430, 2018.
    [16] P. Bergmann, M. Fauser, D. Sattlegger, and C. Steger, "MVTec AD--A comprehensive real-world dataset for unsupervised anomaly detection," in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2019, pp. 9592-9600.
    [17] L.-J. Li and L. Fei-Fei, "Optimol: automatic online picture collection via incremental model learning," International journal of computer vision, vol. 88, no. 2, pp. 147-168, 2010.
    [18] S. Grigorescu, B. Trasnea, T. Cocias, and G. Macesanu, "A survey of deep learning techniques for autonomous driving," Journal of Field Robotics, vol. 37, no. 3, pp. 362-386, 2020.
    [19] I. Evtimov et al., "Robust physical-world attacks on machine learning models," arXiv preprint arXiv:1707.08945, vol. 2, no. 3, p. 4, 2017.
    [20] M. Sharif, S. Bhagavatula, L. Bauer, and M. K. Reiter, "Accessorize to a crime: Real and stealthy attacks on state-of-the-art face recognition," in Proceedings of the 2016 acm sigsac conference on computer and communications security, 2016, pp. 1528-1540.
    [21] S. Basu and M. Meckesheimer, "Automatic outlier detection for time series: an application to sensor data," Knowledge and Information Systems, vol. 11, no. 2, pp. 137-154, 2007.
    [22] T. Xiao, C. Zhang, and H. Zha, "Learning to detect anomalies in surveillance video," IEEE Signal Processing Letters, vol. 22, no. 9, pp. 1477-1481, 2015.
    [23] Z. Chen, C. K. Yeo, B. S. Lee, and C. T. Lau, "Autoencoder-based network anomaly detection," in 2018 Wireless telecommunications symposium (WTS), 2018: IEEE, pp. 1-5.
    [24] J. Guo, G. Liu, Y. Zuo, and J. Wu, "An anomaly detection framework based on autoencoder and nearest neighbor," in 2018 15th International Conference on Service Systems and Service Management (ICSSSM), 2018: IEEE, pp. 1-6.
    [25] T. Denouden, R. Salay, K. Czarnecki, V. Abdelzad, B. Phan, and S. Vernekar, "Improving reconstruction autoencoder out-of-distribution detection with mahalanobis distance," arXiv preprint arXiv:1812.02765, 2018.
    [26] K. Lee, H. Lee, K. Lee, and J. Shin, "Training confidence-calibrated classifiers for detecting out-of-distribution samples," arXiv preprint arXiv:1711.09325, 2017.
    [27] D. P. Kingma and M. Welling, "Auto-encoding variational bayes," arXiv preprint arXiv:1312.6114, 2013.
    [28] I. Goodfellow et al., "Generative adversarial nets," Advances in neural information processing systems, vol. 27, 2014.
    [29] S. Ramaswamy, R. Rastogi, and K. Shim, "Efficient algorithms for mining outliers from large data sets," in Proceedings of the 2000 ACM SIGMOD international conference on Management of data, 2000, pp. 427-438.
    [30] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, "On calibration of modern neural networks," in International conference on machine learning, 2017: PMLR, pp. 1321-1330.
    [31] W. Wang, A. Wang, A. Tamar, X. Chen, and P. Abbeel, "Safer classification by synthesis," arXiv preprint arXiv:1711.08534, 2017.
    [32] J. Yang, K. Zhou, Y. Li, and Z. Liu, "Generalized out-of-distribution detection: A survey," arXiv preprint arXiv:2110.11334, 2021.
    [33] E. H. Adelson, C. H. Anderson, J. R. Bergen, P. J. Burt, and J. M. Ogden, "Pyramid methods in image processing," RCA engineer, vol. 29, no. 6, pp. 33-41, 1984.
    [34] K. He, X. Zhang, S. Ren, and J. Sun, "Spatial pyramid pooling in deep convolutional networks for visual recognition," IEEE transactions on pattern analysis and machine intelligence, vol. 37, no. 9, pp. 1904-1916, 2015.
    [35] R. Girshick, "Fast r-cnn," in Proceedings of the IEEE international conference on computer vision, 2015, pp. 1440-1448.
    [36] S. Ren, K. He, R. Girshick, and J. Sun, "Faster r-cnn: Towards real-time object detection with region proposal networks," Advances in neural information processing systems, vol. 28, 2015.
    [37] W. Liu et al., "Ssd: Single shot multibox detector," in European conference on computer vision, 2016: Springer, pp. 21-37.
    [38] T.-Y. Lin, P. Dollár, R. Girshick, K. He, B. Hariharan, and S. Belongie, "Feature pyramid networks for object detection," in Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 2117-2125.
    [39] K. Sohn et al., "Fixmatch: Simplifying semi-supervised learning with consistency and confidence," Advances in Neural Information Processing Systems, vol. 33, pp. 596-608, 2020.
    [40] E. D. Cubuk, B. Zoph, J. Shlens, and Q. V. Le, "Randaugment: Practical automated data augmentation with a reduced search space," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2020, pp. 702-703.
    [41] S. Zagoruyko and N. Komodakis, "Wide residual networks," arXiv preprint arXiv:1605.07146, 2016.
    [42] J. Davis and M. Goadrich, "The relationship between Precision-Recall and ROC curves," in Proceedings of the 23rd international conference on Machine learning, 2006, pp. 233-240.
    [43] A. Coates, A. Ng, and H. Lee, "An analysis of single-layer networks in unsupervised feature learning," in Proceedings of the fourteenth international conference on artificial intelligence and statistics, 2011: JMLR Workshop and Conference Proceedings, pp. 215-223.
    [44] Y. Netzer, T. Wang, A. Coates, A. Bissacco, B. Wu, and A. Y. Ng, "Reading digits in natural images with unsupervised feature learning," 2011.
    [45] I. Loshchilov and F. Hutter, "Sgdr: Stochastic gradient descent with warm restarts," arXiv preprint arXiv:1608.03983, 2016.

    無法下載圖示 電子全文延後公開
    2025/09/13
    QR CODE