NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Ultrafast On-Chip Online Learning via Spline Locality in Kolmogorov–Arnold Networks

Duc Hoang, Aarush Gupta, Philip Harris

Introduction: The Need for Sub-Microsecond Adaptation

In cutting-edge fields like quantum computing, plasma diagnostics for nuclear fusion, and high-speed communications, system dynamics change so rapidly that AI models must adapt on sub-microsecond timescales. Traditional "offline" training paradigms are fundamentally incompatible with these requirements. Moving data between a host CPU and a GPU accelerator over PCIe introduces millisecond-scale delays, which is orders of magnitude too slow for high-frequency control.

To bridge this gap, training must occur "on-chip"—directly on the hardware controlling the system, such as Field-Programmable Gate Arrays (FPGAs). However, standard Multi-Layer Perceptrons (MLPs) struggle in this low-latency, resource-constrained regime. Their backpropagation process is computationally dense. Furthermore, when forced into the fixed-point arithmetic required by low-power hardware, MLPs frequently become numerically unstable or suffer from "catastrophic forgetting," where new updates overwrite and destroy previously learned information.

The Kolmogorov-Arnold Network (KAN) Solution

To overcome the limitations of MLPs, this research pivots to Kolmogorov-Arnold Networks (KANs). Unlike MLPs, which rely on fixed activation functions at the neurons and learnable weights on the connecting edges, KANs utilize learnable univariate spline functions directly on the edges.

The core technical breakthrough of this work lies in exploiting B-spline Locality:

  • Sparse Updates: For any given input, a B-spline of order $S$ activates only $S+1$ local coefficients. While an MLP update requires modifying every weight in a dense layer, a KAN update only alters a tiny, localized fraction of the parameters. This naturally resists the interference and catastrophic forgetting that plagues MLPs.
  • Decoupled Capacity and Latency: In a traditional MLP, increasing the model's capacity requires adding layers or neurons, directly increasing computational latency. In a KAN, the model's "intelligence" can be scaled by increasing the grid resolution ($G$) without increasing the number of calculations per sample. It requires more memory, but not more math.
  • Inherent Quantization Robustness: KAN activations are convex combinations of learned coefficients. Consequently, the outputs are mathematically bounded by the range of the coefficients themselves. This makes KANs exceptionally stable compared to MLPs when operating under the limited-bit (fixed-point) arithmetic necessary for FPGAs.

Hardware Implementation and Benchmarks

The authors developed custom FPGA kernels using Vitis High-Level Synthesis (HLS). These kernels execute both forward inference and backward gradient updates within a single streaming pipeline using fixed-point arithmetic.

The KAN-based learner was evaluated across four distinct benchmarks designed to simulate real-world "drifting" environments:

  1. Adaptive Function Approximation: A regression task where the target function shifts abruptly at specific time steps.
  2. Single-Shot Qubit Readout: A classification task simulating quantum state measurement with non-linear "Kerr-type" distortion.
  3. Non-stationary Acrobot Control: A Reinforcement Learning (RL) scenario where the physical properties (mass and length) of a robotic arm change per episode.
  4. MNIST Digit Classification with Angular Drift: A scalability test featuring continuously rotating images to evaluate adaptation speed.

Key Results

The empirical results demonstrate that KANs significantly outperform MLPs in on-chip online learning:

  • Sub-Microsecond Latency: The custom KAN implementation achieved combined forward and backward update latencies as low as 50ns to 140ns on an AMD Virtex UltraScale+ FPGA. This represents a 3- to 4-order-of-magnitude speedup over typical host-accelerator loops.
  • Superior Accuracy and Stability: On the qubit readout task, the KAN maintained ~93% accuracy under fixed-point constraints. In contrast, a parameter-matched MLP collapsed to ~50% (equivalent to random guessing).
  • Resource Efficiency: KANs required drastically fewer hardware resources (Digital Signal Processors and Look-Up Tables) to achieve parity with MLPs. For the Acrobot RL task, an MLP required approximately 120x more parameters to match the stability of a compact KAN.

Limitations and Future Directions

While groundbreaking, the current implementation has a few limitations that pave the way for future research:

  • Optimizer Complexity: The current architecture relies on simple Stochastic Gradient Descent (SGD). Implementing advanced optimizers like Adam on-chip is challenging due to the memory and logic overhead required to track momentum states.
  • Batching Constraints: The system is optimized for "batch-size-one" streaming. While ideal for ultra-low-latency real-time control, certain applications might benefit from small-window gradient accumulation to smooth convergence.
  • Static Spline Order: The study utilized a constant spline order ($S$). Future iterations could explore dynamically adjusting the spline order to optimize representational power for highly complex tasks.

Ultimately, this paper provides a compelling blueprint for the next generation of "living" hardware—intelligent controllers capable of learning and adapting to their environments in real-time at sub-microsecond speeds.

Summary updated

BibTeX
@inproceedings{hoang2026ultrafast,
  author = {Duc Hoang and Aarush Gupta and Philip Harris},
  title = {{Ultrafast On-Chip Online Learning via Spline Locality in Kolmogorov–Arnold Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=GxrcJUT5A0},
}
Figure