Ultrafast machine learning on FPGAs via Kolmogorov-Arnold Networks

255 points · 36 comments on HN · read original →

Points and comments are a snapshot, not live.

KANs on FPGAs enable nanosecond-latency neural network inference and sub-microsecond online learning on specialized hardware.

Kolmogorov-Arnold Networks (KANs) replace fixed activation functions with learnable univariate functions, mapping naturally to lookup tables on FPGAs. The work presents two contributions: KANELÉ for efficient LUT-based inference achieving 2700x speedup over prior KAN-FPGA implementations, and ECLAIR for real-time gradient-based learning at sub-microsecond latencies on FPGAs. KANs avoid exponential scaling of multivariate functions and exploit B-spline locality, where only a subset of basis functions are active for any input. B-splines also guarantee bounded activations and gradients, enabling stable fixed-point quantization during training without wide value ranges.

The approach stores B-spline basis functions in LUTs during training and learned activations during inference. Hardware scales with the number of basis functions (G+S), not their dimensionality. Benchmarks show KAN-based learners support 50,000+ parameters with near-constant resource usage as scale increases, outperforming MLPs on function approximation, qubit readout, and control tasks.

What commenters are saying

Commenters noted the narrow applicability: extreme latency requirements limit use cases to high-energy physics, quantum computing, plasma control, and high-frequency trading. One engineer described real sub-100-parameter deployments in touchpad drivers and image processing. The work cannot accelerate LLM inference (three orders of magnitude too large). Discussion of interpretability versus expressivity arose: KANs offer higher per-layer expressivity than MLPs, but GPU implementations underutilize B-spline structure, offsetting gains. The author works at Jane Street and clarified that low precision is a hardware efficiency tradeoff, not a claimed advantage.