LOGIQ: Log-Offset Guided Integer Quantization for Hardware-Efficient Inference
Abstract
Learned-step quantization-aware training (QAT), such as learned step size quantization (LSQ), achieves strong low-bit accuracy by learning quantization step sizes, but the learned scales are generally arbitrary real values. During integer inference, this makes the post-accumulate requantization stage depend on a general fixed-point rescaling multiplier, which is costly for multiplier-constrained field-programmable gate array (FPGA) and application-specific integrated circuit (ASIC) datapaths. This letter presents log-offset guided integer quantization (LOGIQ), a training-time method that learns shift-ready quantization scales by attracting step sizes toward powers of two in log2 space. LOGIQ preserves the LSQ-style forward quantizer but modifies the step-size update with an annealed log-domain attraction term. By contracting learned log-scales toward integer exponents late in training, LOGIQ makes the post-accumulate requantization factor shift-realizable. Experiments on CIFAR-10 and ImageNet show that LOGIQ remains close to LSQ in low-bit accuracy while producing substantially more power-of-two-aligned scales. On an Ultra96-V2 FPGA requantization datapath, LOGIQ reduces look-up table (LUT) usage by 39% and critical-path delay by 55% compared with an LSQ-style fixed-point requantizer, with the hardware change confined to the post-accumulate requantization stage.