QONNX: Representing Arbitrary-Precision Quantized Neural Networks

التفاصيل البيبلوغرافية
العنوان: QONNX: Representing Arbitrary-Precision Quantized Neural Networks
المؤلفون: Pappalardo, Alessandro, Umuroglu, Yaman, Blott, Michaela, Mitrevski, Jovan, Hawks, Ben, Tran, Nhan, Loncar, Vladimir, Summers, Sioni, Borras, Hendrik, Muhizi, Jules, Trahms, Matthew, Hsu, Shih-Chieh, Hauck, Scott, Duarte, Javier
سنة النشر: 2022
مصطلحات موضوعية: Computer Science - Machine Learning, Computer Science - Hardware Architecture, Computer Science - Programming Languages, Statistics - Machine Learning
الوصف: 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.
Comment: 9 pages, 5 figures, Contribution to 4th Workshop on Accelerated Machine Learning (AccML) at HiPEAC 2022 Conference
نوع الوثيقة: Working Paper
URL الوصول: http://arxiv.org/abs/2206.07527
رقم الأكسشن: edsarx.2206.07527
قاعدة البيانات: arXiv