Skip to main content
QUICK REVIEW

[论文解读] UniPELT: A Unified Framework for Parameter-Efficient Language Model Tuning

Yuning Mao, Lambert Mathias|arXiv (Cornell University)|Oct 14, 2021
Topic ModelingComputer Science被引用 20
一句话总结

UniPELT 提出了一种统一框架,通过可学习的门控机制动态组合多种参数高效微调(PELT)方法(如 LoRA、前缀调优、适配器和 BitFit),自动为每个输入选择最有效的子模块。该方法在 GLUE 基准任务上持续优于单一 PELT 方法和全量微调,性能提升 1–4%,并超越了其子模块的理论性能上限。

ABSTRACT

Recent parameter-efficient language model tuning (PELT) methods manage to match the performance of fine-tuning with much fewer trainable parameters and perform especially well when training data is limited. However, different PELT methods may perform rather differently on the same task, making it nontrivial to select the most appropriate method for a specific task, especially considering the fast-growing number of new PELT methods and tasks. In light of model diversity and the difficulty of model selection, we propose a unified framework, UniPELT, which incorporates different PELT methods as submodules and learns to activate the ones that best suit the current data or task setup via gating mechanism. On the GLUE benchmark, UniPELT consistently achieves 1~4% gains compared to the best individual PELT method that it incorporates and even outperforms fine-tuning under different setups. Moreover, UniPELT generally surpasses the upper bound that takes the best performance of all its submodules used individually on each task, indicating that a mixture of multiple PELT methods may be inherently more effective than single methods.

研究动机与目标

  • 为解决在众多多样化 PELT 方法中为特定任务选择最优方法的挑战,尤其是随着 PELT 方法数量的持续增长。
  • 探究组合多种 PELT 方法是否能获得优于单独使用任一方法的性能。
  • 开发一种统一框架,自动为每个输入或任务配置选择并激活最有效的 PELT 子模块。
  • 在多样化数据和任务配置下,评估该统一框架的有效性、鲁棒性和效率。

提出的方法

  • UniPELT 将四种代表性 PELT 方法——LoRA、前缀调优、适配器和 BitFit——作为模块化子组件集成到单一框架中。
  • 一个可训练的门控机制根据输入或任务特征动态分配子模块权重,实现选择性激活。
  • 门控机制通过端到端训练,倾向于选择在给定输入或任务上能提升性能的子模块。
  • 该框架保持了参数效率,即使在组合多种方法时,也仅引入 0.99%–1.26% 的微调参数量。
  • 子模块按顺序应用,其输出通过门控机制隐式协调,而非显式求和。
  • 该框架在 8 个 GLUE 任务的 32 种不同设置下进行评估,涵盖多种数据规模,训练运行超过 1,000 次。

实验结果

研究问题

  • RQ1能否设计一种统一框架,将多种 PELT 方法结合,从而在每个任务上超越表现最佳的单一 PELT 方法?
  • RQ2通过门控机制实现子模块的动态选择,是否能在多样化数据和任务设置下提升鲁棒性与有效性?
  • RQ3不同 PELT 方法的组合能否超越每个任务上单一方法的理论性能上限?
  • RQ4在准确率和效率方面,UniPELT 与全量微调相比表现如何?

主要发现

  • 在 GLUE 基准的全部 32 种设置中,UniPELT 的性能始终比其集成的最优单一 PELT 方法高出 1–4%。
  • 尽管使用了显著更少的可训练参数,UniPELT 在所有任务和数据规模下的平均性能仍优于全量微调。
  • 该框架超越了以每个任务上最优子模块性能定义的理论性能上限,表明方法组合本身更具有效性。
  • UniPELT 的可训练参数量保持极低——仅为全量微调的 0.99% 至 1.26%,即使在集成多个子模块的情况下也展现出极强的参数效率。
  • 训练时间比全量微调快 30–50%,推理开销极低(仅比最慢的子模块慢 4–11%),具备实际部署可行性。
  • 门控机制有效学习到为每个输入激活最合适的子模块,减少过拟合,提升泛化能力,尤其在低数据场景下表现更优。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。