[Paper Review] CLIP-TD: CLIP Targeted Distillation for Vision-Language Tasks
This paper proposes CLIP-TD, a targeted knowledge distillation method that transfers knowledge from CLIP's vision and language encoders to existing vision-language models via dynamic token selection and confidence-based weighting. It achieves state-of-the-art performance across VCR, SNLI-VE, and VQA, with gains up to 51.9% in low-shot settings and 71.3% in domain-shifted scenarios, without increasing inference or pretraining complexity.
Contrastive language-image pretraining (CLIP) links vision and language modalities into a unified embedding space, yielding the tremendous potential for vision-language (VL) tasks. While early concurrent works have begun to study this potential on a subset of tasks, important questions remain: 1) What is the benefit of CLIP on unstudied VL tasks? 2) Does CLIP provide benefit in low-shot or domain-shifted scenarios? 3) Can CLIP improve existing approaches without impacting inference or pretraining complexity? In this work, we seek to answer these questions through two key contributions. First, we introduce an evaluation protocol that includes Visual Commonsense Reasoning (VCR), Visual Entailment (SNLI-VE), and Visual Question Answering (VQA), across a variety of data availability constraints and conditions of domain shift. Second, we propose an approach, named CLIP Targeted Distillation (CLIP-TD), to intelligently distill knowledge from CLIP into existing architectures using a dynamically weighted objective applied to adaptively selected tokens per instance. Experiments demonstrate that our proposed CLIP-TD leads to exceptional gains in the low-shot (up to 51.9%) and domain-shifted (up to 71.3%) conditions of VCR, while simultaneously improving performance under standard fully-supervised conditions (up to 2%), achieving state-of-art performance on VCR compared to other single models that are pretrained with image-text data only. On SNLI-VE, CLIP-TD produces significant gains in low-shot conditions (up to 6.6%) as well as fully supervised (up to 3%). On VQA, CLIP-TD provides improvement in low-shot (up to 9%), and in fully-supervised (up to 1.3%). Finally, CLIP-TD outperforms concurrent works utilizing CLIP for finetuning, as well as baseline naive distillation approaches. Code will be made available.
Motivation & Objective
- To evaluate the effectiveness of CLIP on underexplored vision-language tasks such as Visual Commonsense Reasoning (VCR), Visual Entailment (SNLI-VE), and Visual Question Answering (VQA).
- To investigate whether CLIP improves performance in low-shot and domain-shifted learning scenarios.
- To develop a method that enhances existing vision-language models using CLIP without increasing inference or pretraining complexity.
- To establish a comprehensive evaluation protocol covering zero-shot, low-shot, semi-supervised, fully-supervised, and domain-shifted settings for vision-language tasks.
Proposed method
- CLIP-TD performs targeted distillation by selecting specific tokens from CLIP's vision and language encoders based on relevance to the input instance.
- It applies a dynamically weighted loss that adjusts distillation strength according to the confidence of both the teacher (CLIP) and student model predictions.
- Token selection is performed per input instance to focus knowledge transfer on semantically salient and uncertain regions of the input.
- The method is model-agnostic, allowing integration with various student architectures such as VL-BERT, UNITER, and VILLA.
- It avoids retraining the student model and maintains the original inference complexity of the student network.
- The approach is compared against naive distillation and concurrent fine-tuning methods like CLIP-ViL p to validate its effectiveness.
Experimental results
Research questions
- RQ1What is the benefit of CLIP on unstudied vision-language tasks such as VCR and SNLI-VE?
- RQ2Does CLIP provide performance gains in low-shot and domain-shifted learning scenarios?
- RQ3Can CLIP improve existing vision-language models without increasing inference or pretraining complexity?
- RQ4How does targeted distillation compare to naive distillation or direct fine-tuning with CLIP?
- RQ5Is the proposed CLIP-TD method effective across diverse vision-language architectures and task types?
Key findings
- CLIP-TD achieves a 51.9% relative improvement on VCR under low-shot conditions, significantly outperforming baseline models.
- On domain-shifted VCR, CLIP-TD achieves a 71.3% relative gain, demonstrating strong robustness to distributional shift.
- In fully-supervised VCR, CLIP-TD improves performance by up to 2% over baselines, achieving state-of-the-art results among single models pretrained only on image-text data.
- On SNLI-VE, CLIP-TD delivers up to 6.6% improvement in low-shot settings and up to 3% in fully-supervised settings across multiple student models.
- On VQA, CLIP-TD provides up to 9% gain in low-shot and up to 1.3% in fully-supervised conditions, outperforming both naive distillation and CLIP-ViL p in low-shot regimes.
- CLIP-TD consistently improves performance across all evaluated models (VL-BERT, UNITER, VILLA) and settings, confirming its model-agnostic and effective nature.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.