arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.16137cs.LGcs.AIcs.CL
收藏

X-PEFT:面向极端多配置场景的极致参数高效微调

X-PEFT: eXtremely Parameter-Efficient Fine-Tuning for Extreme Multi-Profile Scenarios

Seoul National University(首尔大学)

Namju Kwak, Taesup Kim

AI总结:

针对多配置场景下适配器微调的额外参数量随配置数线性增长的问题,提出X-PEFT方法,通过极小的二值掩码张量自适应选择已有适配器,在内存需求降低万倍的前提下,性能达到或超过传统适配器微调。

摘要:

参数高效微调(PEFT)技术,例如适配器微调(adapter tuning),旨在使用最少的参数针对特定任务或配置微调预训练语言模型(PLM)。尽管与全模型微调相比,适配器微调提升了参数效率,但它会为每个配置在PLM上附加一小部分额外参数。这在多配置的实际应用中会产生问题,尤其是当配置数量大幅增加时,额外参数的总量会线性增长。为缓解这一问题,我们提出X-PEFT这一新型PEFT方法,它通过为新配置微调一组极小的紧凑张量来利用大量已有适配器,这些张量充当二值掩码以自适应选择已有适配器。为高效验证所提方法,我们使用大量已训练或未训练(随机)的适配器实现了该方法。我们通过LaMP和GLUE任务评估X-PEFT的性能,结果表明,尽管其每个配置的内存需求相比传统适配器微调降低了10000倍,但其效果与传统适配器微调相当甚至更优。

英文摘要:

Parameter-efficient fine-tuning (PEFT) techniques, such as adapter tuning, aim to fine-tune a pre-trained language model (PLM) using a minimal number of parameters for a specific task or profile. Although adapter tuning provides increased parameter efficiency compared to full-model fine-tuning, it introduces a small set of additional parameters attached to a PLM for each profile. This can become problematic in practical applications with multiple profiles, particularly when a significant increase in the number of profiles linearly boosts the total number of additional parameters. To mitigate this issue, we introduce X-PEFT, a novel PEFT method that leverages a multitude of given adapters by fine-tuning an extremely small set of compact tensors for a new profile, which serve as binary masks to adaptively select the given adapters. To efficiently validate our proposed method, we implement it using a large number of trained or untrained (random) adapters. We evaluate the performance of X-PEFT through LaMP and GLUE tasks and demonstrate that it either matches or surpasses the effectiveness of conventional adapter tuning, despite reducing the memory requirements per profile by a factor of 10,000 compared to it.

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

↑