arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.12223cs.LGcs.CLcs.NEstat.ML
收藏

预训练BERT网络的彩票假说

The Lottery Ticket Hypothesis for Pre-trained BERT Networks

University of Texas at Austin(得克萨斯大学奥斯汀分校);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);IBM Research(IBM研究院)

Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Yang Zhang, Zhangyang Wang, Michael Carbin

摘要:

在自然语言处理(NLP)中,像BERT这样的巨大的预训练模型已经成为一系列下游任务训练的标准起点,类似的趋势也出现在深度学习的其他领域。与此同时,对彩票假设的研究表明,NLP和计算机视觉的模型包含较小的匹配子网络,能够单独训练到完全准确并转移到其他任务。在这项工作中,我们结合这些观察来评估这种可训练,可转移的子网络是否存在于预先训练的BERT模型中。对于一系列下游任务,我们确实找到了40%到90%稀疏度的匹配子网络。我们在(预先训练的)初始化时发现这些子网络,这与之前的NLP研究不同,因为它们只在经过一定量的训练后才会出现。在掩蔽语言建模任务(用于预训练模型的相同任务)中发现的子网络普遍转移;在其他任务中发现的子网络以有限的方式转移。随着大规模预训练成为深度学习中越来越重要的范式,我们的研究结果表明,主要的彩票观察结果在这种情况下仍然是相关的。代码可在https://github.com/VITA-Group/BERT-Tickets获得。

英文摘要:

In natural language processing (NLP), enormous pre-trained models like BERT have become the standard starting point for training on a range of downstream tasks, and similar trends are emerging in other areas of deep learning. In parallel, work on the lottery ticket hypothesis has shown that models for NLP and computer vision contain smaller matching subnetworks capable of training in isolation to full accuracy and transferring to other tasks. In this work, we combine these observations to assess whether such trainable, transferrable subnetworks exist in pre-trained BERT models. For a range of downstream tasks, we indeed find matching subnetworks at 40% to 90% sparsity. We find these subnetworks at (pre-trained) initialization, a deviation from prior NLP research where they emerge only after some amount of training. Subnetworks found on the masked language modeling task (the same task used to pre-train the model) transfer universally; those found on other tasks transfer in a limited fashion if at all. As large-scale pre-training becomes an increasingly central paradigm in deep learning, our results demonstrate that the main lottery ticket observations remain relevant in this context. Codes available at https://github.com/VITA-Group/BERT-Tickets.

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

↑