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

参数高效微调设计空间

Parameter-Efficient Fine-Tuning Design Spaces

Georgia Institute of Technology(佐治亚理工学院);Amazon Web Services(亚马逊云科技);Stanford University(斯坦福大学)

Jiaao Chen, Aston Zhang, Xingjian Shi, Mu Li, Alex Smola, Diyi Yang

摘要:

参数高效微调旨在使用更少的可训练参数来实现与微调相当的性能。几种策略(例如,适配器、前缀调谐、BitFit和LoRA)已经被提出。然而,他们的设计是单独手工制作的,目前还不清楚是否存在某些设计模式用于参数高效微调。因此,我们提出了一个参数高效微调设计范例,并发现设计模式,适用于不同的实验设置。而不是专注于设计另一个单独的调整策略,我们引入参数高效微调设计空间,参数化调整结构和调整策略。具体来说,任何设计空间的特点是由四个组成部分:层分组,可训练的参数分配,可调组和策略分配。从初始设计空间开始,我们根据每个设计选择的模型质量逐步细化空间,并在每个阶段对这四个组件进行贪婪选择。我们发现了以下设计模式:(i)将层分组为主轴模式;(ii)将可训练参数的数量均匀分配给层;(iii)调整所有组;(iv)为不同的组分配适当的调整策略。这些设计模式导致新的参数高效微调方法。我们的实验表明,这些方法一致和显着优于调查参数高效微调策略在不同的骨干模型和不同的任务,在自然语言处理。

英文摘要:

Parameter-efficient fine-tuning aims to achieve performance comparable to fine-tuning, using fewer trainable parameters. Several strategies (e.g., Adapters, prefix tuning, BitFit, and LoRA) have been proposed. However, their designs are hand-crafted separately, and it remains unclear whether certain design patterns exist for parameter-efficient fine-tuning. Thus, we present a parameter-efficient fine-tuning design paradigm and discover design patterns that are applicable to different experimental settings. Instead of focusing on designing another individual tuning strategy, we introduce parameter-efficient fine-tuning design spaces that parameterize tuning structures and tuning strategies. Specifically, any design space is characterized by four components: layer grouping, trainable parameter allocation, tunable groups, and strategy assignment. Starting from an initial design space, we progressively refine the space based on the model quality of each design choice and make greedy selection at each stage over these four components. We discover the following design patterns: (i) group layers in a spindle pattern; (ii) allocate the number of trainable parameters to layers uniformly; (iii) tune all the groups; (iv) assign proper tuning strategies to different groups. These design patterns result in new parameter-efficient fine-tuning methods. We show experimentally that these methods consistently and significantly outperform investigated parameter-efficient fine-tuning strategies across different backbone models and different tasks in natural language processing.

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

↑