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

用于参数有效调整的稀疏结构搜索

Sparse Structure Search for Parameter-Efficient Tuning

Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Noah’s Ark Lab, Huawei(华为诺亚方舟实验室);Institute Guo Qiang, Tsinghua University(清华大学国强研究院);International Innovation Center of Tsinghua University(清华大学国际创新中心)

Shengding Hu, Zhen Zhang, Ning Ding, Yadao Wang, Yasheng Wang, Zhiyuan Liu, Maosong Sun

摘要:

通过微调来适应大型预训练模型(PTM)会带来令人望而却步的计算和存储负担。最近的研究参数有效的调整(PET)发现,只有优化一小部分的参数条件的PTM可以产生的性能相比,传统的微调。通常,PET方法精细地设计参数有效模块(PET模块),其可以应用于PTM内的任意细粒度位置。然而,这些细粒度位置的有效性在很大程度上依赖于复杂的手动指定,从而通常产生次优结果。与手动指定相反,我们探索以自动方式构建PET模块。我们自动\textbf{S}为\textbf{S}解析\textbf{S}结构的\textbf{P}架构- \textbf{E}高效\textbf{T} uning(S $^3$ PET)。S $^3$ PET基于各种PET方法的统一框架,通过双层优化进行可微PET结构搜索,并提出了移动全局sigmoid方法来显式控制可训练参数的数量。大量的实验表明,S $^3$ PET优于手动和随机结构,具有较少的可训练参数。在可训练参数为0.01%的情况下,搜索到的结构保持了99%以上的微调性能。此外,S $^3$ PET的优势在极低的可训练参数预算(0.0009\% $\sim$ 0.01\%)下被放大。所搜索的结构是可转移的和可解释的,为PET方法的未来设计提供建议和指导。

英文摘要:

Adapting large pre-trained models (PTMs) through fine-tuning imposes prohibitive computational and storage burdens. Recent studies of parameter-efficient tuning (PET) find that only optimizing a small portion of parameters conditioned on PTMs could yield on-par performance compared to conventional fine-tuning. Generally, PET methods exquisitely design parameter-efficient modules (PET modules) which could be applied to arbitrary fine-grained positions inside PTMs. However, the effectiveness of these fine-grained positions largely relies on sophisticated manual designation, thereby usually producing sub-optimal results. In contrast to the manual designation, we explore constructing PET modules in an automatic manner. We automatically \textbf{S}earch for the \textbf{S}parse \textbf{S}tructure of \textbf{P}arameter-\textbf{E}fficient \textbf{T}uning (S$^3$PET). Based on a unified framework of various PET methods, S$^3$PET conducts the differentiable PET structure search through bi-level optimization and proposes shifted global sigmoid method to explicitly control the number of trainable parameters. Extensive experiments show that S$^3$PET surpasses manual and random structures with less trainable parameters. The searched structures preserve more than 99\% fine-tuning performance with 0.01\% trainable parameters. Moreover, the advantage of S$^3$PET is amplified with extremely low trainable parameters budgets (0.0009\%$\sim$0.01\%). The searched structures are transferable and explainable, providing suggestions and guidance for the future design of PET methods.

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

↑