FlashKAN: B-Spline KANs via Truncated Power Form
Naveen Mysore
Key points
From the paper's conclusion- FlashKAN replaces this recursion with the truncated power form, a classical result from approximation theory that expresses each uniform cubic B-spline as five (x)_+^3 terms at shifted knot positions.
Abstract
Kolmogorov-Arnold Networks (KANs) place learnable B-spline activations on network edges rather than fixed activations on nodes. The standard Cox-de Boor recursion evaluates these activations through k sequential passes for degree-k splines, consuming over 90% of forward-pass time. FlashKAN replaces this recursion with the truncated power form, a classical result from approximation theory that expresses each uniform cubic B-spline as five (x)_+^3 terms at shifted knot positions. This paper makes three contributions: (1) a torch.compile-fused implementation that collapses these operations into a single GPU kernel, eliminating all recursion, span lookup, and scatter-gather operations; (2) a bounded-coordinate stabilization that clamps the normalized input to [0, k+1], preventing the catastrophic cancellation that historically motivated the Cox-de Boor recursion; and (3) a production-ready, open-source package (pip install flashkan) that serves as a drop-in replacement for existing KAN layers.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- InKAN: B-Spline KANs via Truncated Power FormarXiv · 2026
- A practitioner’s guide to Kolmogorov–Arnold networksComputer Science Review · 2026
- RecKAN: Kolmogorov-Arnold Networks with a Learnable Recursive Polynomial BasisarXiv · 2026
- KANLab: TensorFlow Playground for Kolmogorov-Arnold NetworksarXiv · 2026
- TorchCurves: Differentiable Parametric CurvesarXiv · 2026
- Kolmogorov-Arnold Networks: Curse of Dimensionality and Structural BiasarXiv · 2026