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

研究有效扩展Transformers以实现长输入汇总

Investigating Efficiently Extending Transformers for Long Input Summarization

New York University(纽约大学);Google Research(谷歌研究院)

Jason Phang, Yao Zhao, Peter J. Liu

摘要:

虽然大型预训练的Transformer模型已被证明在处理自然语言任务方面具有很强的能力,但处理长序列输入仍然是一个重大挑战。一个这样的任务是长输入摘要,其中输入长于大多数预训练模型的最大输入上下文。通过一组广泛的实验,我们研究了什么样的模型架构变化和预训练范式可以最有效地适应预训练的Transformer长输入摘要。我们发现,交错的,块本地Transformer与全球编码器令牌罢工的性能和效率的良好平衡,以及一个额外的预训练阶段长序列有意义地提高下游汇总性能。基于我们的发现,我们引入了PEGASUS-X,这是PEGASUS模型的扩展,具有额外的长输入预训练,可处理多达16 K个令牌的输入。PEGASUS-X在长输入摘要任务上实现了与大得多的模型相当的强大性能,同时添加了很少的额外参数,并且不需要模型并行性来进行训练。

英文摘要:

While large pretrained Transformer models have proven highly capable at tackling natural language tasks, handling long sequence inputs continues to be a significant challenge. One such task is long input summarization, where inputs are longer than the maximum input context of most pretrained models. Through an extensive set of experiments, we investigate what model architectural changes and pretraining paradigms can most efficiently adapt a pretrained Transformer for long input summarization. We find that a staggered, block-local Transformer with global encoder tokens strikes a good balance of performance and efficiency, and that an additional pretraining phase on long sequences meaningfully improves downstream summarization performance. Based on our findings, we introduce PEGASUS-X, an extension of the PEGASUS model with additional long input pretraining to handle inputs of up to 16K tokens. PEGASUS-X achieves strong performance on long input summarization tasks comparable with much larger models while adding few additional parameters and not requiring model parallelism to train.

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

↑