arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.16329cs.CVcs.AI
收藏

面向 Vision Transformer 的参数高效模型适配

Parameter-efficient Model Adaptation for Vision Transformers

UC Santa Cruz(加州大学圣克鲁兹分校);Microsoft Research(微软研究院)

Xuehai He, Chunyuan Li, Pengchuan Zhang, Jianwei Yang, Xin Eric Wang

AI总结:

本文将 vision transformer 适配建模为子空间训练问题,提出基于局部内蕴维度选模块并以 KAdaptation 分解的参数高效框架,在少样本和全样本图像分类基准上取得最佳准确率—参数效率权衡。

摘要:

在计算机视觉中,通过将大规模预训练视觉模型(例如 vision transformer)适配到下游任务,已经取得了优异的迁移学习性能。常见的模型适配方法要么更新全部模型参数,要么使用线性探针。本文旨在研究图像分类任务上面向 vision transformer 的参数高效模型适配策略。我们将高效模型适配表述为一个子空间训练问题,并针对不同的高效适配方法开展全面基准评测。我们对每种高效模型适配方法进行实证研究,重点关注其性能以及参数成本。此外,我们提出一种参数高效的模型适配框架:该框架首先通过度量局部内蕴维度来选择子模块,随后利用一种新颖的 Kronecker Adaptation(KAdaptation)方法将这些子模块投影到子空间中以进一步分解。我们分析并比较了所提方法与多种基线模型适配方法,其中包括面向预训练语言模型的最先进方法。在少样本设置下的 20 个图像分类数据集和全样本设置下的 7 个图像分类数据集上,我们的方法在准确率与参数效率之间的权衡方面表现最佳。

英文摘要:

In computer vision, it has achieved great transfer learning performance via adapting large-scale pretrained vision models (e.g., vision transformers) to downstream tasks. Common approaches for model adaptation either update all model parameters or leverage linear probes. In this paper, we aim to study parameter-efficient model adaptation strategies for vision transformers on the image classification task. We formulate efficient model adaptation as a subspace training problem and perform a comprehensive benchmarking over different efficient adaptation methods. We conduct an empirical study on each efficient model adaptation method focusing on its performance alongside parameter cost. Furthermore, we propose a parameter-efficient model adaptation framework, which first selects submodules by measuring local intrinsic dimensions and then projects them into subspace for further decomposition via a novel Kronecker Adaptation (KAdaptation) method. We analyze and compare our method with a diverse set of baseline model adaptation methods (including state-of-the-art methods for pretrained language models). Our method performs the best in terms of the tradeoff between accuracy and parameter efficiency across 20 image classification datasets under the few-shot setting and 7 image classification datasets under the full-shot setting.

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

↑