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

Want to train KANS at scale? Now UKAN!

Alireza Moradzadeh, Srimukh Prasad Veccham, Lukasz Wawrzyniak, Miles Macklin, Saee Gopal Paliwal

TL;DR

This paper introduces Unbounded Kolmogorov-Arnold Networks (UKANs), a novel neural network architecture that overcomes the scalability and domain limitations of traditional Kolmogorov-Arnold Networks (KANs) by removing the need for fixed, bounded grids. Coupled with an efficient GPU implementation (warpKAN), UKANs achieve significant speedups and memory reductions, enabling large-scale training for complex tasks.

What Problem Does This Paper Address?

Kolmogorov-Arnold Networks (KANs) have emerged as a promising alternative to standard Multilayer Perceptrons (MLPs), offering potential advantages in interpretability and scientific applications. However, a key limitation of KANs is their reliance on predefined, bounded grids for B-spline basis functions. This constraint restricts their ability to approximate functions over unbounded domains and hinders their scalability due to the computational and memory overhead associated with managing these grids, especially during training. The paper aims to address these issues by developing a more scalable and flexible KAN architecture.

Methods

The core innovation is the Unbounded Kolmogorov-Arnold Network (UKAN). Instead of fixed grids, UKANs employ a coefficient-generator (CG) model, which is a small MLP. This CG model dynamically produces the necessary B-spline coefficients on the fly for an unbounded, symmetric grid. To achieve this, UKANs incorporate positional encodings of grid groups, allowing them to approximate functions without requiring data normalization.

To tackle the computational and memory inefficiencies of KANs, the authors developed warpKAN, a GPU-accelerated library. warpKAN optimizes B-spline evaluation by leveraging local matrix representations and efficient memory management, similar to techniques like FlashAttention. This library significantly reduces the complexity of B-spline evaluation, leading to substantial speedups and memory savings.

Datasets

The paper evaluates UKANs and warpKAN on a variety of tasks and datasets:

  • Regression: Three synthetic functions were used, including a high-dimensional one.
  • Classification: Moon and MNIST datasets were used.
  • Approximation: The logistic growth model for physics-informed neural networks (PINNs).
  • Generation: A synthetic 2D circle dataset for Denoising Diffusion Probabilistic Models (DDPMs).
  • Molecular Property Prediction: Four datasets from Fang et al. (2023) were used, along with the MoleculeNet benchmark datasets (BACE, ClinTox, Tox21, SIDER, HIV, MUV, BBBP).

Key Insights and Ideas

  • Unbounded Domains are Crucial: The ability to handle unbounded domains without data normalization is a significant step towards making KANs more practical for a wider range of real-world problems.
  • Dynamic Coefficient Generation is Efficient: Using a small CG-MLP to generate B-spline coefficients dynamically is more efficient than pre-computing and storing them for large, fixed grids.
  • GPU Acceleration is Key to Scalability: The warpKAN library demonstrates that careful GPU optimization can unlock the potential of spline-based networks, making them competitive with or superior to traditional MLPs in terms of speed and memory.
  • UKANs Match/Surpass KANs: Despite the added complexity of the CG model, UKANs achieve comparable or better accuracy than standard KANs across various tasks, suggesting the MLP component in KANs might sometimes hinder performance.

Key Results

  • Speedup and Memory Reduction: warpKAN offers a 3x to 30x speed-up and up to 1000x memory reduction compared to vanilla KAN implementations.
  • Scalability: warpKAN can handle grid sizes up to $2^{18}$, whereas the original PyTorch implementation runs out of memory for grids $\ge 256$.
  • Accuracy: UKANs consistently match or surpass KANs in accuracy across regression, classification, and molecular property prediction tasks. For example, on the Moon dataset, UKAN achieved near 100% accuracy. In molecular property prediction, UKANs showed superior or comparable performance to KANs.
  • PINNs: UKANs and KANs achieved very low MSEs (on the order of $10^{-5}$ to $10^{-6}$) when applied to solving the logistic growth model in PINNs.
  • DDPMs: UKANs and KANs significantly outperformed MLPs in terms of Wasserstein distance and sample quality for generative tasks.

Limitations and Future Work

  • Computational Cost of CG: While UKANs are more scalable, the CG model itself adds computational cost. The authors mention ongoing work on fusing the CG MLP with spline evaluation in a single kernel to further optimize this.
  • Theoretical Understanding: The paper suggests a need for a deeper theory of approximation on unbounded domains for UKANs.
  • Multi-GPU Training: The authors see promising directions in multi-GPU training for even larger-scale applications.
  • Adaptive Knot Policies: Exploring adaptive knot policies could further enhance the flexibility and performance of UKANs.

Summary updated

BibTeX
@inproceedings{moradzadeh2026want,
  author = {Alireza Moradzadeh and Srimukh Prasad Veccham and Lukasz Wawrzyniak and Miles Macklin and Saee Gopal Paliwal},
  title = {{Want to train KANS at scale? Now UKAN!}},
  booktitle = {FM4Science @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=1yQZ6yhvHf},
}
Figure