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

面向参数高效语言模型微调的自适应前缀微调

Towards Adaptive Prefix Tuning for Parameter-Efficient Language Model Fine-tuning

Alibaba Group(阿里巴巴集团)

Zhen-Ru Zhang, Chuanqi Tan, Haiyang Xu, Chengyu Wang, Jun Huang, Songfang Huang

AI总结:

针对大型预训练模型全参数微调代价高的问题,提出自适应前缀微调(APT),通过门控机制在令牌级和层级调整前缀,在SuperGLUE和NER数据集上验证了有效性与高效性。

摘要:

在下游任务上对大型预训练语言模型进行全参数微调的代价极其高昂。因此,参数高效微调引起了广泛关注,该方法在冻结预训练模型的同时仅优化少量任务特定参数。本工作聚焦于前缀微调,它仅优化插入到 Transformer 层中的连续前缀向量(即伪令牌)。基于不同层的学习到的语法和语义表示差异很大的观察,我们论证自适应前缀比固定前缀能进一步适配各层,使微调更有效且高效。为此,我们提出自适应前缀微调(APT),通过门控机制在细粒度令牌级和粗粒度层级上调整前缀。在 SuperGLUE 和 NER 数据集上的实验证明了 APT 的有效性。此外,将门控作为探针,我们验证了可变前缀的高效性与有效性。

英文摘要:

Fine-tuning large pre-trained language models on various downstream tasks with whole parameters is prohibitively expensive. Hence, Parameter-efficient fine-tuning has attracted attention that only optimizes a few task-specific parameters with the frozen pre-trained model. In this work, we focus on prefix tuning, which only optimizes continuous prefix vectors (i.e. pseudo tokens) inserted into Transformer layers. Based on the observation that the learned syntax and semantics representation varies a lot at different layers, we argue that the adaptive prefix will be further tailored to each layer than the fixed one, enabling the fine-tuning more effective and efficient. Thus, we propose Adaptive Prefix Tuning (APT) to adjust the prefix in terms of both fine-grained token level and coarse-grained layer level with a gate mechanism. Experiments on the SuperGLUE and NER datasets show the effectiveness of APT. In addition, taking the gate as a probing, we validate the efficiency and effectiveness of the variable prefix.

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

↑