Papers
Topics
Authors
Recent
Search
2000 character limit reached

Piecewise Polynomial LUT Networks (PolyLUT)

Updated 5 February 2026
  • Piecewise Polynomial LUTNs (PolyLUT) are neural architectures that compute multivariate polynomial maps over quantized inputs using LUTs, enabling efficient FPGA implementations.
  • They employ degree-D polynomial expansions to transform inputs into lookup table evaluations, yielding ultra-low latency and enhanced area efficiency compared to traditional DNNs.
  • PolyLUT-Add extends this concept by partitioning inputs into groups and summing sub-neuron outputs, reducing exponential LUT size to near-linear scaling through efficient adder networks.

Piecewise Polynomial LUT Networks (PolyLUT) and their combinatorial extension PolyLUT-Add represent a class of neural architectures in which each neuron computes a multivariate polynomial over quantized inputs, with the entire mapping efficiently implemented as lookup tables (LUTs) on digital hardware such as FPGAs. This approach exploits the functional expressiveness and computational regularity of polynomials to achieve ultra-low latency and high area efficiency, overcoming core limitations of conventional linear or ReLU-based DNNs deployed via LUTs.

1. Mathematical Foundations and Neuronal Mapping

A PolyLUT neuron maps FF quantized inputs to an output by evaluating a degree-DD polynomial expansion. Each input xfx_f is quantized to β\beta bits, yielding x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F. The full monomial basis up to degree DD spans

M=(F+DD)M = \binom{F+D}{D}

possible terms mi(x)m_i(x), comprising both pure and mixed powers up to the total degree constraint. The neuron output is

y=σ(∑i=0M−1wimi(x)+b)y = \sigma\left( \sum_{i=0}^{M-1} w_i m_i(x) + b \right)

where the wiw_i and DD0 are learned parameters, and DD1 is a quantized nonlinearity (commonly 1–2 bits). For hardware realization, the full polynomial mapping—post-activation—is tabulated as a function of its DD2-bit input word, forming a truth table of size DD3. This formulation yields an intrinsically piecewise-polynomial input–output behavior, with partitioning induced by quantized domains and activation boundaries (Lou et al., 2024, Andronic et al., 2023, Andronic et al., 14 Jan 2025).

2. PolyLUT-Add: Compositional Fan-in Scaling

PolyLUT-Add extends PolyLUT by dramatically increasing effective fan-in without prohibitive resource scaling. Given DD4 total inputs, the input set is partitioned into DD5 groups DD6, each with DD7 elements. Each group is processed by an independent sub-neuron DD8, each realizing a standard PolyLUT mapping over its subset:

DD9

Each xfx_f0 emits a xfx_f1-bit output. The overall neuron output is the sum of all sub-neuron outputs, optionally batch-normalized and quantized:

xfx_f2

This structure replaces a single exponential-size LUT of xfx_f3 entries (impractical for large xfx_f4) with xfx_f5 PolyLUT sub-tables of size xfx_f6 and a small adder-LUT of xfx_f7, reducing LUT resource requirement from exponential to near-linear in xfx_f8 for fixed xfx_f9 (Lou et al., 2024).

3. Hardware Architecture and Dataflow

PolyLUT and PolyLUT-Add are mapped to FPGA architectures as layered networks of logical LUTs ("L-LUTs"), where each neuron or sub-neuron is a small LUT cluster evaluated in parallel. The principal components are:

  • Poly-layer: β\beta0 clusters, each a PolyLUT sub-LUT operating in parallel, outputting independent partial results every clock cycle.
  • Adder-layer: An β\beta1-input summing network (either a small LUT or an associative adder tree) accumulates the partial results. The output is subsequently batch-normalized and quantized.
  • Pipelining: Dual-stage or single-stage register placement is chosen according to clock frequency and throughput targets.

PolyLUT-Add's compositional structure and resource-conscious partitioning enable scaling to higher total fan-in without incurring exponential table growth. Decomposition to 6-LUT primitives with logic minimization (e.g., Vivado) is standard to fit within modern FPGA fabrics (Lou et al., 2024, Andronic et al., 14 Jan 2025).

4. Resource Scaling and Optimization Trade-offs

The central resource constraint arises from the exponential LUT size scaling with fan-in. For a PolyLUT neuron with fan-in β\beta2 and input quantization β\beta3, the required LUT entries are β\beta4. PolyLUT-Add shifts this to β\beta5. This is substantially more tractable for moderate β\beta6 (e.g., β\beta7 yields a β\beta8 reduction compared to a single large LUT of the equivalent total fan-in). Selecting β\beta9 to keep sub-table sizes practical (typically a few thousand entries), then growing x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F0 to increase accuracy, is the prevailing configuration strategy.

Degree x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F1 controls monomial count per sub-neuron as x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F2. Smaller values of x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F3 and x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F4 reduce both parameter and LUT cost. After training, it is standard to retune x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F5 or x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F6 downward, leveraging the higher effective connectivity via x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F7 for accuracy recovery (Lou et al., 2024, Andronic et al., 14 Jan 2025).

Hyperparameter guidelines emphasize x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F8 such that x=(x0,...,xF−1)∈{0,1,...,2β−1}Fx = (x_0, ..., x_{F-1}) \in \{0,1,...,2^{\beta}-1\}^F9–14, and DD0 for optimal accuracy-to-complexity trade-off. Structured sparsity regularizers are imposed during training to ensure learned polynomial FAN-in matches hardware resource budgets (Andronic et al., 14 Jan 2025).

5. Empirical Benchmarks and Comparative Analysis

Comprehensive experimental validation has demonstrated PolyLUT and PolyLUT-Add's performance in terms of inference accuracy, area (FPGA LUT count), and latency. Key results include:

Dataset Model (PolyLUT-Add / PolyLUT) Acc (%) LUTs Latency (ns) Reduction vs PolyLUT
MNIST Add2, D=3 / D=4 96.0 15,272 / 70,673 7 / 16 4.6× LUT, 2.3× latency
JetSub XL Add2, D=3 / D=4 75.0 47,639 / 236,541 13 / 21 5.0× LUT, 1.6× latency
JetSub Lite Add2, D=3 / D=6 72.0 1,618 / 12,436 4 / 5 7.7× LUT, 1.2× latency
UNSW-NB15 Add2, D=1 / D=4 92.0 2,591 / 3,336 8 / 9 1.3× LUT, 1.2× latency

These reductions are achieved without compromising target accuracy. On jet classification, for example, PolyLUT–Add reduces both LUT area and latency by factors of DD1–DD2 compared to conventional PolyLUT. Across all benchmarks, PolyLUT networks outperform classic linear/LUT designs in both area and speed—e.g., on MNIST, PolyLUT-Add achieves DD3 accuracy with DD4 fewer LUTs and DD5 decreased latency. These results are consistent across multiple architectures and datasets (Lou et al., 2024, Andronic et al., 2023, Andronic et al., 14 Jan 2025).

6. Piecewise Polynomial Networks: Sparsity and Function Approximation

The use of piecewise polynomials for learning has theoretical and practical advantages. Each mapping segment (sub-LUT) implements a compact polynomial on a quantized hypercube subset of inputs, providing locality and functional sparsity. Only the active subregion for a given input is evaluated, preserving computational regularity and minimizing logic switching. Experiments have demonstrated that moving from piecewise-linear (DD6) to quadratic (DD7), or higher-order, yields substantial accuracy improvements, with diminishing returns beyond DD8 (Loverich, 2015).

Structured hardware-aware regularization—such as group sparsity-penalties and pruning protocols—enables the practical realization of complex polynomial mappings in FPGA LUT fabrics. This co-design of function class, quantization, and LUT mapping facilitates closed-form guarantees on resource utilization and evaluation latency (Andronic et al., 14 Jan 2025, Andronic et al., 2023, Orloski et al., 2022).

7. Design Space Exploration and Hardware Retargeting

The design space of PolyLUT-based approximations is systematically enumerated by balancing polynomial degree (DD9) and number of quantization regions (M=(F+DD)M = \binom{F+D}{D}0), subject to a uniform error bound M=(F+DD)M = \binom{F+D}{D}1. Established methods provide enumeration algorithms for all feasible M=(F+DD)M = \binom{F+D}{D}2 that can achieve M=(F+DD)M = \binom{F+D}{D}3, given memory and logic constraints. Closed-form Taylor or minimax bounds relate the maximum segment width M=(F+DD)M = \binom{F+D}{D}4 and required number of regions as a function of M=(F+DD)M = \binom{F+D}{D}5. The selection of M=(F+DD)M = \binom{F+D}{D}6 for resource-efficient hardware is handled via linear cost models that are easily retargeted to FPGA, ASIC, or emerging compute substrates by modifying per-unit memory and logic cost coefficients (Orloski et al., 2022).

A simple two-variable optimization yields Pareto-optimal designs for the desired error metric and area/latency characteristics, ensuring efficient mapping across various hardware platforms.


References:

(Lou et al., 2024, Andronic et al., 14 Jan 2025, Andronic et al., 2023, Loverich, 2015, Orloski et al., 2022)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Piecewise Polynomial LUTNs (PolyLUT).