arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.03441cs.CL
收藏

蒸馏中应注意的温度问题

Attention Temperature Matters in Abstractive Summarization Distillation

Peking University(北京大学);Microsoft Research Asia(微软亚洲研究院)

Shengqiang Zhang, Xingxing Zhang, Hangbo Bao, Furu Wei

摘要:

摘要文本摘要的最新进展在很大程度上依赖于大型预训练的序列到序列Transformer模型,这是计算昂贵的。本文旨在将这些大型模型提取为较小的模型,以实现更快的推理和最小的性能损失。基于伪标记的方法在序列到序列模型蒸馏中很流行。在本文中,我们发现简单地操纵Transformers中的注意力温度可以使学生模型更容易学习伪标签。我们在三个摘要数据集上的实验表明,我们提出的方法始终优于基于香草伪标签的方法。我们还发现,我们的学生产生的伪标签和摘要都更短,更抽象。我们的代码可在\url{https://github.com/Shengqiang-Zhang/plate}上获得。

英文摘要:

Recent progress of abstractive text summarization largely relies on large pre-trained sequence-to-sequence Transformer models, which are computationally expensive. This paper aims to distill these large models into smaller ones for faster inference and minimal performance loss. Pseudo-labeling based methods are popular in sequence-to-sequence model distillation. In this paper, we find simply manipulating attention temperatures in Transformers can make pseudo labels easier to learn for student models. Our experiments on three summarization datasets show our proposed method consistently improves over vanilla pseudo-labeling based methods. We also find that both the pseudo labels and summaries produced by our students are shorter and more abstractive. Our code is available at \url{https://github.com/Shengqiang-Zhang/plate}.

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

↑