arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.06440cs.CVcs.LG
收藏

视觉提示重新想象:激活提示的威力

Visual prompting reimagined: The power of the Activation Prompts

Michigan State University(密歇根州立大学);University of Pennsylvania(宾夕法尼亚大学);New Jersey Institute of Technology(新泽西理工学院);IBM Research(IBM研究院);Rensselaer Polytechnic Institute(伦斯勒理工学院)

Yihua Zhang, Hongkang Li, Yuguang Yao, Aochuan Chen, Shuai Zhang, Pin-Yu Chen, Meng Wang, Sijia Liu

AI总结:

本文提出激活提示(AP)以改进视觉提示(VP),通过在中间层激活图上引入通用扰动,揭示VP在性能和效率上的固有局限,并在29个数据集上验证AP在准确性和效率上的优势。

摘要:

视觉提示(VP)已作为一种流行方法,用于重新利用预训练视觉模型以适应下游任务。与传统模型微调技术不同,VP直接在输入数据中引入通用扰动,以促进任务特定的微调,而不是修改模型参数。然而,VP与传统微调方法之间存在明显的性能差距,凸显了理论和实践中对输入级VP的理解和改进的空白。为此,我们引入了一个广义概念,称为激活提示(AP),通过在模型中间层的激活图上应用通用扰动,扩展了输入级VP的范围。通过使用AP重新审视VP问题并将其作为分析工具,我们展示了VP在性能和效率上的内在限制,揭示了为什么输入级提示可能不如AP有效,后者表现出模型依赖的层偏好。我们还展示了AP与卷积神经网络和视觉Transformer中的归一化调优密切相关,尽管每种模型类型在提示方面有各自不同的层偏好。我们通过分析跨层的全局特征,理论阐述了这种偏好的原因。通过在29个数据集和各种模型架构上的广泛实验,我们提供了AP的全面性能分析,将其与VP和参数高效微调基线进行比较。我们的结果表明,AP在准确性和效率上均优于考虑时间、参数、内存使用和吞吐量等因素。

英文摘要:

Visual prompting (VP) has emerged as a popular method to repurpose pretrained vision models for adaptation to downstream tasks. Unlike conventional model fine-tuning techniques, VP introduces a universal perturbation directly into the input data to facilitate task-specific fine-tuning rather than modifying model parameters. However, there exists a noticeable performance gap between VP and conventional fine-tuning methods, highlighting an unexplored realm in theory and practice to understand and advance the input-level VP to reduce its current performance gap. Towards this end, we introduce a generalized concept, termed activation prompt (AP), which extends the scope of the input-level VP by enabling universal perturbations to be applied to activation maps within the intermediate layers of the model. By using AP to revisit the problem of VP and employing it as an analytical tool, we demonstrate the intrinsic limitations of VP in both performance and efficiency, revealing why input-level prompting may lack effectiveness compared to AP, which exhibits a model-dependent layer preference. We show that AP is closely related to normalization tuning in convolutional neural networks and vision transformers, although each model type has distinct layer preferences for prompting. We also theoretically elucidate the rationale behind such a preference by analyzing global features across layers. Through extensive experiments across 29 datasets and various model architectures, we provide a comprehensive performance analysis of AP, comparing it with VP and parameter-efficient fine-tuning baselines. Our results demonstrate AP's superiority in both accuracy and efficiency, considering factors such as time, parameters, memory usage, and throughput.

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

↑