Connecting the Dots: Collaborative Fine-tuning for Black-Box Vision-Language Models
With the emergence of pretrained vision-language models (VLMs), considerable efforts have been devoted to fine-tuning them for downstream tasks. Despite the progress made in designing efficient fine-tuning methods, such methods require access to the model's parameters, which can be challenging as model owners often opt to provide their models as a black box to safeguard model ownership. This paper proposes a \textbf{C}ollabo\textbf{ra}tive \textbf{F}ine-\textbf{T}uning (\textbf{CraFT}) approach for fine-tuning black-box VLMs to downstream tasks, where one only has access to the input prompts and the output predictions of the model. CraFT comprises two modules, a prompt generation module for learning text prompts and a prediction refinement module for enhancing output predictions in residual style. Additionally, we introduce an auxiliary prediction-consistent loss to promote consistent optimization across these modules. These modules are optimized by a novel collaborative training algorithm. Extensive experiments on few-shot classification over 15 datasets demonstrate the superiority of CraFT. The results show that CraFT achieves a decent gain of about 12\% with 16-shot datasets and only 8,000 queries. Moreover, CraFT trains faster and uses only about 1/80 of the memory footprint for deployment, while sacrificing only 1.62\% compared to the white-box method. Our code is publicly available at https://github.com/mrflogs/CraFT .
Code (1)
Methods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
The Circle of Investment: Connecting the Dots of the Portfolio Management Cycle...
We will look at the entire cycle of the investment process relating to all aspects of, formulating an investment hypothesis, constructing a portfolio based on that, executing the trades to implement it, on-going risk man…
ManagementConnecting the Dots: Training-Free Visual Grounding via Agentic Reasoning
Visual grounding, the task of linking textual queries to specific regions within images, plays a pivotal role in vision-language integration. Existing methods typically rely on extensive task-specific annotations and fin…
Visual GroundingConnecting the Dots: Towards Human-Level Grammatical Error Correction
We build a grammatical error correction (GEC) system primarily based on the state-of-the-art statistical machine translation (SMT) approach, using task-specific features and tuning, and further enhance it with the modeli…
Grammatical Error CorrectionLanguage ModelingLanguage ModellingMachine Translation+1Gnothi Seauton: Empowering Faithful Self-Interpretability in Black-Box Transformers
The debate between self-interpretable models and post-hoc explanations for black-box models is central to Explainable AI (XAI). Self-interpretable models, such as concept-based networks, offer insights by connecting deci…
Computational EfficiencyConnecting the Dots: A Knowledgeable Path Generator for Commonsense Question Answering
Commonsense question answering (QA) requires background knowledge which is not explicitly stated in a given context. Prior works use commonsense knowledge graphs (KGs) to obtain this knowledge for reasoning. However, rel…
Knowledge GraphsLanguage ModelingLanguage ModellingQuestion Answering