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

Fast-ELECTRA:用于高效预训练

Fast-ELECTRA for Efficient Pre-training

University of California, San Diego(加州大学圣地亚哥分校);Microsoft Research(微软研究院)

Chengyu Dong, Liyuan Liu, Hao Cheng, Jingbo Shang, Jianfeng Gao, Xiaodong Liu

AI总结:

针对ELECTRA预训练中辅助模型训练成本浪费的问题,提出Fast-ELECTRA,利用现有语言模型作为辅助模型,通过温度缩放递减调度构建学习课程,在保持性能的同时显著降低计算和内存成本,并增强训练稳定性。

摘要:

ELECTRA通过检测序列中被辅助模型替换的令牌来预训练语言模型。尽管ELECTRA在效率上提供了显著提升,但其潜力受到辅助模型带来的训练成本的制约。值得注意的是,该模型与主模型联合训练,仅用于辅助主模型的训练,并在训练后被丢弃。这导致大量训练成本被白白浪费。为了缓解这一问题,我们提出了Fast-ELECTRA,它利用现有的语言模型作为辅助模型。为了为主模型构建学习课程,我们通过温度缩放并遵循递减调度来平滑其输出分布。我们的方法在性能上与最先进的ELECTRA式预训练方法相媲美,同时显著消除了辅助模型联合训练带来的计算和内存成本。我们的方法还降低了对超参数的敏感性,并增强了预训练的稳定性。

英文摘要:

ELECTRA pre-trains language models by detecting tokens in a sequence that have been replaced by an auxiliary model. Although ELECTRA offers a significant boost in efficiency, its potential is constrained by the training cost brought by the auxiliary model. Notably, this model, which is jointly trained with the main model, only serves to assist the training of the main model and is discarded post-training. This results in a substantial amount of training cost being expended in vain. To mitigate this issue, we propose Fast-ELECTRA, which leverages an existing language model as the auxiliary model. To construct a learning curriculum for the main model, we smooth its output distribution via temperature scaling following a descending schedule. Our approach rivals the performance of state-of-the-art ELECTRA-style pre-training methods, while significantly eliminating the computation and memory cost brought by the joint training of the auxiliary model. Our method also reduces the sensitivity to hyper-parameters and enhances the pre-training stability.

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

↑