跳到正文
arXiv (AI + Vision + Imaging)· Jiazhe Zhang, Zibin Geng, Qiang Ma, Xuefeng Jiang, Yijun Lin, Jingyi Wang, Yu Yan, Xingzhou Zhang, Min Liu, Yuwei Wang, Sheng Sun·· 1 天前AI 评分15

GPrompt:用初始梯度探测分配文本与视觉提示,提升标签噪声下的提示学习鲁棒性

Probe Before You Learn: Allocating Prompts from Initial Gradients under Label Noise

AI 导读

GPrompt 是一种免训练方法,仅利用初始化阶段的损失梯度推导文本提示与视觉提示之间的参数预算分配,无需训练候选配置。该方法通过小样本图像与伪标签做初始化探测,提取成对的文本与视觉损失梯度,并基于迹归一化 Gram 矩阵的几何特征推导闭式分配方案。在 11 个数据集上,其表现最高超过最强基线 7.75%,所选配置接近穷举训练找到的最优分配,梯度探测平均运行时间比穷举候选训练低 99.9%。

正文 · 原文

arXiv:2611.29336v1 Announce Type: new Abstract: Prompt learning provides a parameter-efficient way to adapt pretrained vision--language models through text and visual prompts, but noisy labels prevalent in real-world data inevitably bias prompt updates and thereby undermine adaptation effectiveness. Prior work on robust prompt learning focuses on suppressing unreliable updates under noisy supervision. We uncover a pivotal yet overlooked aspect--prompt allocation: shifting the parameter budget between text and visual prompts can substantially enhance robustness while keeping the training objective and total budget fixed. However, suitable prompt allocations vary across tasks and are unknown a priori, rendering brute-force candidate training computationally prohibitive. We propose GPrompt, a training-free method that derives allocation between text and visual prompts using only loss gradients at initialization before prompt optimization. Using a small sample of images and generated pseudo-labels as shared supervision, GPrompt performs an initialization probe to extract paired text and visual loss gradients, and characterizes the geometry of their trace-normalized Gram matrices through both concentration within each modality and overlap between modalities. GPrompt then derives a closed-form allocation, and projects it onto feasible prompt counts under the exact parameter budget, enabling task-specific selection without training candidate configurations. Experiments across eleven datasets show that GPrompt outperforms the strongest baseline by up to 7.75% while selecting configurations close to the best allocation identified through exhaustive training. The average runtime of gradient probe across datasets is 99.9% lower than that of exhaustive candidate training.

来源:arXiv (AI + Vision + Imaging) · arxiv.org