arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.15901cs.CV
收藏

黑盒视觉-语言模型的高效梯度近似调优

Black-Box Tuning of Vision-Language Models with Effective Gradient Approximation

Harbin Institute of Technology(哈尔滨工业大学);Tomorrow Advancing Life(好未来);Pazhou Lab, Guangzhou(广州琶洲实验室)

Zixian Guo, Yuxiang Wei, Ming Liu, Zhilong Ji, Jinfeng Bai, Yiwen Guo, Wangmeng Zuo

AI总结:

针对黑盒视觉-语言模型难以微调的问题,提出协作式黑盒调优(CBBT),通过扰动提示近似梯度并添加轻量适配器,在十一个基准上显著提升适配性能。

摘要:

参数高效微调(PEFT)方法为将大型视觉-语言模型适配到特定任务或场景提供了一种有效途径。通常,这些方法在白盒设定下学习预训练模型中的极小规模参数,这要求模型架构已知且参数可访问。然而,由于防止滥用或商业因素等考虑,大型模型往往并非开源,这给白盒PEFT方法的部署带来了障碍。为减轻对模型可访问性的依赖,我们引入了协作式黑盒调优(CBBT),用于黑盒模型的文本提示优化和输出特征适配。具体而言,考虑到反向传播梯度被阻断,我们通过分析扰动提示的预测来近似文本提示的梯度。其次,在不可访问模型的输出特征之上部署了一个轻量级适配器,进一步促进模型适配过程。凭借这些设计,我们的CBBT在十一个下游基准上进行了广泛评估,与现有黑盒视觉-语言适配方法相比取得了显著改进。代码已发布于https://github.com/guozix/cbbt。

英文摘要:

Parameter-efficient fine-tuning (PEFT) methods have provided an effective way for adapting large vision-language models to specific tasks or scenarios. Typically, they learn a very small scale of parameters for pre-trained models in a white-box formulation, which assumes model architectures to be known and parameters to be accessible. However, large models are often not open-source due to considerations of preventing abuse or commercial factors, hence posing a barrier to the deployment of white-box PEFT methods. To alleviate the dependence on model accessibility, we introduce collaborative black-box tuning (CBBT) for both textual prompt optimization and output feature adaptation for black-box models. Specifically, considering that the backpropagation gradients are blocked, we approximate the gradients of textual prompts by analyzing the predictions with perturbed prompts. Secondly, a lightweight adapter is deployed over the output feature of the inaccessible model, further facilitating the model adaptation process. Empowered with these designs, our CBBT is extensively evaluated on eleven downstream benchmarks and achieves remarkable improvements compared to existing black-box VL adaptation methods. Code is released at https://github.com/guozix/cbbt.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑