arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.07527cs.LGcs.ARcs.PLstat.ML
收藏

QONNX:表示精确量化的神经网络

QONNX: Representing Arbitrary-Precision Quantized Neural Networks

AMD(超威半导体公司);Fermi National Accelerator Laboratory(费米国家加速器实验室);Massachusetts Institute of Technology(麻省理工学院);European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));Heidelberg University(海德堡大学);Harvard University(哈佛大学);University of Washington(华盛顿大学)
Alessandro Pappalardo, Yaman Umuroglu, Michaela Blott, Jovan Mitrevski, Ben Hawks, Nhan Tran, Vladimir Loncar, Sioni Summers, Hendrik Borras, Jules Muhizi, Matt… 展开作者

Alessandro Pappalardo, Yaman Umuroglu, Michaela Blott, Jovan Mitrevski, Ben Hawks, Nhan Tran, Vladimir Loncar, Sioni Summers, Hendrik Borras, Jules Muhizi, Matthew Trahms, Shih-Chieh Hsu, Scott Hauck, Javier Duarte

摘要:

我们提出了扩展的开放神经网络交换(ONNX)的中间表示格式表示任意精度量化的神经网络。我们首先通过利用整数裁剪在现有的基于ONNX的量化格式中引入对低精度量化的支持,从而产生两个新的向后兼容的变体:具有裁剪的量化运算符格式和量化-裁剪-解量化(QCDQ)格式。然后,我们介绍了一种称为量化ONNX(QONNX)的新型高级ONNX格式,它引入了三个新的运算符- Quant,BipolarQuant和Trunc -以表示均匀量化。通过保持QONNX IR的高水平和灵活性,我们能够针对更广泛的平台。我们还介绍了使用QONNX的实用程序,以及在FINN和hls 4 ml工具链中使用QONNX的示例。最后,我们引入QONNX模型动物园来共享低精度量化神经网络。

英文摘要:

We present extensions to the Open Neural Network Exchange (ONNX) intermediate representation format to represent arbitrary-precision quantized neural networks. We first introduce support for low precision quantization in existing ONNX-based quantization formats by leveraging integer clipping, resulting in two new backward-compatible variants: the quantized operator format with clipping and quantize-clip-dequantize (QCDQ) format. We then introduce a novel higher-level ONNX format called quantized ONNX (QONNX) that introduces three new operators -- Quant, BipolarQuant, and Trunc -- in order to represent uniform quantization. By keeping the QONNX IR high-level and flexible, we enable targeting a wider variety of platforms. We also present utilities for working with QONNX, as well as examples of its usage in the FINN and hls4ml toolchains. Finally, we introduce the QONNX model zoo to share low-precision quantized neural networks.

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

↑