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

我们真的需要大量视觉提示吗?

Do We Really Need a Large Number of Visual Prompts?

Yale University(耶鲁大学)

Youngeun Kim, Yuhang Li, Abhishek Moitra, Ruokai Yin, Priyadarshini Panda

AI总结:

针对VPT因提示token过多产生计算开销的问题,本文分析提示数量与性能及自注意力的关系,提出Prompt Condensation技术,在FGVC和VTAB-1k上减少约70%提示且保持精度。

摘要:

由于人们对在资源受限的边缘设备上适配模型的兴趣日益增长,参数高效迁移学习已得到广泛探索。在多种方法中,Visual Prompt Tuning(VPT,视觉提示调优)通过将可学习提示前置到输入空间,相较于训练完整网络参数展现出具有竞争力的微调性能。然而,VPT会增加输入token数量,从而带来额外的计算开销。本文中,我们在vision transformer(视觉Transformer)架构内分析了提示数量对微调性能和自注意力操作的影响。通过理论与实证分析,我们表明增加更多提示并不会带来线性的性能提升。此外,我们提出了一种Prompt Condensation(PC,提示压缩)技术,旨在防止因使用少量提示而导致的性能下降。我们在FGVC和VTAB-1k任务上验证了所提方法,结果表明该方法将提示数量减少约70%,同时保持准确率。

英文摘要:

Due to increasing interest in adapting models on resource-constrained edges, parameter-efficient transfer learning has been widely explored. Among various methods, Visual Prompt Tuning (VPT), prepending learnable prompts to input space, shows competitive fine-tuning performance compared to training of full network parameters. However, VPT increases the number of input tokens, resulting in additional computational overhead. In this paper, we analyze the impact of the number of prompts on fine-tuning performance and self-attention operation in a vision transformer architecture. Through theoretical and empirical analysis we show that adding more prompts does not lead to linear performance improvement. Further, we propose a Prompt Condensation (PC) technique that aims to prevent performance degradation from using a small number of prompts. We validate our methods on FGVC and VTAB-1k tasks and show that our approach reduces the number of prompts by ~70% while maintaining accuracy.

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

↑