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

低秩重标定视觉Transformer微调:一种残差设计方法

Low-Rank Rescaled Vision Transformer Fine-Tuning: A Residual Design Approach

University of Electronic Science and Technology of China(电子科技大学);Xi’an University of Architecture and Technology(西安建筑科技大学);Northwestern Polytechnical University(西北工业大学)

Wei Dong, Xing Zhang, Bihui Chen, Dawei Yan, Zhijun Lin, Qingsen Yan, Peng Wang, Yang Yang

AI总结:

本文从SVD视角分析预训练ViT微调动态,提出基于残差的低秩重标定(RLRR)策略,在保持参数高效的同时提升下游图像分类性能。

摘要:

针对预训练视觉Transformer的参数高效微调旨在通过学习极少量的新适配参数来灵活调整模型以适应下游任务,同时保持预训练参数的大部分被冻结。在保留预训练模型的可泛化表示能力与获取任务特定特征之间取得平衡是一个关键挑战。目前,缺乏对引导这一微妙权衡的关注。在本研究中,我们从预训练参数矩阵的奇异值分解(SVD)视角来处理该问题,为现有方法的调优动态提供了见解。基于这一理解,我们提出了一种基于残差的低秩重标定(RLRR)微调策略。该策略不仅增强了参数调优的灵活性,而且通过残差设计确保新参数不会过度偏离预训练模型。大量实验表明,我们的方法在各种下游图像分类任务上取得了具有竞争力的性能,同时保持可比的新参数量。我们相信,这项工作在提供统一视角以解释现有方法方面向前迈进了一步,并可作为开发新方法的动力,使新方法更接近于有效考虑上述关键权衡。我们的代码可在\href{https://github.com/zstarN70/RLRR.git}{https://github.com/zstarN70/RLRR.git}获取。

英文摘要:

Parameter-efficient fine-tuning for pre-trained Vision Transformers aims to adeptly tailor a model to downstream tasks by learning a minimal set of new adaptation parameters while preserving the frozen majority of pre-trained parameters. Striking a balance between retaining the generalizable representation capacity of the pre-trained model and acquiring task-specific features poses a key challenge. Currently, there is a lack of focus on guiding this delicate trade-off. In this study, we approach the problem from the perspective of Singular Value Decomposition (SVD) of pre-trained parameter matrices, providing insights into the tuning dynamics of existing methods. Building upon this understanding, we propose a Residual-based Low-Rank Rescaling (RLRR) fine-tuning strategy. This strategy not only enhances flexibility in parameter tuning but also ensures that new parameters do not deviate excessively from the pre-trained model through a residual design. Extensive experiments demonstrate that our method achieves competitive performance across various downstream image classification tasks, all while maintaining comparable new parameters. We believe this work takes a step forward in offering a unified perspective for interpreting existing methods and serves as motivation for the development of new approaches that move closer to effectively considering the crucial trade-off mentioned above. Our code is available at \href{https://github.com/zstarN70/RLRR.git}{https://github.com/zstarN70/RLRR.git}.

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

↑