arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.10136cs.CV
收藏

基于梯度的参数选择:高效微调方法

Gradient-based Parameter Selection for Efficient Fine-Tuning

University of Amsterdam(阿姆斯特丹大学);Peking University(北京大学);Shanghai AI Laboratory(上海人工智能实验室);Tsinghua University(清华大学)

Zhi Zhang, Qizhe Zhang, Zijun Gao, Renrui Zhang, Ekaterina Shutova, Shiji Zhou, Shanghang Zhang

AI总结:

本文提出基于梯度的参数选择(GPS)方法,通过微调预训练模型少量参数实现高效微调,在24个图像分类任务和医学图像分割任务中性能优于全微调及现有PEFT方法,且无额外参数和计算成本。

摘要:

随着预训练模型规模的不断扩大,对各种下游任务进行全微调并存储所有参数的成本高昂且不可行。本文提出了一种新的参数高效微调方法——基于梯度的参数选择(GPS),证明仅微调预训练模型中选定的少量参数,同时冻结模型其余部分,就能产生与全模型微调方法相似或更好的性能。与现有的流行且最先进的参数高效微调方法不同,我们的方法在训练和推理阶段都不会引入任何额外参数和计算成本。另一个优点是模型无关性和非破坏性,无需针对特定模型进行任何其他设计。与全微调相比,GPS在24个图像分类任务上平均仅微调预训练模型0.36%的参数,在FGVC上准确率提高了3.33%(91.78% vs. 88.45%),在VTAB上提高了9.61%(73.1% vs. 65.57%);在医学图像分割任务中,mDice和mIoU分别显著提高了17%和16.8%。此外,GPS与现有PEFT方法相比达到了最先进的性能。

英文摘要:

With the growing size of pre-trained models, full fine-tuning and storing all the parameters for various downstream tasks is costly and infeasible. In this paper, we propose a new parameter-efficient fine-tuning method, Gradient-based Parameter Selection (GPS), demonstrating that only tuning a few selected parameters from the pre-trained model while keeping the remainder of the model frozen can generate similar or better performance compared with the full model fine-tuning method. Different from the existing popular and state-of-the-art parameter-efficient fine-tuning approaches, our method does not introduce any additional parameters and computational costs during both the training and inference stages. Another advantage is the model-agnostic and non-destructive property, which eliminates the need for any other design specific to a particular model. Compared with the full fine-tuning, GPS achieves 3.33% (91.78% vs. 88.45%, FGVC) and 9.61% (73.1% vs. 65.57%, VTAB) improvement of the accuracy with tuning only 0.36% parameters of the pre-trained model on average over 24 image classification tasks; it also demonstrates a significant improvement of 17% and 16.8% in mDice and mIoU, respectively, on medical image segmentation task. Moreover, GPS achieves state-of-the-art performance compared with existing PEFT methods.

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

↑