基於注意力增強之物件偵測器知識蒸餾

Knowledge Distillation for Object Detectors via Attention Enhancement

檔案

日期

2021

類型

語言

英文

摘要

近年來,為了將卷積神經網絡部署到移動式裝置等運算力較低、記憶體不足或儲 存空間缺少的裝置上,模型壓縮是個被廣泛研究的議題。知識蒸餾就是其中一項被研 究的模型壓縮技術。知識蒸餾是透過利用大型教師網絡的知識引導學生網絡學習以達 到模型壓縮目的的技術。然而,現今被發表出來的模型壓縮方法多是設計於壓縮分類 器,專門用於壓縮物件偵測器的知識蒸餾方法又有其限制。為了解決這樣的問題,我 們提出新的用於壓縮物件偵測模型的知識蒸餾技術—引導學習。在學生模型訓練的過 程中,我們使用教師網絡輸出的空間特徵資訊作為知識來引導學生網絡的學習,以讓 學生可以達到更高的準確率。我們設計一個基於注意力的機制去評估影像中哪些像素 對於教師網絡是重要的,並提高學生網絡對於這些教師網絡比較看重的地方向教師網 絡特徵進行學習的權重。由於我們提出來的方法不需要特別額外的模型相關資訊像是 錨點或是候選區域,我們的方法可以用於蒸餾不同類型的物件偵測器而不受到限制。 此外,為了驗證我們提出來之方法的效力,我們使用不同架構的物件偵測器和不同的 資料集來進行多項實驗。此外,由於我們並非任何時候都能獲取到用於訓練教師模型 的原始資料集,因此我們額外使用基於模型反轉的資料生成方式進行訓練資料的合成 加上我們所提出來的方式來對物件偵測其進行蒸餾以探討基於無數據的物件偵測知識 蒸餾的可能性。
To deploy large convolution neural networks to mobile devices which are normally with lower computation ability, lack of memory and short of storage space, model compression tech­ niques have been developed and knowledge distillation is one of the techniques. Knowledge distillation is a technique that can be utilized to compress neural networks through transferring knowledge from a larger teacher network to guide the learning of the compact student network. However, most existing knowledge methods are designed for classifiers, and the existing tech­ nique designed for object detectors limited their versatility to detectors with certain architecture. To address the challenge, we proposed a novel knowledge distillation method named guidance learning that utilizes the spatial information of feature response as knowledge to improve the performance of lightweight student object detectors. We design an attention­based mechanism to estimate how important the pixel teacher network thinks it is, and then emphasize the student to learn the feature from teacher with corresponding importance. The proposed methodology discards the need of anchors and proposals which makes it easy to use to distill different kinds of detectors. We conduct extensive experiments on different datasets with different kinds of object detectors to verify the effectiveness of the proposed method. Sometimes, we don’t have the opportunity to obtain the real images which are used to train the teacher network. Therefore, to explore the potential of distilling object detectors under this circumstance, we conduct exper­ iments that exploit the inversion­based image synthesis method to synthesize images together with the proposed guidance learning to distill object detectors.

所屬典藏

電子研究所
顯示完整詮釋資料 統計資料

引用此條目

Yang, C.-W. (2021). Knowledge Distillation for Object Detectors via Attention Enhancement. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/77604

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/77604