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

Understanding the Limitations of B-Spline KANs: Convergence Dynamics and Computational Efficiency

Avik Pal, Dipankar DasSciForDL @ NeurIPS 2024

TL;DR

Kolmogorov-Arnold Networks (KANs) offer a novel approach to neural network design by learning activation functions on edges. While promising in theory and small-scale tests, this paper reveals that KANs struggle to scale to real-world deep learning tasks, exhibiting higher computational costs, slower convergence, and ultimately underperforming compared to traditional MLPs.

What Problem Does This Paper Address?

The field of deep learning is constantly seeking more efficient and powerful neural network architectures. Kolmogorov-Arnold Networks (KANs) emerged as a potential contender, inspired by the Kolmogorov Representation Theorem, which suggests that complex functions can be represented by compositions of simpler, univariate functions. KANs implement this by placing learnable activation functions on the edges of the network, rather than fixed activations at the nodes as in standard Multi-Layer Perceptrons (MLPs). Early work showed KANs could achieve comparable performance to MLPs with fewer parameters on small, "toy" problems. However, a critical question remained: can KANs effectively scale to the complex, high-dimensional tasks common in modern deep learning, such as computer vision and scientific machine learning? This paper directly addresses this gap by empirically evaluating KANs on these larger-scale, real-world applications.

Methods

The authors conducted a comprehensive empirical analysis comparing KANs and MLPs across various domains. Their methodology involved:

  • Parameter Efficiency Analysis: Quantifying the number of trainable parameters required by KANs versus MLPs for equivalent tasks.
  • Computational Cost Analysis: Examining memory usage (forward and reverse passes) and runtime.
  • Convergence Dynamics Analysis: Investigating how KANs and MLPs converge during training, specifically by analyzing the Hessian eigenvalue spectrum. This method helps understand whether models converge to "sharp" or "flat" minima, which are known to correlate with generalization performance.
  • Task-Specific Evaluations: Testing KANs and MLPs on:
  • Scientific Machine Learning (SciML): Specifically using Neural Ordinary Differential Equations (ODEs) to model dynamical systems.
  • Computer Vision: Integrating KANs into established architectures like MLP-Mixer, Conv-Mixer, and DeiT.
  • Operator Learning: Using Fourier Neural Operators (FNOs).

The study used state-of-the-art MLP models as baselines and employed specific implementations for KANs, including B-Spline KANs and RSWAF KANs.

Datasets

The paper does not explicitly list specific datasets by name for all experiments. However, it mentions the following task domains and implicitly refers to standard benchmarks within them:

  • Scientific Machine Learning: Tasks involving learning dynamical systems, including Lotka-Volterra, Pleiades Problem, FitzHugh-Nagumo, Rigid Body Problem, and Spiral ODE.
  • Computer Vision: CIFAR-10 and CIFAR-100 are explicitly mentioned for classification tasks. MNIST results are mentioned as being similar to CIFAR-10 but not reported for brevity.
  • Operator Learning: Tasks related to learning solutions of Darcy flow.

Key Insights and Ideas

  • The "Toy Problem" Advantage Fades: KANs' claimed parameter efficiency is largely confined to small-scale, "toy" problems. As task complexity increases, KANs often require more parameters than comparable MLPs, negating their primary theoretical advantage.
  • Sharp Minima Problem: KANs exhibit a strong tendency to converge to sharp minima, as indicated by their Hessian eigenvalue spectrum. This is a known detriment to generalization performance, suggesting KANs may struggle to learn robust representations for complex tasks.
  • Computational Bottleneck: KANs incur significantly higher computational costs, both in terms of memory usage and potentially runtime, making them impractical for large-scale deep learning applications. The memory requirements scale unfavorably with input/output dimensions and batch size.
  • MLPs Remain Superior for Practical Tasks: Despite the theoretical elegance of KANs, MLPs consistently outperform them in terms of accuracy and efficiency on the complex tasks evaluated, including computer vision and SciML.

Key Results

  • SciML: For learning dynamical systems with Neural ODEs, MLPs consistently converged to lower final losses than KANs across most problems, with KANs struggling to fit complex systems like the Pleiades and Spiral ODEs.
  • Computer Vision: In image classification tasks (CIFAR-10/100), MLPs outperformed KAN variants (B-Spline and RSWAF) by a significant margin (8-12% accuracy) while using fewer parameters. KANs also showed a tendency to converge to sharper minima in these tasks.
  • Computational Overhead: KANs require substantially more memory than MLPs, with usage scaling much faster. This often rendered training infeasible on standard hardware (e.g., 16GB V100 GPU).
  • Parameter Count: Contrary to initial claims, KANs often required significantly more parameters than equivalent MLPs for complex tasks. For instance, in DeiT models for CIFAR-100, MLPs used fewer parameters while achieving higher accuracy.

Limitations and Future Work

The authors acknowledge a few limitations:

  • Progressive Refinement of the Grid: The paper notes that the original KAN paper's method of progressively refining the grid to improve fitting would prohibitively increase parameter count and memory usage, making fair comparisons to smaller MLPs difficult. This aspect was not explored in their experiments.
  • Higher Order Optimization: For most experiments, standard optimizers were used. They did not explore higher-order optimizers like L-BFGS (except for Neural ODEs), as these do not typically scale well for the large-scale problems that were the focus of their study.

The paper concludes that, for the foreseeable future, MLPs remain the more effective and efficient choice for a broad range of deep learning applications due to the limitations of KANs in terms of computational cost, parameter efficiency, and convergence dynamics on complex tasks.

Summary updated

BibTeX
@inproceedings{pal2024understanding,
  author = {Avik Pal and Dipankar Das},
  title = {{Understanding the Limitations of B-Spline KANs: Convergence Dynamics and Computational Efficiency}},
  booktitle = {SciForDL @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=yPE7S57uei},
}
Figure