Cross-Architecture Knowledge Distillation

Yufan Liu, Jiajiong Cao, Bing Li, Weiming Hu, Jingting Ding +1 more
7/12/2022
cs.CV

No official code found. Best implementation: sebastian-hofstaetter/neural-ranking-kd (117 stars, Apache-2.0, last commit 2021-07-11). 1 more below.

Abstract

Transformer attracts much attention because of its ability to learn global relations and superior performance. In order to achieve higher performance, it is natural to distill complementary knowledge from Transformer to convolutional neural network (CNN). However, most existing knowledge distillation methods only consider homologous-architecture distillation, such as distilling knowledge from CNN to CNN. They may not be suitable when applying to cross-architecture scenarios, such as from Transformer to CNN. To deal with this problem, a novel cross-architecture knowledge distillation method is proposed. Specifically, instead of directly mimicking output/intermediate features of the teacher, partially cross attention projector and group-wise linear projector are introduced to align the student features with the teacher's in two projected feature spaces. And a multi-view robust training scheme is further presented to improve the robustness and stability of the framework. Extensive experiments show that the proposed method outperforms 14 state-of-the-arts on both small-scale and large-scale datasets.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillation

1178Python, Jupyter NotebookOct 6, 20205 years agoApache-2.0
bertefficiencyneural-irneural-ranking-models
MIT

Efficient encoder-decoder architecture for small language models (≤1B parameters) with cross-architecture knowledge distillation and vision-language capabilities

323PythonJan 24, 20251 years agoMIT
decoder-onlyencoder-decoderllmvision-and-language

Similar Papers

Cite this paper

@article{liu2022crossarchitecture,
  title  = {Cross-Architecture Knowledge Distillation},
  author = {Yufan Liu and Jiajiong Cao and Bing Li and Weiming Hu and Jingting Ding and Liang Li},
  year   = {2022},
  eprint = {2207.05273},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.05273v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.05273.svg)](https://codeofpaper.com/paper/2207.05273)

Discussion