Speaker
Description
High Granularity Quantisation (HGQ) is a learned mixed-precision method for FPGA neural-network inference, where different weights can use different bit widths. During training, HGQ minimises estimated bit-operations (EBOPs), a hardware-cost proxy based on the number and precision of arithmetic operations, rather than using synthesised hardware resources.
We assess how well EBOPs predicts the hardware cost of HGQ models using the 830 000-jet hls4ml jet-tagging benchmark. Models trained at several regularisation strengths were synthesised with Vitis HLS 2024.1 and Vivado 2024.1 using two independent seeds. EBOPs correlates strongly with LUT usage (r=0.95) and FF usage (r=0.90), but not with DSP usage (r=-0.54). The DSP behaviour shows a distinct increase at low regularisation strengths, with the transition depending on the training seed.
Further studies show that this behaviour results from individual multiply operations being mapped differently during HLS synthesis. Controlled tests based on weight outliers, fixed bit-width distributions, and weight optimisation did not reproduce the observed effect. EBOPs therefore provides a useful proxy for LUT and FF resource relationship, but it is unreliable for DSP budgeting. This highlights a limitation of using operation-count-based hardware proxies when targeting FPGA designs with tight DSP constraints.
| Tracks | Accelerator Physics, Instrumentation and Future Experiments |
|---|