FlashKAN Accelerates KANs with Truncated Power Form, Improves Performance.

Naveen Mysore· September 3, 2026 View original

Key takeaways

  • FlashKAN dramatically speeds up KANs by optimizing B-spline evaluation.
  • It replaces slow recursion with a single, fused GPU kernel.
  • The package is open-source and a drop-in replacement for KAN layers.
  • This makes KANs more practical for real-world applications and research.

Who benefits

AI/ML DevelopmentResearch & AcademiaHigh-Performance ComputingData Science

Summary

FlashKAN significantly speeds up Kolmogorov-Arnold Networks (KANs) by replacing the slow Cox-de Boor recursion with a torch.compile-fused truncated power form for B-spline evaluation. This new implementation eliminates recursion and offers a production-ready, open-source package.

Kolmogorov-Arnold Networks (KANs) are a promising alternative to traditional neural networks, using learnable B-spline activations on network edges. However, their primary bottleneck has been the slow Cox-de Boor recursion, which accounts for over 90% of the forward-pass time when evaluating these B-spline activations. FlashKAN addresses this by leveraging the classical truncated power form, which expresses uniform cubic B-splines as a sum of five shifted terms. This allows for a torch.compile-fused implementation that collapses all recursive, span lookup, and scatter-gather operations into a single, highly efficient GPU kernel. The project also introduces bounded-coordinate stabilization to prevent catastrophic cancellation, a historical reason for using the Cox-de Boor recursion. FlashKAN is released as a production-ready, open-source package, serving as a direct drop-in replacement for existing KAN layers, making KANs much more practical for real-world applications.

Why it matters

AI engineers and researchers can now deploy KANs with significantly improved performance, making this promising neural network architecture more viable for production environments and accelerating research into its capabilities.

How to implement this in your domain

  1. 1Install the `flashkan` package as a drop-in replacement for existing KAN layers in PyTorch projects.
  2. 2Benchmark the performance gains of FlashKAN against traditional KAN implementations in your models.
  3. 3Explore using KANs with FlashKAN for tasks where interpretability and accuracy are critical.
  4. 4Contribute to the open-source development or provide feedback on its performance in diverse settings.

Original post by Naveen Mysore

"arXiv:2609.01956v1 Announce Type: new 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…"

View on X

Originally posted by Naveen Mysore on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses