Skip to main content
QUICK REVIEW

[Paper Review] Multimodal Adaptive Distillation for Leveraging Unimodal Encoders for Vision-Language Tasks

Zhecan Wang, Noel Codella|arXiv (Cornell University)|Apr 22, 2022
Multimodal Machine Learning ApplicationsComputer Science8 citations
TL;DR

This paper proposes Multimodal Adaptive Distillation (MAD), a method to transfer knowledge from large-scale pretrained unimodal vision and text encoders (e.g., CLIP) into vision-language models without retraining. MAD adaptively distills modality-specific knowledge through a token-selective module and cross-attention alignment, achieving state-of-the-art performance on VCR, SNLI-VE, and VQA across low-shot, domain-shifted, and fully supervised settings, outperforming prior methods including CLIP-ViL p.

ABSTRACT

Cross-modal encoders for vision-language (VL) tasks are often pretrained with carefully curated vision-language datasets. While these datasets reach an order of 10 million samples, the labor cost is prohibitive to scale further. Conversely, unimodal encoders are pretrained with simpler annotations that are less cost-prohibitive, achieving scales of hundreds of millions to billions. As a result, unimodal encoders have achieved state-of-art (SOTA) on many downstream tasks. However, challenges remain when applying to VL tasks. The pretraining data is not optimal for cross-modal architectures and requires heavy computational resources. In addition, unimodal architectures lack cross-modal interactions that have demonstrated significant benefits for VL tasks. Therefore, how to best leverage pretrained unimodal encoders for VL tasks is still an area of active research. In this work, we propose a method to leverage unimodal vision and text encoders for VL tasks that augment existing VL approaches while conserving computational complexity. Specifically, we propose Multimodal Adaptive Distillation (MAD), which adaptively distills useful knowledge from pretrained encoders to cross-modal VL encoders. Second, to better capture nuanced impacts on VL task performance, 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 constraints and conditions of domain shift. Experiments demonstrate that MAD leads to consistent gains in the low-shot, domain-shifted, and fully-supervised conditions on VCR, SNLI-VE, and VQA, achieving SOTA performance on VCR compared to other single models pretrained with image-text data. Finally, MAD outperforms concurrent works utilizing pretrained vision encoder from CLIP. Code will be made available.

Motivation & Objective

  • To address the challenge of leveraging large-scale, high-quality unimodal encoders (e.g., CLIP) for vision-language tasks without costly retraining.
  • To improve vision-language model performance under low-shot, domain-shifted, and fully supervised conditions using knowledge distillation.
  • To develop a method that preserves computational efficiency while enhancing cross-modal reasoning and reducing reliance on model shortcuts.
  • To evaluate the effectiveness of distillation across diverse vision-language tasks and data regimes, including zero-shot and few-shot settings.

Proposed method

  • MAD performs adaptive distillation from pretrained unimodal vision and text encoders (e.g., CLIP-V, CLIP-T) to a student vision-language model.
  • A token-selective module identifies and emphasizes semantically meaningful tokens in the student model, reducing attention on trivial words like 'is' or 'the'.
  • Cross-attention mechanisms align the student’s modality representations with those from the teacher encoders, enhancing cross-modal feature alignment.
  • Knowledge distillation is applied via a contrastive loss that encourages the student to mimic the teacher’s output distributions across multiple tasks.
  • The method is model-agnostic and can be applied to various student architectures, including VL-BERT, UNITER, and VILLA.
  • Distillation is applied only during fine-tuning, preserving inference efficiency and avoiding full retraining.

Experimental results

Research questions

  • RQ1Can pretrained unimodal encoders like CLIP be effectively leveraged for vision-language tasks without full retraining?
  • RQ2Does adaptive distillation improve performance across low-shot, domain-shifted, and fully supervised settings?
  • RQ3Can distillation reduce reliance on superficial textual shortcuts in vision-language models?
  • RQ4How does MAD compare to concurrent methods like CLIP-ViL p in terms of accuracy and robustness?

Key findings

  • MAD achieves state-of-the-art performance on the VCR benchmark, outperforming other single-model methods pretrained on image-text data.
  • On SNLI-VE, MAD improves accuracy by up to 3.3% over the baseline in the 100% training data setting, with consistent gains across all data regimes.
  • In the low-shot setting (0.3% data), MAD improves VQA performance by 1.7% over the finetuning baseline and 1.2% over CLIP-ViL p.
  • MAD reduces modality imbalance by increasing vision modality importance and narrowing the gap between vision and text modality attention.
  • Qualitative analysis shows that MAD reduces attention on trivial words and increases focus on meaningful terms like 'sending' and 'telegram'.
  • Ensemble models using MAD achieve 73.93% accuracy on VQA validation, surpassing CLIP-ViL p’s 73.82%.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.