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

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

计算机科学 > 计算与语言

arXiv:2009.08034 (cs)
[提交于 2020年9月17日 (v1),最后修订于 2020年9月18日 (此版本, v2)]

标题:Towards Fully 8-bit Integer Inference for the Transformer Model

作者:Ye Lin, Yanyang Li, Tengbo Liu, Tong Xiao, Tongran Liu, Jingbo Zhu
查看论文《Towards Fully 8-bit Integer Inference for the Transformer Model》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:8-bit integer inference, as a promising direction in reducing both the latency and storage of deep neural networks, has made great progress recently. On the other hand, previous systems still rely on 32-bit floating point for certain functions in complex models (e.g., Softmax in Transformer), and make heavy use of quantization and de-quantization. In this work, we show that after a principled modification on the Transformer architecture, dubbed Integer Transformer, an (almost) fully 8-bit integer inference algorithm Scale Propagation could be derived. De-quantization is adopted when necessary, which makes the network more efficient. Our experiments on WMT16 En<->Ro, WMT14 En<->De and En->Fr translation tasks as well as the WikiText-103 language modelling task show that the fully 8-bit Transformer system achieves comparable performance with the floating point baseline but requires nearly 4x less memory footprint.
评论: accepted by IJCAI2020
主题: 计算与语言 (cs.CL)
引用方式: arXiv:2009.08034 [cs.CL]
  (或者 arXiv:2009.08034v2 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2009.08034

提交历史

来自:Ye Lin
[v1] 2020年9月17日 星期四 03:09:10 UTC
[v2] 2020年9月18日 星期五 06:12:27 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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