paper-with-me

홈 › Papers

TransKD: Transformer Knowledge Distillation for Efficient Semantic Segmentation

2022-02-27 · Ruiping Liu, Kailun Yang, Alina Roitberg, Jiaming Zhang, Kunyu Peng, Huayao Liu, Yaonan Wang, Rainer Stiefelhagen

Semantic segmentation benchmarks in the realm of autonomous driving are dominated by large pre-trained transformers, yet their widespread adoption is impeded by substantial computational costs and prolonged training durations. To lift this constraint, we look at efficient semantic segmentation from a perspective of comprehensive knowledge distillation and aim to bridge the gap between multi-source knowledge extractions and transformer-specific patch embeddings. We put forward the Transformer-based Knowledge Distillation (TransKD) framework which learns compact student transformers by distilling both feature maps and patch embeddings of large teacher transformers, bypassing the long pre-training process and reducing the FLOPs by >85.0%. Specifically, we propose two fundamental modules to realize feature map distillation and patch embedding distillation, respectively: (1) Cross Selective Fusion (CSF) enables knowledge transfer between cross-stage features via channel attention and feature map distillation within hierarchical transformers; (2) Patch Embedding Alignment (PEA) performs dimensional transformation within the patchifying process to facilitate the patch embedding distillation. Furthermore, we introduce two optimization modules to enhance the patch embedding distillation from different perspectives: (1) Global-Local Context Mixer (GL-Mixer) extracts both global and local information of a representative embedding; (2) Embedding Assistant (EA) acts as an embedding method to seamlessly bridge teacher and student models with the teacher's number of channels. Experiments on Cityscapes, ACDC, NYUv2, and Pascal VOC2012 datasets show that TransKD outperforms state-of-the-art distillation frameworks and rivals the time-consuming pre-training method. The source code is publicly available at https://github.com/RuipingL/TransKD.

📄 PDF Abstract BibTeX arXiv:2202.13393

Code (2)

ruipingl/skr_pea 공식 구현 pytorch
ruipingl/transkd 공식 구현 pytorch

Tasks

Autonomous DrivingKnowledge DistillationScene UnderstandingSemantic SegmentationTransfer Learning

Methods 이 논문이 사용한 방법론

ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
How to file a complaint against Expedia? To file a complaint with Expedia, call their customer support at +1-(805)-330-4056. You can also send a written complaint using the contact form on the Expedia website. Calling…
Dilated Convolution 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Selective Kernel Convolution A Selective Kernel Convolution is a convolution that enables neurons to adaptively adjust their RF sizes among multiple…
Batch Normalization 설명 없음
1x1 Convolution A 1 x 1 Convolution is a convolution with some special properties in that it can be used for dimensionality reduction,…
Selective Kernel A Selective Kernel unit is a bottleneck block consisting of a sequence of 1×1 convolution, SK convolution and 1×1 convolution.…

Similar Papers 제목 키워드 기반

Incrementer: Transformer for Class-Incremental Semantic Segmentation With Knowledge Distillation Focusing on Old Class

2023-01-01 · CVPR 2023 1 · Chao Shang, Hongliang Li, Fanman Meng, Qingbo Wu 외

Class-incremental semantic segmentation aims to incrementally learn new classes while maintaining the capability to segment old ones, and suffers catastrophic forgetting since the old-class labels are unavailable. Mo…

Class-Incremental Semantic SegmentationDecoderKnowledge DistillationSegmentation+1

BPKD: Boundary Privileged Knowledge Distillation For Semantic Segmentation

2023-06-13 · Liyang Liu, Zihan Wang, Minh Hieu Phan, BoWen Zhang 외

Current knowledge distillation approaches in semantic segmentation tend to adopt a holistic approach that treats all spatial locations equally. However, for dense prediction, students' predictions on edge regions are hig…

Knowledge DistillationSegmentationSemantic Segmentation

A Good Student is Cooperative and Reliable: CNN-Transformer Collaborative Learning for Semantic Segmentation

2023-07-24 · ICCV 2023 1 · Jinjing Zhu, Yunhao Luo, Xu Zheng, Hao Wang 외

In this paper, we strive to answer the question "how to collaboratively learn convolutional neural network (CNN)-based and vision transformer (ViT)-based models by selecting and exchanging the reliable knowledge between …

Knowledge DistillationSemantic Segmentation

Distilling Knowledge from Heterogeneous Architectures for Semantic Segmentation

2025-04-10 · Yanglin Huang, Kai Hu, Yuan Zhang, Zhineng Chen 외

Current knowledge distillation (KD) methods for semantic segmentation focus on guiding the student to imitate the teacher's knowledge within homogeneous architectures. However, these methods overlook the diverse knowledg…

Knowledge DistillationSemantic Segmentation

FAKD: Feature Augmented Knowledge Distillation for Semantic Segmentation

2022-08-30 · Jianlong Yuan, Qian Qi, Fei Du, Zhibin Wang 외

In this work, we explore data augmentations for knowledge distillation on semantic segmentation. To avoid over-fitting to the noise in the teacher network, a large number of training examples is essential for knowledge d…

Knowledge DistillationSegmentationSemantic Segmentation