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

通过结构重新参数化实现有效的视觉适应

Towards Efficient Visual Adaption via Structural Re-parameterization

Xiamen University(厦门大学);Contemporary Amperex Technology Co. Limited (CATL)(宁德时代新能源科技股份有限公司(CATL))

Gen Luo, Minglang Huang, Yiyi Zhou, Xiaoshuai Sun, Guannan Jiang, Zhiyu Wang, Rongrong Ji

摘要:

参数高效迁移学习(PETL)是一个新兴的研究热点,旨在以低廉的成本使大规模预训练模型适应下游任务。最近的进展在通过更新少量参数而不是完全调整来节省各种预训练模型的存储成本方面取得了巨大成功。然而,我们注意到,大多数现有的PETL方法在推理过程中仍然会产生不可忽略的延迟。在本文中,我们提出了一个参数高效和计算友好的适配器的巨大的视觉模型,称为RepAdapter。具体来说,我们首先证明了常见的自适应模块也可以通过我们的结构重新参数化无缝集成到大多数巨型视觉模型中,从而在推理过程中实现零成本。然后,我们研究稀疏设计和有效的放置适配器结构,帮助我们的RepAdaper获得其他优势的参数效率和性能。为了验证RepAdapter,我们对三个视觉任务的27个基准数据集进行了广泛的实验,即,图像和视频分类以及语义分割。实验结果表明,RepAdapter的性能和效率优于国家的最先进的PETL方法。例如,RepAdapter在VTAB-1 k上的性能比完全调优平均高出7.2%,并节省了高达25%的训练时间、20%的GPU内存和94.6%的存储成本。RepAdapter的泛化能力也通过一系列视觉模型得到了很好的验证。我们的源代码发布在https://github.com/luogen1996/RepAdapter上。

英文摘要:

Parameter-efficient transfer learning (PETL) is an emerging research spot aimed at inexpensively adapting large-scale pre-trained models to downstream tasks. Recent advances have achieved great success in saving storage costs for various pre-trained models by updating a small number of parameters instead of full tuning. However, we notice that most existing PETL methods still incur non-negligible latency during inference. In this paper, we propose a parameter-efficient and computational friendly adapter for giant vision models, called RepAdapter. Specifically, we first prove that common adaptation modules can also be seamlessly integrated into most giant vision models via our structural re-parameterization, thereby achieving zero-cost during inference. We then investigate the sparse design and effective placement of adapter structure, helping our RepAdaper obtain other advantages in terms of parameter efficiency and performance. To validate RepAdapter, we conduct extensive experiments on 27 benchmark datasets of three vision tasks, i.e., image and video classifications and semantic segmentation. Experimental results show the superior performance and efficiency of RepAdapter than the state-of-the-art PETL methods. For instance, RepAdapter outperforms full tuning by +7.2% on average and saves up to 25% training time, 20% GPU memory, and 94.6% storage cost of ViT-B/16 on VTAB-1k. The generalization ability of RepAdapter is also well validated by a bunch of vision models. Our source code is released at https://github.com/luogen1996/RepAdapter.

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

↑