Pith. sign in

REVIEW

Compressing deep neural networks on FPGAs to binary and ternary precision with HLS4ML

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2003.06308 v2 pith:Q23QKPP7 submitted 2020-03-11 cs.LG eess.SPhep-ex

classification cs.LGeess.SPhep-ex
keywords precisionbinarynetworkternaryimplementationneuralaccuracyconsumption
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

We present the implementation of binary and ternary neural networks in the hls4ml library, designed to automatically convert deep neural network models to digital circuits with FPGA firmware. Starting from benchmark models trained with floating point precision, we investigate different strategies to reduce the network's resource consumption by reducing the numerical precision of the network parameters to binary or ternary. We discuss the trade-off between model accuracy and resource consumption. In addition, we show how to balance between latency and accuracy by retaining full precision on a selected subset of network components. As an example, we consider two multiclass classification tasks: handwritten digit recognition with the MNIST data set and jet identification with simulated proton-proton collisions at the CERN Large Hadron Collider. The binary and ternary implementation has similar performance to the higher precision implementation while using drastically fewer FPGA resources.

Discussion (0). Sign in to comment.

Pith tools