English

HGQ-LUT: Fast LUT-Aware Training and Efficient Architectures for DNN Inference

Hardware Architecture 2026-04-27 v1 Machine Learning High Energy Physics - Experiment

Abstract

Lookup-table (LUT) based neural networks can deliver ultra-low latency and excellent hardware efficiency on FPGAs by mapping arithmetic operations directly onto the logic primitives. However, state-of-the-art LUT-aware training (LAT) approaches remain difficult to use in practice: they are often orders of magnitude slower to train than conventional networks, require non-trivial manual tuning for hardware efficiency, and lack an end-to-end workflow. This work presents HGQ-LUT, integrated in https://github.com/calad0i/HGQ2, a new LAT approach that achieves state-of-the-art hardware efficiency while accelerating training by over 100 times on modern GPUs. HGQ-LUT introduces LUT-Dense and LUT-Conv layers that are implemented with regular, accelerator-efficient tensor operations during training, which are then compiled into logic LUTs for hardware. By combining these layers with fine-grained, element-wise heterogeneous quantization (including zero-bit pruning) and a LUT-aware resource surrogate, HGQ-LUT enables the automatic exploration of accuracy-resource trade-offs without manual bit-width tuning. We further integrate HGQ-LUT into open-source toolchains, enabling unified design, compilation, and bit-exact verification of hybrid architectures that mix LUT-based with conventional arithmetic blocks. These features make LAT-based DNNs practical for real-world deployment, such as at the CERN Large Hadron Collider's experiments.

Keywords

Cite

@article{arxiv.2604.22293,
  title  = {HGQ-LUT: Fast LUT-Aware Training and Efficient Architectures for DNN Inference},
  author = {Chang Sun and Zhiqiang Que and Bakhtiar Zadeh and Qibin Liu and Kevin H. Alvarez and Wayne Luk and Maria Spiropulu},
  journal= {arXiv preprint arXiv:2604.22293},
  year   = {2026}
}
R2 v1 2026-07-01T12:33:27.760Z