Lightweight Model Pre-training via Language Guided Knowledge Distillation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Mingsheng, Zhang, Lin, Zhu, Mingzhen, Huang, Zilong, Yu, Gang, Fan, Jiayuan, Chen, Tao
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916289851686912
author Li, Mingsheng
Zhang, Lin
Zhu, Mingzhen
Huang, Zilong
Yu, Gang
Fan, Jiayuan
Chen, Tao
author_facet Li, Mingsheng
Zhang, Lin
Zhu, Mingzhen
Huang, Zilong
Yu, Gang
Fan, Jiayuan
Chen, Tao
contents This paper studies the problem of pre-training for small models, which is essential for many mobile devices. Current state-of-the-art methods on this problem transfer the representational knowledge of a large network (as a Teacher) into a smaller model (as a Student) using self-supervised distillation, improving the performance of the small model on downstream tasks. However, existing approaches are insufficient in extracting the crucial knowledge that is useful for discerning categories in downstream tasks during the distillation process. In this paper, for the first time, we introduce language guidance to the distillation process and propose a new method named Language-Guided Distillation (LGD) system, which uses category names of the target downstream task to help refine the knowledge transferred between the teacher and student. To this end, we utilize a pre-trained text encoder to extract semantic embeddings from language and construct a textual semantic space called Textual Semantics Bank (TSB). Furthermore, we design a Language-Guided Knowledge Aggregation (LGKA) module to construct the visual semantic space, also named Visual Semantics Bank (VSB). The task-related knowledge is transferred by driving a student encoder to mimic the similarity score distribution inferred by a teacher over TSB and VSB. Compared with other small models obtained by either ImageNet pre-training or self-supervised distillation, experiment results show that the distilled lightweight model using the proposed LGD method presents state-of-the-art performance and is validated on various downstream tasks, including classification, detection, and segmentation. We have made the code available at https://github.com/mZhenz/LGD.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11689
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Lightweight Model Pre-training via Language Guided Knowledge Distillation
Li, Mingsheng
Zhang, Lin
Zhu, Mingzhen
Huang, Zilong
Yu, Gang
Fan, Jiayuan
Chen, Tao
Computer Vision and Pattern Recognition
This paper studies the problem of pre-training for small models, which is essential for many mobile devices. Current state-of-the-art methods on this problem transfer the representational knowledge of a large network (as a Teacher) into a smaller model (as a Student) using self-supervised distillation, improving the performance of the small model on downstream tasks. However, existing approaches are insufficient in extracting the crucial knowledge that is useful for discerning categories in downstream tasks during the distillation process. In this paper, for the first time, we introduce language guidance to the distillation process and propose a new method named Language-Guided Distillation (LGD) system, which uses category names of the target downstream task to help refine the knowledge transferred between the teacher and student. To this end, we utilize a pre-trained text encoder to extract semantic embeddings from language and construct a textual semantic space called Textual Semantics Bank (TSB). Furthermore, we design a Language-Guided Knowledge Aggregation (LGKA) module to construct the visual semantic space, also named Visual Semantics Bank (VSB). The task-related knowledge is transferred by driving a student encoder to mimic the similarity score distribution inferred by a teacher over TSB and VSB. Compared with other small models obtained by either ImageNet pre-training or self-supervised distillation, experiment results show that the distilled lightweight model using the proposed LGD method presents state-of-the-art performance and is validated on various downstream tasks, including classification, detection, and segmentation. We have made the code available at https://github.com/mZhenz/LGD.
title Lightweight Model Pre-training via Language Guided Knowledge Distillation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2406.11689