ExitLUT: Boolean Early Exits for Efficient FPGA-Based Neural Network Inference
Organizations: Department of Electrical and Electronic Engineering, Imperial College London, UK
Abstract
Early exit neural networks reduce average inference cost by terminating once sufficient confidence is reached. On FPGAs, conventional confidence-based exits add arithmetic control paths poorly matched to LUT fabrics, consuming resources that could otherwise support the main datapath. We present ExitLUT, which replaces softmax-style exit decisions with learned Boolean functions mapped directly into FPGA LUTs. In our CNN evaluation, fpgaConvNet is the static spatial-dataflow baseline, while ATHEENA is its softmax-based early exit extension. ExitLUT reduces ATHEENA's exit-decision LUT usage by 2.58 over the softmax path and eliminates decision-path DSP usage, while preserving accuracy and exit behavior. Rerunning design-space exploration reinvests these savings into the datapath, improving throughput by up to 4.08 over fpgaConvNet and 1.82 over ATHEENA. For LUT-based NNs, embedded ExitLUT exits achieve 1.41-1.89 average time-to-decision speedup over static NeuraLUT-Assemble designs with under 1% LUT overhead.
Figures & tables
| Design | LUT | FF | DSP | BRAM-18 | Lim. Res. (%) | Thru. (Samples/s, Gain) |
| fpgaConvNet-1 | 75513* | 61361 | 295 | 55 | 35 | 13513, 1.00 |
| ATHEENA-1 | 68383* | 63170 | 169 | 206 | 31 | 19434, 1.44 |
| ExitLUT-1 | 66419* | 60223 | 157 | 194 | 30 | 19442, 1.44 |
| ExitLUT-opt-1 | 81076* | 71433 | 275 | 198 | 37 | 34722, 2.57 |
| fpgaConvNet-2 | 105451 | 84761 | 470* | 89 | 52 | 21276, 1.00 |
| ATHEENA-2 | 128940* | 117138 | 407 | 239 | 59 | 47583, 2.24 |
| Design | LUT | % | FF | % | DSP | % | BRAM-18 | % |
| ATHEENA-1 | 3205 | 4.7 | 3407 | 5.4 | 12 | 7.1 | 12 | 5.8 |
| ExitLUT-1 | 1241 | 1.9 | 460 | 0.8 | 0 | 0.0 | 0 | 0.0 |
| ExitLUT-opt-1 | 1241 | 1.5 | 460 | 0.6 | 0 | 0.0 | 0 | 0.0 |
| ATHEENA-2 | 3205 | 2.5 | 3407 | 2.9 | 12 | 2.9 | 12 | 5.0 |
| ExitLUT-2 | 1241 | 1.0 | 460 | 0.4 | 0 | 0.0 | 0 | 0.0 |
| ExitLUT-opt-2 | 1241 | 0.9 | 460 | 0.4 | 0 | 0.0 | 0 | 0.0 |
| Network | Top-1 Acc. (%) | (%) | (%) | Per-Sample Routing Agreement (%) |
| fpgaConvNet LeNet | 98.84 | – | – | – |
| ATHEENA B-LeNet | 98.88 | 25.0 | 15.9 | 100.0 |
| ATHEENA-ExitLUT-opt B-LeNet | 98.87 | 25.0 | 15.5 | 96.5 |
| Network (Task) | Toolflow | Lim. | Lim. | (%) | Throughput |
| Res. | Res. (%) | (Samples/s, Gain) | |||
| Triple Wins [ 31 ] | fpgaConvNet | DSP | 86 | — | 19524, 1.00 |
| (MNIST [ 32 ] ) | ATHEENA | DSP | 81 | 25 | 54220, 2.78 |
| ExitLUT-opt | DSP | 88 | 25 | 72128, 3.69 | |
| B-AlexNet [ 3 ] | fpgaConvNet | DSP | 84 | — | 8676, 1.00 |
| (CIFAR-10 [ 33 ] ) | ATHEENA | DSP | 88 | 34 | 17357, 2.00 |
| Dataset | II | ||||||||||||
| MNIST | 0 | 6 | 6 | 2 | 64 | 2 | 0.85 | 1 | |||||
| JSC CERNBox | 0 | 2 | 8 | 2 | 64 | 2 | 0.85 | 1 | |||||
| JSC OpenML | 0 | 2 | 8 | 2 | 64 | 2 | 0.85 | 1 |
| Dataset | Metric | Static | ExitLUT | |||
| S/E | ||||||
| P1: pipeline every L-LUT layer | ||||||
| MNIST | 916/927 | Acc. (%) | 97.80 | 97.79 | 97.71 | 97.51 |
| Lat. (ns) | 6.55 | 4.26 | 2.82 | 2.27 | ||
| JSC OpenML | 1202/1214 | Acc. (%) | 75.87 | 75.87 | 75.77 | 75.55 |
| Lat. (ns) | 5.82 | 4.04 | 3.32 | 2.64 | ||
| Dataset | Model | Acc. (%) | LUTs | Freq. (MHz) | Lat. (ns) | ADP |
| MNIST | NLA-ExitLUT | 97.8 | 5107 | 887 | 1.5 | 7.64e3 |
| NLA-Softmax | 97.8 | 6502 | 880 | 4.9 | 3.19e4 | |
| NLA [ 15 ] | 97.9 | 5070 | 863 | 2.1 | 1.06e4 | |
| TreeLUT [ 16 ] | 96.6 | 4478 | 791 | 2.5 | 1.12e4 | |
| DWN [ 18 ] | 97.8 | 2092 | 873 | 9.2 | 1.92e4 | |
| JSC OpenML | NLA-ExitLUT | 75.9 | 1780 | 1147 | 1.5 | 2.68e3 |
Efficient Neural Network Inference
Efficient neural network inference reduces the time, memory, and energy needed to run trained models across hardware and deployment settings.
See all 517 papers