视觉提示何时优于视觉-语言模型的线性探测?一种似然视角
When Does Visual Prompting Outperform Linear Probing for Vision-Language Models? A Likelihood Perspective
AI总结:
本文提出对数似然比方法,在资源高效近似下比较视觉提示与线性探测的迁移学习效果,实现最高100倍提速和91%准确率。
摘要:
将预训练模型适配到新任务时,其效果在不同数据集上可能表现出差异。视觉提示作为一种最先进的参数高效迁移学习方法,能够显著提升分布外任务的性能。另一方面,线性探测作为一种标准的迁移学习方法,有时反而会成为最佳选择。我们提出一种对数似然比(LLR)方法来分析视觉提示与线性探测的比较优势。通过将LLR分数与资源高效的视觉提示近似相结合,我们的成本效益度量相较于完整训练实现了高达100倍的运行时间缩减,同时预测准确率最高可达91%。源代码可在 https://github.com/IBM/VP-LLR 获取。
英文摘要:
Adapting pre-trained models to new tasks can exhibit varying effectiveness across datasets. Visual prompting, a state-of-the-art parameter-efficient transfer learning method, can significantly improve the performance of out-of-distribution tasks. On the other hand, linear probing, a standard transfer learning method, can sometimes become the best approach. We propose a log-likelihood ratio (LLR) approach to analyze the comparative benefits of visual prompting and linear probing. By employing the LLR score alongside resource-efficient visual prompts approximations, our cost-effective measure attains up to a 100-fold reduction in run time compared to full training, while achieving prediction accuracies up to 91%. The source code is available at https://github.com/IBM/VP-LLR.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。