End-to-end codesign of Hessian-aware quantized neural networks for FPGAs and ASICs

Javier Campos, Zhen Dong, Javier Duarte, Amir Gholami, Michael W. Mahoney +2 more
4/13/2023
cs.LGcs.ARhep-ex

No confident code implementation found for this paper.

Abstract

We develop an end-to-end workflow for the training and implementation of co-designed neural networks (NNs) for efficient field-programmable gate array (FPGA) and application-specific integrated circuit (ASIC) hardware. Our approach leverages Hessian-aware quantization (HAWQ) of NNs, the Quantized Open Neural Network Exchange (QONNX) intermediate representation, and the hls4ml tool flow for transpiling NNs into FPGA and ASIC firmware. This makes efficient NN implementations in hardware accessible to nonexperts, in a single open-sourced workflow that can be deployed for real-time machine learning applications in a wide range of scientific and industrial settings. We demonstrate the workflow in a particle physics application involving trigger decisions that must operate at the 40 MHz collision rate of the CERN Large Hadron Collider (LHC). Given the high collision rate, all data processing must be implemented on custom ASIC and FPGA hardware within a strict area and latency. Based on these constraints, we implement an optimized mixed-precision NN classifier for high-momentum particle jets in simulated LHC proton-proton collisions.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{campos2023endtoend,
  title  = {End-to-end codesign of Hessian-aware quantized neural networks for FPGAs and ASICs},
  author = {Javier Campos and Zhen Dong and Javier Duarte and Amir Gholami and Michael W. Mahoney and Jovan Mitrevski and Nhan Tran},
  year   = {2023},
  eprint = {2304.06745},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.06745v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.06745.svg)](https://codeofpaper.com/paper/2304.06745)

Discussion