Skip to main content
QUICK REVIEW

[Paper Review] VT-CLIP: Enhancing Vision-Language Models with Visual-guided Texts

Longtian Qiu, Renrui Zhang|arXiv (Cornell University)|Dec 4, 2021
Multimodal Machine Learning ApplicationsComputer Science28 citations
TL;DR

VT-CLIP enhances CLIP by using a visual-guided cross-attention module that adapts text features based on visual spatial features, improving few-shot recognition across 11 datasets.

ABSTRACT

Contrastive Language-Image Pre-training (CLIP) has drawn increasing attention recently for its transferable visual representation learning. However, due to the semantic gap within datasets, CLIP's pre-trained image-text alignment becomes sub-optimal on downstream tasks, which severely harms its transferring performance. To better adapt the cross-modality embedding space, we propose to enhance CLIP via Visual-guided Texts, named VT-CLIP. Specifically, we guide textual features of different categories to adaptively explore informative regions on the image and aggregate visual features by attention mechanisms. In this way, the texts become visual-guided, namely, more semantically correlated with downstream images, which greatly benefits the category-wise matching process. In few-shot settings, we evaluate our VT-CLIP on 11 well-known classification datasets to demonstrate its effectiveness.

Motivation & Objective

  • Improve cross-modal alignment in CLIP under few-shot conditions.
  • Enable textual prompts to adaptively focus on image regions using visual context.
  • Maintain robustness by preserving original text features via residual connections.
  • Demonstrate improved performance over baselines (Zero-shot CLIP, CoOp, CLIP-Adapter) across datasets.

Proposed method

  • Introduce a visual-guided cross-attention module where texts query visual spatial features to adapt textual representations.
  • Use pre-trained CLIP components with frozen encoders; train only the cross-attention module.
  • Leverage contextual-level spatial image features (pre-pooling) as keys/values in cross-attention.
  • Apply a residual connection to fuse adapted text features with original text features.
  • Compute similarities using the adapted text features for final classification scores.
  • Evaluate under few-shot settings (1, 2, 4, 8, 16 shots) on 11 datasets.

Experimental results

Research questions

  • RQ1Can visual-guided textual adaptation improve cross-modal alignment for downstream tasks in few-shot settings?
  • RQ2How does cross-attention between image spatial features and text features affect category-wise matching in VT-CLIP?
  • RQ3What is the impact of architectural choices (heads, layers) in the visual-guided cross-attention module on performance?

Key findings

  • VT-CLIP consistently outperforms Zero-shot CLIP, CoOp, and CLIP-Adapter across 11 datasets in few-shot settings.
  • Accuracy gains from VT-CLIP grow as the number of training shots increases.
  • VT-CLIP shows more stable performance than CoOp, especially in low-shot regimes.
  • Ablation studies indicate best performance with two heads in the cross-attention module and that adding more cascaded layers can hurt performance in few-shot scenarios.

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.