arXiv (Cornell University) · 2020 · 21 citations · 3 references
Open access
ComputingComputer EngineeringComputer ScienceHeterogeneous ComputingMachine LearningParticle PhysicsAccelerator ArchitectureAccelerator IntegrationDeep LearningHardware AccelerationHeterogeneous System ArchitectureLow-power Fpga DesignDeep Learning AccelerationDeep Learning AcceleratorsEnergy ConsumptionHadron Collider PhysicsLow-latency DesignPrecisionProton-proton CollisionsQuantization
In this paper, we introduce the QKeras library, an extension of the Keras library allowing for the creation of heterogeneously quantized versions of deep neural network models, through drop-in replacement of Keras layers. These models are trained quantization-aware, where the user can trade off model area or energy consumption by accuracy. We demonstrate how the reduction of numerical precision, through quantization-aware training, significantly reduces resource consumption while retaining high accuracy when implemented on FPGA hardware. Together with the hls4ml library, this allows for a fully automated deployment of quantized Keras models on chip, crucial for ultra low-latency inference. As a benchmark problem, we consider a classification task for the triggering of events in proton-proton collisions at the CERN Large Hadron Collider, where a latency of ${\mathcal O}(1)~\mu$s is required.
3
Deep Learning with Limited Numerical Precision
Suyog Gupta, Ankur Agrawal, Kailash Gopalakrishnan et al. · 2015 · 774 citations
Fengfu Li, Bin Liu · arXiv (Cornell University) · 2016 · 761 citations · Full text
fastmachinelearning/hls4ml: coris
Zenodo (CERN European Organization for Nuclear Research) · 2021 · 379 citations · Full text
Computing, Computer Science, Physics +17