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

Pay Attention when Required

NVIDIA(英伟达公司)

Swetha Mandava, Szymon Migacz, Alex Fit Florea

英文摘要:

Transformer-based models consist of interleaved feed-forward blocks - that capture content meaning, and relatively more expensive self-attention blocks - that capture context meaning. In this paper, we explored trade-offs and ordering of the blocks to improve upon the current Transformer architecture and proposed PAR Transformer. It needs 35% lower compute time than Transformer-XL achieved by replacing ~63% of the self-attention blocks with feed-forward blocks, and retains the perplexity on WikiText-103 language modelling benchmark. We further validated our results on text8 and enwiki8 datasets, as well as on the BERT model.

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

↑