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

联合重参数化多层适配用于高效且私密的微调

Jointly Reparametrized Multi-Layer Adaptation for Efficient and Private Tuning

USC Information Sciences Institute(南加州大学信息科学研究所);University of California Riverside(加州大学河滨分校)

Umang Gupta, Aram Galstyan, Greg Ver Steeg

AI总结:

本文提出一种联合重参数化多层适配方法,通过单个可训练向量的固定随机投影在多个Transformer层引入任务特定参数,以极少参数实现接近全量微调的性能,并适用于低资源与差分隐私场景。

摘要:

预训练语言Transformer的高效微调在解决自然语言处理任务中正变得越来越普遍。尽管有效,它仍可能需要大量可调参数。这对于低资源应用和在差分隐私约束下训练来说可能是一个缺点,因为在微调过程中可能会引入过多噪声。为此,我们提出了一种新颖的语言Transformer微调策略,在多个Transformer层中引入任务特定参数。这些参数源自单个可训练向量的固定随机投影,从而能够以显著更少的参数进行微调,同时保持性能。我们在GLUE任务上以每个任务仅4,100个参数实现了全量微调性能的5%以内,优于使用相似每任务参数数量的其他参数高效微调方法。此外,随机投影可以在推理时预先计算,避免额外的计算延迟。所有这些使我们的方法对低资源应用特别有吸引力。最后,在相同隐私约束下训练时,与几种近期微调方法相比,我们的方法实现了最佳或可比的效用,突显了其有效性和潜在的现实世界影响。

英文摘要:

Efficient finetuning of pretrained language transformers is becoming increasingly prevalent for solving natural language processing tasks. While effective, it can still require a large number of tunable parameters. This can be a drawback for low-resource applications and training with differential-privacy constraints, where excessive noise may be introduced during finetuning. To this end, we propose a novel language transformer finetuning strategy that introduces task-specific parameters in multiple transformer layers. These parameters are derived from fixed random projections of a single trainable vector, enabling finetuning with significantly fewer parameters while maintaining performance. We achieve within 5% of full finetuning performance on GLUE tasks with as few as 4,100 parameters per task, outperforming other parameter-efficient finetuning approaches that use a similar number of per-task parameters. Besides, the random projections can be precomputed at inference, avoiding additional computational latency. All these make our method particularly appealing for low-resource applications. Finally, our method achieves the best or comparable utility compared to several recent finetuning methods when training with the same privacy constraints, underscoring its effectiveness and potential real-world impact.

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

↑