arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.13002cs.CLcs.AI
收藏

预训练的总结蒸馏

Pre-trained Summarization Distillation

Hugging Face;Cornell University(康奈尔大学)

Sam Shleifer, Alexander M. Rush

摘要:

最近的最先进的摘要方法利用大型预训练的Transformer模型。将这些模型提炼成更小的学生模型对于实际应用来说已经变得至关重要;然而,NLP文献提出了许多不同的提炼方法。最近的工作蒸馏BERT的分类和回归任务显示出强大的性能,使用直接知识蒸馏。或者,机器翻译从业者使用伪标记进行提取,其中小模型在较大模型的翻译上进行训练。第三种更简单的方法是“收缩和微调”(SFT),它通过将参数复制到较小的学生模型然后进行微调来避免任何显式蒸馏。我们比较了这三种方法对Pegasus和BART的蒸馏,当前和以前的最新技术水平,预训练的摘要模型,并发现SFT在CNN/DailyMail数据集上优于知识蒸馏和伪标记,但在更抽象的XSUM数据集上表现不佳。PyTorch代码和不同大小的检查点可以通过Hugging Face Transformers获得,网址为http://tiny.cc/4iy0tz。

英文摘要:

Recent state-of-the-art approaches to summarization utilize large pre-trained Transformer models. Distilling these models to smaller student models has become critically important for practical use; however there are many different distillation methods proposed by the NLP literature. Recent work on distilling BERT for classification and regression tasks shows strong performance using direct knowledge distillation. Alternatively, machine translation practitioners distill using pseudo-labeling, where a small model is trained on the translations of a larger model. A third, simpler approach is to 'shrink and fine-tune' (SFT), which avoids any explicit distillation by copying parameters to a smaller student model and then fine-tuning. We compare these three approaches for distillation of Pegasus and BART, the current and former state of the art, pre-trained summarization models, and find that SFT outperforms knowledge distillation and pseudo-labeling on the CNN/DailyMail dataset, but under-performs pseudo-labeling on the more abstractive XSUM dataset. PyTorch Code and checkpoints of different sizes are available through Hugging Face transformers here http://tiny.cc/4iy0tz.

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

↑