Necessary and sufficient conditions for universality of Kolmogorov-Arnold networks

arXiv cs.LG / 4/28/2026

📰 NewsModels & Research

Key Points

  • The paper studies when Kolmogorov-Arnold Networks (KANs) achieve the universal approximation property by analyzing the universality conditions on their edge functions.
  • It shows that if all edge functions are affine, universality fails, but adding just one non-affine edge function is sufficient: deep KANs are dense in C(K) for every compact K iff the non-affine function σ is non-affine.
  • For KANs with exactly two hidden layers, universality holds if and only if σ is nonpolynomial (a different condition than the deep case).
  • The authors further demonstrate that the complete set of affine functions is unnecessary: it can be replaced by a finite affine family (e.g., five affine functions in the nonpolynomial case for arbitrary depth) without losing universality.
  • They also prove that spline-based edge parameterizations of KANs (from Liu et al., 2024) remain universal even when spline degree and knot sequence are fixed in advance.

Abstract

We analyze the universal approximation property of Kolmogorov-Arnold Networks (KANs) in terms of their edge functions. If these functions are all affine, then universality clearly fails. How many non-affine functions are needed, in addition to affine ones, to ensure universality? We show that a single one suffices. More precisely, we prove that deep KANs in which all edge functions are either affine or equal to a fixed continuous function \sigma are dense in C(K) for every compact set K\subset\mathbb{R}^n if and only if \sigma is non-affine. In contrast, for KANs with exactly two hidden layers, universality holds if and only if \sigma is nonpolynomial. We further show that the full class of affine functions is not required; it can be replaced by a finite set without affecting universality. In particular, in the nonpolynomial case, a fixed family of five affine functions suffices when the depth is arbitrary. More generally, for every continuous non-affine function \sigma, there exists a finite affine family A_\sigma such that deep KANs with edge functions in A_\sigma\cup\{\sigma\} remain universal. We also prove that KANs with the spline-based edge parameterization introduced by Liu et al.~\cite{Liu2024} are universal approximators in the classical sense, even when the spline degree and knot sequence are fixed in advance.