基於區域感知注意力及自適應反饋提示的異質知識蒸餾通用框架

A Universal Framework for Heterogeneous Knowledge Distillation based on Region-Aware Attention and Adaptive Feedback Prompt

檔案

日期

2024

類型

語言

英文

摘要

知識蒸餾(Knowledge distillation, KD)將知識從一個複雜的教師模型轉移到較輕量的學生模型,以減少推理成本,同時保持效果。以往的 KD 技術假設教師模型和學生模型之間具有同質性,但隨著技術進步,各種架構如卷積神經網絡(Convolutional Neural Networks, CNNs)、視覺轉換器(Vision Transformers, ViTs)和多層感知機(Multi-Level Perceptrons, MLPs)相繼出現。現在,一個兼容任何架構的通用 KD 框架成為了重要的研究重點。在本文中,我們介紹了一個一體化特徵蒸餾框架(Feature-based One-For-All, FOFA),以實現跨不同架構的特徵蒸餾。該框架包括兩個關鍵組成部分。首先,我們設計了自適應反饋提示,將提示調整塊結合學生模型的反饋,使教師特徵適應學生模型的學習過程。其次,我們提出了區域感知注意力,以減輕異構架構之間的視圖不匹配問題。通過利用這兩個模塊,可以在異構架構之間有效地蒸餾中間特徵,並在 CIFAR、ImageNet 和 COCO 上以大量實驗證明了該方法的優越性。
Knowledge distillation (KD) transfers knowledge from a heavy teacher model to a lighter student model to reduce inference cost while maintaining effectiveness. Previous KD techniques assume homogeneity between the teacher and student models, but with advancements, various architectures like Convolutional Neural Networks (CNNs), Vision Transformers (ViTs) and Multi-Level Perceptrons (MLPs) have emerged. A universal KD framework compatible with any architecture is now a crucial research focus. In this paper, we introduce a feature-based one-for-all (FOFA) framework to enable feature distillation across diverse architecture. Our framework comprises two key components. First, we design prompt tuning blocks that incorporate student feedback, allowing teacher features to adapt to the student model's learning process. Second, we propose region-aware attention to mitigate the view mismatch problem between heterogeneous architecture. By leveraging these two modules, effective distillation of intermediate features can be achieved across heterogeneous architectures. Extensive experiments on CIFAR, ImageNet, and COCO demonstrate the superiority of the proposed method.

所屬典藏

智能系統研究所
顯示完整詮釋資料 統計資料

引用此條目

Lin, J.-H. (2024). A Universal Framework for Heterogeneous Knowledge Distillation based on Region-Aware Attention and Adaptive Feedback Prompt. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/3847

BibTeX RIS

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

分享

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