atlas

Research map / Label-efficient and robust learning / Knowledge distillation

CLIP-KD: An Empirical Study of CLIP Model Distillation

CVPR 2024 · Label-efficient and robust learning › Knowledge distillation · approach: Few-shot and metric distillation · 65 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Empirical study of distilling small CLIP student models from a large teacher CLIP using relation, feature, gradient, and contrastive distillation losses, with a unified FD+ICL+CRD recipe that works across different architectures.

Problem

Improving small CLIP models for resource-constrained use via knowledge distillation from a large teacher CLIP, without requiring matched teacher-student architectures as TinyCLIP's weight inheritance does.

Approach

Proposes several CLIP-specific distillation losses (contrastive relational KL, feature MSE mimicry, masked feature MSE, gradient matching, interactive contrastive learning where the student anchors against teacher embeddings, and augmented fused-feature contrast) and finds plain feature MSE plus interactive contrastive learning, combined with relational distillation, works best for any teacher-stu

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add feature distillation using MSE (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 30.6 -> 34.2Helped
Add masked feature distillation (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 30.6 -> 34.1Helped
Add contrastive relational distillation (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 30.6 -> 31.9Helped
Add gradient distillation (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 30.6 -> 31.5Helped
Add interactive contrastive learning (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 30.6 -> 33.1Helped
Add augmented feature distillation (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 30.6 -> 31.4Helped
Combine feature distillation and interactive contrastive learning (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 34.2 -> 34.6Helped
Add CRD to FD+ICL (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 34.6 -> 34.9Helped
Add gradient distillation to FD+ICL+CRD (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 34.9 -> 34.8Hurt
Add augmented feature distillation to FD+ICL+CRD (ablation)ViT-T/16 CLIP · ImageNet-1Kaccuracy: 34.9 -> 34.8Hurt
Distill ViT-B/16 from ViT-L/14 pretrained on Laion-400MViT-B/16 · ImageNet-1Kaccuracy: 37.0 -> 57.5Helped
Distill ResNet-50 from ViT-B/16 pretrained on Laion-400MResNet-50 · ImageNet-1Kaccuracy: 35.3 -> 55.4Helped

Surprising findings

Limitations

Experimental setup

Datasets: CC3M CC12M LAION-400M ImageNet ImageNet-V2 ImageNet-R ImageNet-Sketch MSCOCO Flickr30K

Benchmarks: ImageNet ImageNet-V2 ImageNet-R ImageNet-Sketch CC3M validation MSCOCO Flickr30K

Metrics: top-1 accuracy R@1 image-to-text R@1 text-to-image

Baselines: TinyCLIP CLIP without distillation (baseline) CRD FD MFD GD ICL AFD

Builds on: CLIP TinyCLIP DistillVLM MAE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy