基於微形樹狀網路結構之多分支知識蒸餾用於分散式推理與多任務學習
Multi-branch Knowledge Distillation on Tiny Tree-shaped Network for Distributed Co-Inference and Multi-task Learning
摘要
知識蒸餾為現今最具代表性的模型壓縮技術之一,運用知識蒸餾技術能將一個大型教師神經網路細化為緊奏的學生神經網路,並且在許多任務上也取得巨大的成效。在多數知識蒸餾的研究中,能透過傳遞教師網路的中間層特徵與輸出結果,使學生網路模仿教師網路的知識。然而,我們觀察到一般知識蒸餾技術無法讓資源更嚴重限制的神經網路學習到足夠細粒度和豐富的特徵,以至於達不到理想的準確度。在本篇論文中,我們提出了二階段多分支知識蒸餾系統流程,充分利用多個微型子網絡共同集成學習的能力,並能以分散式形式在多個微控制器單元上推理模型、平行計算。我們首先將原始教師網路所學習到的特徵進行分離與多樣化,形成多組有區別性的特徵表達式。接著將多樣化的訊息蒸餾至樹狀結構學生網路,同時讓學生網路學習與聚合多樣化知識。實驗結果表明,我們提出的多分支知識蒸餾方法在行人辨識任務上顯著優於一般知識蒸餾在單一學生的表現,並且達到接近教師網路水準的準確度。此外,我們也將提出之多分支知識蒸餾方式套用於多任務學習任務,進一步證明我們方法的有效性。
Knowledge distillation is one of the most influential model compression techniques that refine the pre-trained teacher network to a compact student network, achieving great success on many tasks. Most studies directly transfer the knowledge to the student through the teacher's intermediate or partial layers features. However, the single-source knowledge distillation on Person Re-Identification (Re-ID) task fails to learn the sufficient fine-grained and rich features for a student with extreme-limited resource constraints. In this work, we present a two-stage, multi-branch knowledge distillation network (MbKDN) training paradigm, leveraging the aggregated modeling power of multiple tiny student networks, and enabling parallel computing on distributed microcontroller units. Our method diversifies the embedding features of an original teacher into multiple sets of visual representations. Then the discriminative expressions are transferred among teacher-student learning. Experimental results demonstrate on Re-ID tasks that MbKDN significantly outperforms single-model distillation baselines, and closes to teacher-level accurateness. Moreover, we apply our distillation strategy to multi-task learning tasks, indicating the effectiveness of our method.
所屬典藏
資訊科學與工程研究所引用此條目
Chang, C.-C. (2023). Multi-branch Knowledge Distillation on Tiny Tree-shaped Network for Distributed Co-Inference and Multi-task Learning. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/84152
引用文字依 APA 第 7 版格式自動產生,使用前請再核對。
分享
永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/84152