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

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

计算机科学 > 机器学习

arXiv:2004.10568 (cs)
[提交于 2020年4月22日 (v1),最后修订于 2020年6月30日 (此版本, v2)]

标题:Up or Down? Adaptive Rounding for Post-Training Quantization

作者:Markus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos, Tijmen Blankevoort
查看论文《Up or Down? Adaptive Rounding for Post-Training Quantization》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:When quantizing neural networks, assigning each floating-point weight to its nearest fixed-point value is the predominant approach. We find that, perhaps surprisingly, this is not the best we can do. In this paper, we propose AdaRound, a better weight-rounding mechanism for post-training quantization that adapts to the data and the task loss. AdaRound is fast, does not require fine-tuning of the network, and only uses a small amount of unlabelled data. We start by theoretically analyzing the rounding problem for a pre-trained neural network. By approximating the task loss with a Taylor series expansion, the rounding task is posed as a quadratic unconstrained binary optimization problem. We simplify this to a layer-wise local loss and propose to optimize this loss with a soft relaxation. AdaRound not only outperforms rounding-to-nearest by a significant margin but also establishes a new state-of-the-art for post-training quantization on several networks and tasks. Without fine-tuning, we can quantize the weights of Resnet18 and Resnet50 to 4 bits while staying within an accuracy loss of 1%.
评论: Published as a conference paper at ICML 2020
主题: 机器学习 (cs.LG); 计算机视觉与模式识别 (cs.CV); 机器学习 (stat.ML)
引用方式: arXiv:2004.10568 [cs.LG]
  (或者 arXiv:2004.10568v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2004.10568

提交历史

来自:Markus Nagel
[v1] 2020年4月22日 星期三 13:44:28 UTC
[v2] 2020年6月30日 星期二 09:51:23 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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