无需反向传播,用5000次查询高效优化多模态提示。
ZOMP: Zeroth-Order Multi-Modal Prompt Tuning for Vision-Language Models
- 通过跨模态低秩重参数化,联合优化视觉与文本提示。
- 在13个基准上以5000次查询实现最优准确率与效率。
- 适合资源受限设备或私有模型的轻量级微调场景。
对视觉语言模型(如CLIP)进行微调通常需要通过完整模型的反向传播,但在内存受限的边缘设备或私有模型部署中,仅能访问前向传播。现有无反向传播的零阶提示微调方法要么仅在单模态上调优,要么搜索空间过大,需数千次前向传播才能收敛,不切实际。本文提出ZOMP(Zeroth-Order Multimodal Prompt tuning),一种完全前向、查询高效的多模态提示调优方法,利用同时扰动随机近似,在冻结的CLIP模型的视觉和文本分支中联合优化深度提示。ZOMP结合三项设计:跨模态低秩重参数化以降低有效搜索维度;梯度修正动量项稳定噪声较大的零阶估计;预算索引秩调度随查询消耗逐步释放容量。在13个视觉语言基准上,匹配5000次查询预算时,ZOMP在少样本准确率和查询效率上均显著优于已有无反向传播方法,并在基线到新任务、跨数据集迁移及分布外泛化方面表现更优。结果表明,联合利用多模态特性与低秩结构是实现高效、实用零阶提示微调的有效路径。
原文摘要 · Abstract (English)
Fine-tuning vision-language models such as CLIP typically requires backpropagation (BP) through the full model, which is infeasible when only forward-pass access is available, as is common for memory-constrained edge devices and proprietary model deployments. Prior BP-free, zeroth-order prompt-tuning methods avoid this requirement but often tune prompts in a single modality or optimize over a search space large enough that convergence requires thousands of forward passes, which is impractical under realistic query budgets. We propose ZOMP (Zeroth-Order Multimodal Prompt tuning), a query-efficient, fully forward-only method that tunes deep prompts in both the vision and text branches of a frozen CLIP model using simultaneous perturbation stochastic approximation. ZOMP combines three ingredients: a cross-modal low-rank reparameterization that ties the two branches through a shared factor and keeps the effective search dimensionality small, a gradient-correction momentum term that stabilizes the noisy zeroth-order estimate, and a budget-indexed rank schedule that unlocks capacity as the query budget is spent. Across 13 vision-language benchmarks under a matched 5,000-query budget, ZOMP consistently outperforms prior BP-free prompt-tuning methods in both few-shot accuracy and query efficiency, and it generalizes better across base-to-new, cross-dataset transfer, and out-of-distribution settings. Our results show that jointly exploiting multimodality and low-rank structure is an effective route to practical, query-efficient BP-free prompt tuning.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。