Skip to main content
QUICK REVIEW

[Paper Review] Kolmogorov-Arnold Networks are Radial Basis Function Networks

Ziyao Li|arXiv (Cornell University)|May 10, 2024
Neural Networks and ApplicationsComputer Science38 citations
TL;DR

The paper shows that 3-order B-spline bases in Kolmogorov-Arnold Networks (KANs) can be well approximated by Gaussian radial basis functions, enabling a faster implementation (FastKAN) with RBF networks while preserving accuracy.

ABSTRACT

This short paper is a fast proof-of-concept that the 3-order B-splines used in Kolmogorov-Arnold Networks (KANs) can be well approximated by Gaussian radial basis functions. Doing so leads to FastKAN, a much faster implementation of KAN which is also a radial basis function (RBF) network.

Motivation & Objective

  • Motivate and simplify KANs by representing their spline-based basis with Gaussian RBFs.
  • Develop FastKAN to speed up forward and backward computations.
  • Demonstrate that the RBF-based FastKAN maintains comparable accuracy to KAN.
  • Provide empirical evidence on speed and accuracy improvements.
  • Offer practical guidance and code for implementation.

Proposed method

  • Repurpose the 3-order B-spline basis in KANs as Gaussian RBFs through a linear transformation.
  • Use layer normalization to keep inputs within the RBF domain during training.
  • Replace de Boor–Cox spline basis computations with Gaussian RBF computations for efficiency.
  • Benchmark forward and backward pass speed against an existing efficient_kan implementation on NVIDIA V100 GPUs.
  • Evaluate model accuracy on MNIST to show equivalence or superiority of FastKAN.
  • Provide code at github.com/ZiyaoLi/fast-kan.
Figure 1: Under proper linear transformations, Gaussian RBFs well approximate 3-order B-spline bases with good precision.
Figure 1: Under proper linear transformations, Gaussian RBFs well approximate 3-order B-spline bases with good precision.

Experimental results

Research questions

  • RQ1Can 3-order B-spline bases in KANs be accurately approximated by Gaussian RBFs?
  • RQ2Does replacing B-splines with Gaussian RBFs in KANs yield a faster implementation without loss of accuracy?
  • RQ3How does FastKAN compare to an efficient_kan baseline in forward and backward pass times?
  • RQ4Is the FastKAN approach effective in practice for standard benchmarks (e.g., MNIST)?

Key findings

  • FastKAN accelerates forward computation by a factor of 3.33x over efficient_kan in the tested setup.
  • Forward-only and backward-inclusive timings show FastKAN remains faster than the baseline (Fwd. 223 μs vs 742 μs; Fwd. + Bwd. 925 μs vs 1160 μs).
  • FastKAN achieves equivalent or better accuracy compared to KAN on MNIST training.
  • The approximation of 3-order B-splines by Gaussian RBFs enables a simpler, efficient implementation without compromising performance.
  • Layer normalization helps maintain inputs within the RBF domain during training.
Figure 2: Curves of validation accuracy along training on MNIST.
Figure 2: Curves of validation accuracy along training on MNIST.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.