🤖 AI Summary
The hardware overhead of thermometer encoding (TE) in differential weightless neural network (DWN) accelerators on FPGAs has remained unquantified, hindering accurate resource estimation and optimization. Method: This work introduces the first explicit analytical model of TE overhead and integrates it into the DWN hardware generation flow, enabling systematic logic-resource analysis of TE. Contribution/Results: Experiments reveal that TE dominates resource consumption in small-scale DWNs, increasing LUT utilization by up to 3.20×—identifying it as a critical bottleneck. By enabling encoding-aware co-design, this study fills a key gap in modeling and evaluating encoding overhead in practical DWN deployment, providing the first quantitative foundation for joint optimization of TE and compute units. Validation on the Jet Substructure Classification benchmark confirms the model’s accuracy and practical relevance.
📝 Abstract
Fully parallel neural network accelerators on field-programmable gate arrays (FPGAs) offer high throughput for latency-critical applications but face hardware resource constraints. Weightless neural networks (WNNs) efficiently replace arithmetic with logic-based inference. Differential weightless neural networks (DWN) further optimize resource usage by learning connections between encoders and LUT layers via gradient-based training. However, DWNs rely on thermometer encoding, and the associated hardware cost has not been fully evaluated. We present a DWN hardware generator that includes thermometer encoding explicitly. Experiments on the Jet Substructure Classification (JSC) task show that encoding can increase LUT usage by up to 3.20$ imes$, dominating costs in small networks and highlighting the need for encoding-aware hardware design in DWN accelerators.