随着预训练模型规模的不断扩大,对各种下游任务进行全微调并存储所有参数的成本高昂且不可行。本文提出了一种新的参数高效微调方法——基于梯度的参数选择(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.
AMF: Adaptable Weighting Fusion with Multiple Fine-tuning for Image Classification
SenseTime Research(商汤科技研究院);Shanghai AI Lab(上海人工智能实验室);University of New South Wales(新南威尔士大学);The Australian National University(澳大利亚国立大学);Curtin University(科廷大学)
University of Washington(华盛顿大学);OpenAI;Columbia University(哥伦比亚大学);Google Research(谷歌研究院);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Toyota Research Institute(丰田研究院)
Vision-Language Model Fine-Tuning via Simple Parameter-Efficient Modification
The University of Tokyo(东京大学);University of Southern California(南加州大学);The Chinese University of Hong Kong(香港中文大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心)