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

参数高效微调且不引入新延迟

Parameter-Efficient Fine-Tuning without Introducing New Latency

University of Amsterdam(阿姆斯特丹大学)

Baohao Liao, Yan Meng, Christof Monz

AI总结:

本文提出一种任务无关的稀疏掩码生成方法和直接作用于预训练参数的新型适配器技术,在不引入额外推理延迟的情况下实现参数高效微调,在GLUE基准上以仅0.03%的存储开销取得最优性能。

摘要:

预训练语言模型的参数高效微调(PEFT)近年来取得了显著成果,在使用显著更少可训练参数的同时有效匹配全量微调的性能,从而解决了存储和通信约束问题。然而,各种PEFT方法受其固有特性所限。在稀疏微调中,仅修改现有参数的一小部分,微调参数的选择是任务和领域特定的,因此不适合联邦学习。另一方面,添加新参数的PEFT方法通常会引入额外的推理延迟。在本文中,我们证明了以任务无关的方式生成稀疏掩码的可行性,其中所有下游任务共享一个共同的掩码。我们的方法仅依赖预训练参数的幅值信息,在GLUE基准上评估时显著超越了现有方法。此外,我们引入了一种新颖的适配器技术,将适配器直接应用于预训练参数而非隐藏表示,从而实现与全量微调相同的推理速度。通过大量实验,我们提出的方法在性能和存储效率方面均取得了新的最优结果,仅存储全量微调0.03%的参数。

英文摘要:

Parameter-efficient fine-tuning (PEFT) of pre-trained language models has recently demonstrated remarkable achievements, effectively matching the performance of full fine-tuning while utilizing significantly fewer trainable parameters, and consequently addressing the storage and communication constraints. Nonetheless, various PEFT methods are limited by their inherent characteristics. In the case of sparse fine-tuning, which involves modifying only a small subset of the existing parameters, the selection of fine-tuned parameters is task- and domain-specific, making it unsuitable for federated learning. On the other hand, PEFT methods with adding new parameters typically introduce additional inference latency. In this paper, we demonstrate the feasibility of generating a sparse mask in a task-agnostic manner, wherein all downstream tasks share a common mask. Our approach, which relies solely on the magnitude information of pre-trained parameters, surpasses existing methodologies by a significant margin when evaluated on the GLUE benchmark. Additionally, we introduce a novel adapter technique that directly applies the adapter to pre-trained parameters instead of the hidden representation, thereby achieving identical inference speed to that of full fine-tuning. Through extensive experiments, our proposed method attains a new state-of-the-art outcome in terms of both performance and storage efficiency, storing only 0.03% parameters of full fine-tuning.

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

↑