arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.04673cs.CVcs.AIcs.LG
收藏

神经提示搜索

Neural Prompt Search

Nanyang Technological University(南洋理工大学)

Yuanhan Zhang, Kaiyang Zhou, Ziwei Liu

摘要:

在过去的几年里,视觉模型的规模呈指数级增长,特别是在视觉Transformer出现之后。这推动了参数高效调优方法的发展,例如学习适配器层或视觉提示令牌,它们允许训练一小部分模型参数,而从预训练中获得的绝大多数参数被冻结。然而,设计一个合适的调优方法并不简单:可能需要尝试一个冗长的设计选择列表,更不用说每个下游数据集通常都需要定制设计。在本文中,我们将现有的参数有效的调整方法视为“提示模块”,并提出了神经prOmpt seArcH(NOAH),这是一种新的方法,它可以通过神经架构搜索算法,针对大型视觉模型学习提示模块的最佳设计,特别是针对每个下游数据集。通过在20多个视觉数据集上进行广泛的实验,我们证明了NOAH(i)优于单个提示模块,(ii)具有良好的少样本学习能力,(iii)是领域可推广的。代码和模型可在https://github.com/Davidzhangyuanhan/NOAH上获得。

英文摘要:

The size of vision models has grown exponentially over the last few years, especially after the emergence of Vision Transformer. This has motivated the development of parameter-efficient tuning methods, such as learning adapter layers or visual prompt tokens, which allow a tiny portion of model parameters to be trained whereas the vast majority obtained from pre-training are frozen. However, designing a proper tuning method is non-trivial: one might need to try out a lengthy list of design choices, not to mention that each downstream dataset often requires custom designs. In this paper, we view the existing parameter-efficient tuning methods as "prompt modules" and propose Neural prOmpt seArcH (NOAH), a novel approach that learns, for large vision models, the optimal design of prompt modules through a neural architecture search algorithm, specifically for each downstream dataset. By conducting extensive experiments on over 20 vision datasets, we demonstrate that NOAH (i) is superior to individual prompt modules, (ii) has a good few-shot learning ability, and (iii) is domain-generalizable. The code and models are available at https://github.com/Davidzhangyuanhan/NOAH.

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

↑