arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.12002cs.LGcs.CL
收藏

预训练语言模型中的超级门票:从模型压缩到改进泛化

Super Tickets in Pre-Trained Language Models: From Model Compression to Improving Generalization

Georgia Institute of Technology(佐治亚理工学院);Microsoft Research(微软研究院);Microsoft Azure AI(微软Azure人工智能部门)

Chen Liang, Simiao Zuo, Minshuo Chen, Haoming Jiang, Xiaodong Liu, Pengcheng He, Tuo Zhao, Weizhu Chen

摘要:

彩票假说表明,一个过度参数化的网络由“彩票”组成,并训练它们的某个集合(即,子网络)可以匹配完整模型的性能。在本文中,我们研究了这样一个集合的门票,这是被称为“中奖门票”,在非常过度参数化的模型,例如,预训练的语言模型。我们观察到,在一定的压缩比,推广性能的中奖门票不仅可以匹配,而且超过了完整的模型。特别是,我们观察到一个相变现象:随着压缩比的增加,推广性能的中奖彩票首先提高,然后恶化后,一定的阈值。我们把门槛上的票称为“超级票”。我们进一步表明,相变是任务和模型相关的-随着模型大小变得更大,训练数据集变得更小,过渡变得更加明显。我们在GLUE基准测试上的实验表明,超级票在任务平均得分方面提高了BERT-base上的$0.9$点和BERT-large上的$1.0$点。我们还证明了自适应地在任务之间共享超级门票有利于多任务学习。

英文摘要:

The Lottery Ticket Hypothesis suggests that an over-parametrized network consists of ``lottery tickets'', and training a certain collection of them (i.e., a subnetwork) can match the performance of the full model. In this paper, we study such a collection of tickets, which is referred to as ``winning tickets'', in extremely over-parametrized models, e.g., pre-trained language models. We observe that at certain compression ratios, the generalization performance of the winning tickets can not only match but also exceed that of the full model. In particular, we observe a phase transition phenomenon: As the compression ratio increases, generalization performance of the winning tickets first improves then deteriorates after a certain threshold. We refer to the tickets on the threshold as ``super tickets''. We further show that the phase transition is task and model dependent -- as the model size becomes larger and the training data set becomes smaller, the transition becomes more pronounced. Our experiments on the GLUE benchmark show that the super tickets improve single task fine-tuning by $0.9$ points on BERT-base and $1.0$ points on BERT-large, in terms of task-average score. We also demonstrate that adaptively sharing the super tickets across tasks benefits multi-task learning.

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

↑