mlsanityData to 7 Oct 2026

Craft: Cross-modal Aligned Features Improve Robustness of Prompt Tuning

arXiv 2407.15894 ↗First posted 22 Jul 2024cs.CVcited by 1

On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP

Abstract (arXiv)

Prompt Tuning has emerged as a prominent research paradigm for adapting vision-language models to various downstream tasks. However, recent research indicates that prompt tuning methods often lead to overfitting due to limited training samples. In this paper, we propose a Cross-modal Aligned Feature Tuning (Craft) method to address this issue. Cross-modal alignment is conducted by first selecting anchors from the alternative domain and deriving relative representations of the embeddings for the selected anchors. Optimizing for a feature alignment loss over anchor-aligned text and image modalities creates a more unified text-image common space. Overfitting in prompt tuning also deteriorates model performance on out-of-distribution samples. To further improve the prompt model's robustness, we propose minimizing Maximum Mean Discrepancy (MMD) over the anchor-aligned feature spaces to mitigate domain shift. The experiment on four different prompt tuning structures consistently shows the improvement of our method, with increases of up to 6.1% in the Base-to-Novel generalization task, 5.8% in the group robustness task, and 2.7% in the out-of-distribution tasks. The code will be available at https://github.com/Jingchensun/Craft

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 55 of its 73 references that are in the map. First posted on arXiv 22 Jul 2024.

Builds on

55 of 73 references.

Closest ancestors · 15

Same direction, newest first

  1. 2024Prompt Learning via Meta-Regularization1 Apr
  2. 2024Overcoming the Pitfalls of Vision-Language Model Finetuning for OOD Generalization29 Jan
  3. 2023Learning Hierarchical Prompt with Structured Linguistic Knowledge for Vision-Language Models11 Dec
  4. 2023ArGue: Attribute-Guided Prompt Tuning for Vision-Language Models27 Nov
  5. 2023LoGoPrompt: Synthetic Text Images Can Be Good Visual Prompts for Vision-Language Models3 Sep
  6. 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning11 Aug
  7. 2023Consistency-guided Prompt Learning for Vision-Language Models1 Jun
  8. 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimization23 Mar
  9. 2022Understanding and Mitigating Overfitting in Prompt Tuning for Vision-Language Models4 Nov
  10. 2022Unified Vision and Language Prompt Learning13 Oct
  11. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
  12. 2022Prompt-aligned Gradient for Prompt Tuning30 May
3 more
  1. 2022Conditional Prompt Learning for Vision-Language Models10 Mar
  2. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapters9 Oct
  3. 2021Learning to Prompt for Vision-Language Models2 Sep

Other references · 40

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  3. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  4. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  5. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  6. 2013Describing Textures in the Wildcited by 2,110
  7. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  8. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  9. 2022Visual Prompt Tuningcited by 1,674
  10. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
  11. 2016Variational Inference: A Review for Statisticianscited by 1,466
  12. 2019Natural Adversarial Examplescited by 1,401
28 more
  1. 2023LLaVA-Med: Training a Large Language-and-Vision Assistant for Biomedicine in One Daycited by 1,287
  2. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  3. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  4. 2016An overview of gradient descent optimization algorithmscited by 1,021
  5. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  6. 2021Robust fine-tuning of zero-shot modelscited by 785
  7. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  8. 2022MaPLe: Multi-modal Prompt Learningcited by 685
  9. 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
  10. 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
  11. 2016Unsupervised Domain Adaptation with Residual Transfer Networkscited by 340
  12. 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
  13. 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
  14. 2022Relative representations enable zero-shot latent space communicationcited by 175
  15. 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 171
  16. 2017Mind the Class Weight Bias: Weighted Maximum Mean Discrepancy for Unsupervised Domain Adaptationcited by 151
  17. 2021What Makes Multi-modal Learning Better than Single (Provably)cited by 151
  18. 2023CLIPood: Generalizing CLIP to Out-of-Distributionscited by 96
  19. 2023Dream the Impossible: Outlier Imagination with Diffusion Modelscited by 77
  20. 2022Contrastive Adapters for Foundation Model Group Robustnesscited by 62
  21. 2023DePT: Decoupled Prompt Tuningcited by 58
  22. 2022Bayesian Prompt Learning for Image-Language Model Generalizationcited by 51
  23. 2022ASIF: Coupled Data Turns Unimodal Models to Multimodal Without Trainingcited by 45
  24. 2023Connecting Multi-modal Contrastive Representationscited by 36
  25. 2021BARACK: Partially Supervised Group Robustness With Guaranteescited by 25
  26. 2023Zero-Shot Robustification of Zero-Shot Modelscited by 24
  27. 2021Embedding Arithmetic of Multimodal Queries for Image Retrievalcited by 21
  28. 2019Contrastively Smoothed Class Alignment for Unsupervised Domain Adaptationcited by 14

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023Distribution-Aware Prompt Tuning for Vision-Language Models
  2. 2024Can Better Text Semantics in Prompt Tuning Improve VLM Generalization?
  3. 2023Tuning Multi-mode Token-level Prompt Alignment across Modalities
  4. 2024Generalizable Prompt Tuning for Vision-Language Models
  5. 2025Decouple before Align: Visual Disentanglement Enhances Prompt Tuning
  6. 2023Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization
  7. 2024PromptSync: Bridging Domain Gaps in Vision-Language Models through Class-Aware Prototype Alignment and Discrimination
  8. 2022Learning Domain Invariant Prompt for Vision-Language Models