arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.13282cs.CV
收藏

AdaViPro:用于大规模模型适配的基于区域的自适应视觉提示

AdaViPro: Region-based Adaptive Visual Prompt for Large-Scale Models Adapting

Beijing University of Posts and Telecommunications(北京邮电大学);Xidian University(西安电子科技大学);Dalian University of Technology(大连理工大学)

Mengyu Yang, Ye Tian, Lanshan Zhang, Xiao Liang, Xuming Ran, Wendong Wang

AI总结:

针对视觉提示放置位置依赖人工设计的问题,本文提出 AdaViPro,将提示位置优化建模为区域决策,并通过 Gumbel-Softmax 实现端到端学习,在预训练模型适配中取得更优的效率与准确率权衡。

摘要:

近年来,基于提示的方法已成为一种新的“参数高效微调”范式,其仅微调少量额外参数,同时保持原始模型冻结。然而,尽管现有提示方法取得了显著成果,但它们主要关注“添加什么”,而忽视了同样重要的“在哪里添加”这一方面,通常依赖于人工设计的放置位置。为此,我们提出了一种基于区域的自适应视觉提示,名为 AdaViPro,它将提示的“在哪里添加”优化整合到学习过程中。具体而言,我们将“在哪里添加”优化重新概念化为一个区域决策问题。在推理过程中,AdaViPro 为整张图像生成一张由 0 和 1 组成的区域化掩码图,以指定在每个具体区域是应用还是丢弃提示。因此,我们采用 Gumbel-Softmax 采样,使 AdaViPro 能够通过标准反向传播进行端到端学习。大量实验表明,我们的 AdaViPro 在适配预训练模型时实现了新的效率与准确率权衡。

英文摘要:

Recently, prompt-based methods have emerged as a new alternative `parameter-efficient fine-tuning' paradigm, which only fine-tunes a small number of additional parameters while keeping the original model frozen. However, despite achieving notable results, existing prompt methods mainly focus on `what to add', while overlooking the equally important aspect of `where to add', typically relying on the manually crafted placement. To this end, we propose a region-based Adaptive Visual Prompt, named AdaViPro, which integrates the `where to add' optimization of the prompt into the learning process. Specifically, we reconceptualize the `where to add' optimization as a problem of regional decision-making. During inference, AdaViPro generates a regionalized mask map for the whole image, which is composed of 0 and 1, to designate whether to apply or discard the prompt in each specific area. Therefore, we employ Gumbel-Softmax sampling to enable AdaViPro's end-to-end learning through standard back-propagation. Extensive experiments demonstrate that our AdaViPro yields new efficiency and accuracy trade-offs for adapting pre-trained models.

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

↑