A Dynamic Framework for Grid Adaptation in Kolmogorov-Arnold Networks
Spyros Rigas, Thanasis Papaioannou, Panagiotis Trakadas, Georgios Alexandridis
TL;DR
This work reframes knot allocation in Kolmogorov--Arnol'd Networks as a density estimation problem using Importance Density Functions, extending beyond traditional input-density heuristics. It introduces a curvature-based IDF that concentrates knots in regions of high geometric complexity, implemented via $w^{(s)}_{\text{curv}}$ and the inverse-CDF knot placement $t_m = \hat{F}_d^{-1}(q_m)$. Empirical results across synthetic functions, a Feynman dataset subset, and Helmholtz PDEs show substantial relative error reductions (up to $34\%$ in some cases) and improved training stability, with Wilcoxon tests confirming statistical significance in multiple benchmarks. The approach remains computationally efficient and scalable, offering a principled path toward training-dynamics driven grid refinement in scientific machine learning tasks.
Abstract
Kolmogorov-Arnold Networks (KANs) have recently demonstrated promising potential in scientific machine learning, partly due to their capacity for grid adaptation during training. However, existing adaptation strategies rely solely on input data density, failing to account for the geometric complexity of the target function or metrics calculated during network training. In this work, we propose a generalized framework that treats knot allocation as a density estimation task governed by Importance Density Functions (IDFs), allowing training dynamics to determine grid resolution. We introduce a curvature-based adaptation strategy and evaluate it across synthetic function fitting, regression on a subset of the Feynman dataset and different instances of the Helmholtz PDE, demonstrating that it significantly outperforms the standard input-based baseline. Specifically, our method yields average relative error reductions of 25.3% on synthetic functions, 9.4% on the Feynman dataset, and 23.3% on the PDE benchmark. Statistical significance is confirmed via Wilcoxon signed-rank tests, establishing curvature-based adaptation as a robust and computationally efficient alternative for KAN training.
