视觉Transformer的学习表达与电阻
Learning Expressive Prompting With Residuals for Vision Transformers
摘要:
快速学习是一种有效的方法,通过将可学习的参数集插入到预训练模型的输入和中间表示中来适应Transformers。在这项工作中,我们提出了表达性记忆(EXPRESS),它修改了提示学习范式,专门用于有效适应视觉Transformer(ViT)。Out方法通过可学习的“输出”标记构造下游表示,这些标记类似于ViT的学习类标记。此外,为了更好地引导由冻结的Transformer处理的下游表示,我们引入了添加到各种计算的输出中的剩余可学习令牌。我们将EXPRESS应用于图像分类,少样本学习和语义分割,并表明我们的方法能够在VTAB基准测试的3/3类别上实现最先进的提示微调。除了强大的性能,我们观察到,我们的方法是一个数量级更迅速的效率比现有的视觉提示基线。我们分析表明,我们的方法的计算效益比权空间自适应技术,如微调。最后,我们通过一系列的烧蚀实验系统地证实了我们的方法的架构设计。
英文摘要:
Prompt learning is an efficient approach to adapt transformers by inserting learnable set of parameters into the input and intermediate representations of a pre-trained model. In this work, we present Expressive Prompts with Residuals (EXPRES) which modifies the prompt learning paradigm specifically for effective adaptation of vision transformers (ViT). Out method constructs downstream representations via learnable ``output'' tokens, that are akin to the learned class tokens of the ViT. Further for better steering of the downstream representation processed by the frozen transformer, we introduce residual learnable tokens that are added to the output of various computations. We apply EXPRES for image classification, few shot learning, and semantic segmentation, and show our method is capable of achieving state of the art prompt tuning on 3/3 categories of the VTAB benchmark. In addition to strong performance, we observe that our approach is an order of magnitude more prompt efficient than existing visual prompting baselines. We analytically show the computational benefits of our approach over weight space adaptation techniques like finetuning. Lastly we systematically corroborate the architectural design of our method via a series of ablation experiments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。