arXiv:2504.06838cs.CVcs.LG2025-04ICLR被引 8

ZIP让黑箱视觉语言模型用更少查询实现高效提示调优。

ZIP: An Efficient Zeroth-order Prompt Tuning for Black-box Vision-Language Models

  • 用低秩重参数化降低提示维度,减少梯度估计方差。
  • 在13项任务上提升6%少样本准确率,查询效率提高48%。
  • 自动裁剪机制无需调参,适合资源受限的黑箱场景。

近期研究提出了多种针对黑箱视觉语言模型的提示调优方法,即黑箱提示调优(BBPT)。尽管BBPT展现出巨大潜力,但许多现有方法需大量查询(函数评估),在实际应用中受限于查询次数。为此,我们提出零阶内在维度提示调优(ZIP),一种纯黑箱设置下高效且鲁棒的提示优化新方法。ZIP的核心思想是降低问题维度并减少零阶梯度估计方差,从而以极少查询快速训练。通过将提示重参数化为低秩表示,并设计内在维度裁剪机制实现梯度估计优化。我们在13+个标准基准任务上评估ZIP,结果显示其相比最优的替代方法,平均提升约6%的少样本准确率,查询效率提高48%,达到新最佳水平。消融分析进一步表明,所提裁剪机制鲁棒且近似最优,无需手动选择裁剪阈值,效果媲美昂贵的超参数搜索。

原文摘要 · Abstract (English)

Recent studies have introduced various approaches for prompt-tuning black-box vision-language models, referred to as black-box prompt-tuning (BBPT). While BBPT has demonstrated considerable potential, it is often found that many existing methods require an excessive number of queries (i.e., function evaluations), which poses a significant challenge in real-world scenarios where the number of allowed queries is limited. To tackle this issue, we propose Zeroth-order Intrinsic-dimensional Prompt-tuning (ZIP), a novel approach that enables efficient and robust prompt optimization in a purely black-box setting. The key idea of ZIP is to reduce the problem dimensionality and the variance of zeroth-order gradient estimates, such that the training is done fast with far less queries. We achieve this by re-parameterizing prompts in low-rank representations and designing intrinsic-dimensional clipping of estimated gradients. We evaluate ZIP on 13+ vision-language tasks in standard benchmarks and show that it achieves an average improvement of approximately 6% in few-shot accuracy and 48% in query efficiency compared to the best-performing alternative BBPT methods, establishing a new state of the art. Our ablation analysis further shows that the proposed clipping mechanism is robust and nearly optimal, without the need to manually select the clipping threshold, matching the result of expensive hyperparameter search.

提示调优黑箱优化低秩表示查询效率

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。