跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2002.08614 (cs)
[提交于 2020年2月20日]

标题:Balancing Cost and Benefit with Tied-Multi Transformers

作者:Raj Dabre, Raphael Rubino, Atsushi Fujita
查看论文《Balancing Cost and Benefit with Tied-Multi Transformers》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We propose and evaluate a novel procedure for training multiple Transformers with tied parameters which compresses multiple models into one enabling the dynamic choice of the number of encoder and decoder layers during decoding. In sequence-to-sequence modeling, typically, the output of the last layer of the N-layer encoder is fed to the M-layer decoder, and the output of the last decoder layer is used to compute loss. Instead, our method computes a single loss consisting of NxM losses, where each loss is computed from the output of one of the M decoder layers connected to one of the N encoder layers. Such a model subsumes NxM models with different number of encoder and decoder layers, and can be used for decoding with fewer than the maximum number of encoder and decoder layers. We then propose a mechanism to choose a priori the number of encoder and decoder layers for faster decoding, and also explore recurrent stacking of layers and knowledge distillation for model compression. We present a cost-benefit analysis of applying the proposed approaches for neural machine translation and show that they reduce decoding costs while preserving translation quality.
评论: Extended version of our previous manuscript available at arXiv:1908.10118
主题: 计算与语言 (cs.CL); 机器学习 (cs.LG)
引用方式: arXiv:2002.08614 [cs.CL]
  (或者 arXiv:2002.08614v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2002.08614

提交历史

来自:Atsushi Fujita
[v1] 2020年2月20日 星期四 08:20:52 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-02
切换浏览方式为:
cs.CL
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站