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

Chang Sun, Zhiqiang Que, Bakhtiar Zadeh, Qibin Liu, Kevin H. Alvarez +2 more
4/24/2026
3 citations
cs.ARcs.LGhep-ex

Official code: calad0i/HGQ2 (29 stars, Python, LGPL-3.0, last commit 2026-10-09).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

calad0i/HGQ2Official100%
LGPL-3.0

High Granularity Quantization v2 [FPGA'26] [FCCM'26, best paper]

2916Python, Jupyter NotebookOct 15, 20241 months agoLGPL-3.0

Similar Papers

Cite this paper

@article{sun2026hgqlut,
  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},
  year   = {2026},
  eprint = {2604.22293},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.22293v1}
}

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/2604.22293.svg)](https://codeofpaper.com/paper/2604.22293)

Discussion