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

探索模型扩展对参数高效微调的影响

Exploring the Impact of Model Scaling on Parameter-Efficient Tuning

Tsinghua University(清华大学);University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校);Renmin University(中国人民大学);Ping An Technology(平安科技)

Yusheng Su, Chi-Min Chan, Jiali Cheng, Yujia Qin, Yankai Lin, Shengding Hu, Zonghan Yang, Ning Ding, Xingzhi Sun, Guotong Xie, Zhiyuan Liu, Maosong Sun

AI总结:

该研究提出灵活的APET方法,在3个PLM、11项NLP任务上验证模型扩展会削弱可微调参数位置差异,并支持以更少参数达到全参数微调性能。

摘要:

参数高效微调(PET)方法只需训练极少量参数,即可有效驱动超大规模预训练语言模型(PLM)。不同PET方法采用各自人工设计的可微调模块。在小型PLM中,不同PET方法之间通常存在显著的性能差异;然而,随着模型规模增大,这些性能差异变得微乎其微。因此,我们假设模型扩展能够缓解设计差异对PET方法的影响。为研究该假设,我们提出一种更灵活的PET方法,称为Arbitrary PET(APET)方法。APET兼容由任意数量参数构成、且这些参数分布在任意位置的可微调模块。随后,我们利用该方法在3个具有代表性的PLM上、覆盖11项NLP任务开展实验。研究表明,模型扩展:(1)缓解了可微调参数位置对性能的影响;(2)使微调方法能够通过优化更少的可微调参数,达到与全参数微调相当的性能。有趣的是,我们还观察到,在不同任务上,各微调方法为超过随机猜测性能所优化的可微调参数数量相近。我们从优化角度共同讨论了这一现象及上述两项发现,以理解其内在机制。这些结论增进了对模型扩展如何影响PET的理解,并有助于为不同规模的PLM设计更有效、更高效的PET方法。源代码可从GitHub仓库获取:https://github.com/yushengsu-thu/PET_Scaling。

英文摘要:

Parameter-efficient tuning (PET) methods can effectively drive extremely large pre-trained language models (PLMs) by training only minimal parameters. Different PET methods utilize different manually designed tunable modules. In small PLMs, there are usually noticeable performance differences among PET methods. Nevertheless, as the model scale increases, the performance differences become marginal. Hence, we hypothesize that model scaling mitigates the impact of design differences on PET methods. To investigate this hypothesis, we introduce a more flexible PET method called Arbitrary PET (APET) method. The APET method is compatible with a tunable module, which consists of any number of parameters distributed in arbitrary positions. Then, we utilize it and conduct experiments on 11 NLP tasks across 3 representative PLMs. Our investigations reveal that model scaling (1) mitigates the effects of the positions of tunable parameters on performance, and (2) enables tuning methods to achieve performance comparable to full-parameter fine-tuning by optimizing fewer tunable parameters. Intriguingly, we also observe that tuning methods optimize the similar number of tunable parameters to exceed random guess performance on different tasks. We collectively discuss this phenomenon and the two aforementioned findings from an optimization perspective to understand the underlying mechanisms. These conclusions enhance our understanding of the impact of model scaling on PET and assist in designing more effective and efficient PET methods for PLMs of different scales. The source code can be obtained from this GitHub repository: \url{https://github.com/yushengsu-thu/PET_Scaling}.

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

↑