Structure-Induced Gradient Regulation for Generalizable Vision-Language Models
Prompt tuning, a recently emerging paradigm, adapts vision-language pre-trained models to new tasks efficiently by learning "soft prompts" for frozen models. However, in few-shot scenarios, its effectiveness is limited by sensitivity to the initialization and the time-consuming search for optimal initialization, hindering rapid adaptation. Additionally, prompt tuning risks reducing the models' generalizability due to overfitting on scarce training samples. To overcome these challenges, we introduce a novel Gradient-RegulAted Meta-prompt learning (GRAM) framework that jointly meta-learns an efficient soft prompt initialization for better adaptation and a lightweight gradient regulating function for strong cross-domain generalizability in a meta-learning paradigm using only the weakly labeled image-text pre-training data. This is achieved through a Cross-Modal Hierarchical Clustering algorithm that organizes extensive image-text data into a structured hierarchy, facilitating robust meta-learning across diverse domains. Rather than designing a specific prompt tuning method, our GRAM can be easily incorporated into various prompt tuning methods in a model-agnostic way and bring about consistent improvement for them. Further, we consider a more practical but challenging setting: test-time prompt tuning with only unlabeled test samples and propose an improved structure-induced gradient regulating function to leverage the structured semantics of the meta-learning data for zero-shot generalization. This novel approach exploits the hierarchically clustered meta-learning data to model relationships between test-time data and meta-learning prototypes, facilitating the transfer of invariant knowledge without explicit annotations. Meanwhile, we introduce a structure complexity-informed strategy for adaptively constructing meta-training tasks and generating prototypes, which fully considers the diverse semantics within hierarchical clusters of different complexities. Comprehensive experiments demonstrate the state-of-the-art few- and zero-shot generalizability of our method.
Authors
- Fei Wu (ORCID: https://orcid.org/0000-0003-2139-8807)
- Juncheng Li (ORCID: https://orcid.org/0000-0003-2258-1291)
- Longhui Wei (ORCID: https://orcid.org/0000-0001-6916-3009)
- Richang Hong (ORCID: https://orcid.org/0000-0001-5461-3986)
- Minghe Gao
- Siliang Tang (ORCID: https://orcid.org/0000-0002-7356-9711)
- Meng Wang (ORCID: https://orcid.org/0000-0002-3094-7735)
- Qi Tian (ORCID: https://orcid.org/0000-0002-7252-5047)
- Jun Xiao (ORCID: https://orcid.org/0000-0002-6142-9914)
Institutions
- Hefei University of Technology (CN)
- Huawei Technologies (China) (CN)
- Zhejiang University (CN)
Publication Details
- Journal
- IEEE Transactions on Pattern Analysis and Machine Intelligence
- Published
- 2025-09-01
- DOI
- https://doi.org/10.1109/tpami.2025.3604454
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00