详细信息

FL-Tuning: Layer Tuning for Feed-Forward Network in Transformer  ( EI收录)  

文献类型:期刊文献

英文题名:FL-Tuning: Layer Tuning for Feed-Forward Network in Transformer

作者:Liu, Jingping[1]; Song, Yuqiu[1]; Xue, Kui[2]; Sun, Hongli[1]; Wang, Chao[3]; Chen, Lihan[3]; Jiang, Haiyun[4]; Liang, Jiaqing[3]; Ruan, Tong[1]

机构:[1] School of Information Science and Engineering, East China University of Science and Technology, China; [2] Shanghai Artificial Intelligence Laboratory, Shanghai, China; [3] Shanghai Key Laboratory of Data Science, School of Computer Science, Fudan University, China; [4] Tencent AI Lab, Shenzhen, China

年份:2022

外文期刊名:arXiv

收录:EI(收录号:20220283270)

语种:英文

摘要:Prompt tuning is an emerging way of adapting pre-trained language models to downstream tasks. However, the existing studies are mainly to add prompts to the input sequence. This way would not work as expected due to the intermediate multi-head self-attention and feed-forward network computation, making model optimization not very smooth. Hence, we propose a novel tuning way called layer tuning, aiming to add learnable parameters in Transformer layers. Specifically, we focus on layer tuning for feed-forward network in the Transformer, namely FL-tuning. It introduces additional units into the hidden layer of each feed-forward network. We conduct extensive experiments on the public CLUE benchmark. The results show that: 1) Our FL-tuning outperforms prompt tuning methods under both full-data and few-shot settings in almost all cases. In particular, it improves accuracy by 17.93% (full-data setting) on WSC 1.0 and F1 by 16.142% (few-shot setting) on CLUENER over P-tuning v2. 2) Our FL-tuning is more stable and converges about 1.17 times faster than P-tuning v2. 3) With only about 3% of Transformer's parameters to be trained, FL-tuning is comparable with fine-tuning on most datasets, and significantly outperforms fine-tuning (e.g., accuracy improved by 12.9% on WSC 1.1) on several datasets. The source codes are available at https://github.com/genggui001/FL-Tuning. Copyright ? 2022, The Authors. All rights reserved.

参考文献:

正在载入数据...

版权所有©华东理工大学 重庆维普资讯有限公司 渝B2-20050021-7 
渝公网安备 50019002500408号 违法和不良信息举报中心