Compressing Visual-linguistic Model via Knowledge Distillation
Zhiyuan Fang, Jianfeng Wang, Xiaowei Hu, Lijuan Wang, Yezhou Yang, Zicheng Liu
摘要
Despite exciting progress in pre-training for visual-linguistic (VL) representations, very few aspire to a small VL model. In this paper, we study knowledge distillation (KD) to effectively compress a transformer based large VL model into a small VL model. The major challenge arises from the inconsistent regional visual tokens extracted from different detectors of Teacher and Student, resulting in the misalignment of hidden representations and attention distributions. To address the problem, we retrain and adapt the Teacher by using the same region proposals from Student’s detector while the features are from Teacher’s own object detector. With aligned network inputs, the adapted Teacher is capable of transferring the knowledge through the intermediate representations. Specifically, we use the mean square error loss to mimic the attention distribution inside the transformer block, and present a token-wise noise contrastive loss to align the hidden state by contrasting with negative representations stored in a sample queue. To this end, we show that our proposed distillation significantly improves the performance of small VL models on image captioning and visual question answering tasks. It reaches 120.8 in CIDEr score on COCO captioning, an improvement of 5.1 over its non-distilled counterpart; and an accuracy of 69.8 on VQA 2.0, a 0.8 gain from the baseline. Our extensive experiments and ablations confirm the effectiveness of VL distillation in both pre-training and fine-tuning stages.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 36 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scaling Up Vision-Language Pretraining for Image Captioning 引用了 VL-BERT: Pre-training of Generic Visual-Linguistic Representations
- Scaling Up Vision-Language Pretraining for Image Captioning 引用了 Language Models are Few-Shot Learners
- Scaling Up Vision-Language Pretraining for Image Captioning 引用了 Learning Transferable Visual Models From Natural Language Supervision
- TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritance 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
- TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritance 引用了 UPop: Unified and Progressive Pruning for Compressing Vision-Language Transformers
- TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritance 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Tag2Text: Guiding Vision-Language Model via Image Tagging 引用了 Scaling Up Vision-Language Pretraining for Image Captioning
- Tag2Text: Guiding Vision-Language Model via Image Tagging 引用了 Injecting Semantic Concepts into End-to-End Image Captioning
- Tag2Text: Guiding Vision-Language Model via Image Tagging 引用了 Language Models are Few-Shot Learners
- Tag2Text: Guiding Vision-Language Model via Image Tagging 引用了 Learning Transferable Visual Models From Natural Language Supervision
- UPop: Unified and Progressive Pruning for Compressing Vision-Language Transformers 引用了 Language Models are Few-Shot Learners
- UPop: Unified and Progressive Pruning for Compressing Vision-Language Transformers 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Injecting Semantic Concepts into End-to-End Image Captioning 引用了 Language Models are Few-Shot Learners
- Zero-Shot Text-to-Image Generation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper36
- Scaling Up Vision-Language Pretraining for Image CaptioningXiaowei Hu, Zhe Gan, Jianfeng Wang, Zhengyuan Yang 等CVPR 2022 · 203 次引用
- Injecting Semantic Concepts into End-to-End Image CaptioningZhiyuan Fang, Jianfeng Wang, Xiaowei Hu, Lin Liang 等CVPR 2022 · 125 次引用
- TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight InheritanceKan Wu, Houwen Peng, Zhenghong Zhou, Bin Xiao 等ICCV 2023 · 118 次引用
- Tag2Text: Guiding Vision-Language Model via Image TaggingXinyu Huang, Youcai Zhang, Jinyu Ma, Weiwei Tian 等ICLR 2024 · 109 次引用
- UPop: Unified and Progressive Pruning for Compressing Vision-Language TransformersDachuan Shi, Chaofan Tao, Ying Jin, Zhendong Yang 等ICML 2023 · 64 次引用
它引用的 Paper25
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray 等ICML 2021 · 6,356 次引用
- VL-BERT: Pre-training of Generic Visual-Linguistic RepresentationsWeijie Su, Xizhou Zhu, Yue Cao, Bin Li 等ICLR 2020 · 1,825 次引用
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
相关 Paper
- No Head Left Behind - Multi-Head Alignment Distillation for TransformersTianyang Zhao, Kunwar Yashraj Singh, Srikar Appalaraju, Peng Tang 等AAAI 2024 · 5 次引用
- CLIPPING: Distilling CLIP-Based Models with a Student Base for Video-Language RetrievalRenjing Pei, Jianzhuang Liu, Weimian Li, Bin Shao 等CVPR 2023
- KAID: Knowledge-Aware Interactive Distillation for Vision-Language ModelsDa Zhang, Feiyu Wang, Bingyu Li, Zhiyuan Zhao 等ACM MM 2025 · 10 次引用
- LLaVA-KD: A Framework of Distilling Multimodal Large Language ModelsYuxuan Cai, Jiangning Zhang, Haoyang He, Xinwei He 等ICCV 2025 · 9 次引用
- Generic-to-Specific Distillation of Masked AutoencodersWei Huang, Zhiliang Peng, Li Dong, Furu Wei 等CVPR 2023
