CLIP-KD: An Empirical Study of CLIP Model Distillation

Chuanguang Yang, Zhulin An, Libo Huang, Junyu Bi, Xinqiang Yu +3 more
2/14/2026

No official code found. Best implementation: winycg/CLIP-KD (147 stars, last commit 2025-08-22).

Abstract

Contrastive Language-Image Pre-training (CLIP) has become a promising language-supervised visual pre-training framework. This paper aims to distill small CLIP models supervised by a large teacher CLIP model. We propose several distillation strategies, including relation, feature, gradient and contrastive paradigms, to examine the effectiveness of CLIP-Knowledge Distillation (KD). We show that a simple feature mimicry with Mean Squared Error loss works surprisingly well. Moreover, interactive contrastive learning across teacher and student encoders is also effective in performance improvement. We explain that the success of CLIP-KD can be attributed to maximizing the feature similarity between teacher and student. The unified method is applied to distill several student models trained on CC3M+12M. CLIP-KD improves student CLIP models consistently over zero-shot ImageNet classification and cross-modal retrieval bench-marks. When using ViT-U14 pretrained on Laion-400M as the teacher, CLIP-KD achieves 57.5% and 55.4% zero-shot top-1 ImageNet accuracy over ViT-B/16 and ResNet-50, surpassing the original CLIP without KD by 20.5% and 20.1% margins, respectively. Our code is released on https://github.com/winycg/CLIP-KD.

View on arXivView PDF

Code Implementations(1)

winycg/CLIP-KDCommunity71%

[CVPR-2024] Official implementations of CLIP-KD: An Empirical Study of CLIP Model Distillation

1478Shell, PythonFeb 20, 20231 years ago

Cite this paper

@article{yang2026clipkd,
  title  = {CLIP-KD: An Empirical Study of CLIP Model Distillation},
  author = {Chuanguang Yang and Zhulin An and Libo Huang and Junyu Bi and Xinqiang Yu and Hansheng Yang and Boyu Diao and Yongjun Xu},
  year   = {2026},
  eprint = {2307.12732},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2307.12732},
  journal = {CVPR 2023 2023}
}

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/2307.12732.svg)](https://codeofpaper.com/paper/2307.12732)

Discussion