通过自适应优化子网络有效地微调预训练的语言模型
Fine-Tuning Pre-Trained Language Models Effectively by Optimizing Subnetworks Adaptively
摘要:
最近,大规模预训练的语言模型在广泛的下游任务上取得了令人印象深刻的结果。然而,在有限的目标数据集上微调一个非常大规模的预训练语言模型通常会受到过拟合和表示退化的困扰。在本文中,我们提出了一种动态参数选择(DPS)算法的大规模预训练模型在微调,自适应地选择一个更有前途的子网络进行基于梯度的反向传播的分期更新。在GLUE基准测试上的实验表明,DPS在整体性能和稳定性方面优于以前的微调方法,并且在可变预训练语言模型的情况下始终取得更好的结果。此外,DPS在域外迁移实验和低资源场景下都有很大的改善,表明它能够保持稳定的一般上下文特征,减少表示坍塌。我们在https://github.com/ZhangHaojie077/DPS上发布代码
英文摘要:
Large-scale pre-trained language models have achieved impressive results on a wide range of downstream tasks recently. However, fine-tuning an extremely large-scale pre-trained language model on limited target datasets is often plagued by overfitting and representation degradation. In this paper, we propose a Dynamic Parameter Selection (DPS) algorithm for the large-scale pre-trained models during fine-tuning, which adaptively selects a more promising subnetwork to perform staging updates based on gradients of back-propagation. Experiments on the GLUE benchmark show that DPS outperforms previous fine-tuning methods in terms of overall performance and stability, and consistently achieves better results with variable pre-trained language models. In addition, DPS brings a large magnitude of improvement in out-of-domain transferring experiments and low-resource scenarios, which shows that it can maintain stable general contextual features and reduce the representation collapse. We release our code at https://github.com/ZhangHaojie077/DPS
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。