Kolmogorov–Arnold Networks
Learnable functions on edges: the superposition theorem, KANs and how they compare with MLPs.
In 1957 Kolmogorov proved that every continuous function of many variables can be built from continuous functions of one variable and addition alone. For decades the theorem was judged useless for learning, because the one-variable functions it needs are pathological. In 2024, Kolmogorov–Arnold networks revived the idea with smooth, learnable one-variable functions on every edge. What does the theorem say, what do these networks compute, and how do they really compare with MLPs?
What you’ll learn
- State the Kolmogorov–Arnold representation theorem and its refinements, and contrast it with the universal approximation theorem.
- Explain why the theorem's functions made it look irrelevant to learning, and the later readings that partly rehabilitate it.
- Define a KAN layer with B-spline edge functions, derive its parameter count , and show that KAN and MLP layers can express each other.
- Assess the evidence as of the mid-2020s: the KAN approximation theorem and its assumptions, interpretability, speed, and comparisons at matched cost.
Every function from functions of one variable
Hilbert's thirteenth problem (1900) asked, in one reading, whether some continuous functions of three variables cannot be written using continuous functions of two. Arnold answered no in 1957, building on Kolmogorov's work of 1956: every continuous function of three variables is a superposition of continuous functions of two. In the same year Kolmogorov proved something far stronger.
The only genuinely multivariate operation is addition. Read as a network, the theorem has inputs, hidden nodes and one output, shape in the notation used below, with univariate functions on the edges and sums at the nodes. Hecht-Nielsen proposed this reading in 1987; written with fixed activations it becomes a network with two hidden layers. Compare the universal approximation theorem:
| Feature | Universal approximation | Kolmogorov–Arnold |
|---|---|---|
| Statement | approximation to any accuracy | exact representation |
| Size | number of units grows as | fixed: outer and inner functions |
| Building blocks | one fixed simple shape, | one-variable functions, the outer ones tailored to |
| Price | many units | the one-variable functions are rough, as the next step shows |
How many one-variable functions (outer plus inner) appear in the Kolmogorov–Arnold representation of a continuous function of variables?
Show the answer
28
There are outer functions and inner functions : in total. For the count is , still tiny, and that is exactly why something must be hiding in the functions themselves.
Why it was called irrelevant
A representation that is exact for every continuous function with a fixed, small number of pieces cannot be gentle. In the classical constructions the inner functions are continuous and increasing but rough, resembling the Cantor function, and the outer function can vary wildly even when is smooth (Schmidt-Hieber, 2021). Smoothness of is not passed on to the pieces. On these grounds Girosi and Poggio (1989) declared the theorem irrelevant for networks that learn: its functions are not smooth, and the outer ones depend on in a way no parameterized family captures.
Two replies keep the theorem in play:
- An approximate version. Kůrková (1991), "Kolmogorov's theorem is relevant", approximated every one-variable function of the representation arbitrarily well by sums of sigmoidal units, which turns the theorem into a statement about sigmoidal networks with two hidden layers, and derived an upper estimate of the number of hidden units needed.
- A deep reading. Schmidt-Hieber (2021) argued that the representation is better seen as a deep network in which most layers compute the inner function. He derived modified representations that pass the smoothness of on to the outer function, so that deep ReLU networks approximate -smooth functions at the expected rate; the representation does not escape the curse of dimensionality for generic smooth functions, it reorganizes it.
KANs: learnable functions on edges
Liu et al. (2024) generalized the two-layer representation to any width and depth. A Kolmogorov–Arnold network layer from to nodes holds a matrix of learnable one-variable functions , one per edge; nodes only add:
A KAN layer has edges, each with spline coefficients and two scalars . An MLP layer has one weight per edge plus a bias per output:
So at equal widths a KAN has roughly times more parameters, and a depth-, width- KAN has against . Liu et al. argue that KANs need much smaller widths for the same accuracy on structured problems, which is the claim the comparisons below test.
Training uses tricks the parameterization enables. Grid extension refines a trained spline by least-squares fitting a finer grid to it, then keeps training: accuracy increases without starting over. Sparsification adds L1 and entropy penalties on the edge functions' magnitudes so that unneeded edges can be pruned. Finally each surviving edge can be compared with a library of symbolic functions (, , , …) and snapped to the best fit, turning the network into a formula: the interpretability story behind KANs.
A KAN layer maps 10 nodes to 10 nodes with cubic splines () on intervals; each edge has spline coefficients plus the two scalars and . How many parameters does the layer have?
Show the answer
1000
edges , against for an MLP layer of the same widths: about nine times more.
KANs and MLPs are close relatives
A KAN layer is a basis expansion followed by a linear map. Expand the spline part of every edge function, ignoring the SiLU term for clarity:
Each input coordinate is first mapped through fixed functions (given the grid), and the coefficients then form an ordinary linear layer from to . A KAN layer is an MLP layer whose nonlinearity comes before the linear map, as a per-coordinate feature expansion.
An MLP is a KAN of twice the depth. A hidden layer followed by the next linear map is two KAN layers: first edge functions that are affine, then edge functions that are scaled activations:
So expressivity cannot separate the two families. What differs is the parameterization: smooth, local one-variable splines on a grid in KANs, against a dense matrix and one shared fixed nonlinearity in MLPs. That changes the inductive bias (a KAN finds additive and compositional structure in low dimensions easily), what can be read off a trained network (every edge is a curve you can plot), and the cost. A dense matrix product followed by one elementwise function is what accelerators do best; evaluating many different splines is not, and Liu et al. report that their implementation trains about ten times slower than an MLP with the same number of parameters.
Nodes in a KAN only add. How can a KAN of shape compute exactly for all real inputs?
- It cannot: a network that only adds at its nodes cannot multiply
- With inner edges that form and , and outer edge functions and
- With logarithms on the inner edges and an exponential on the outer edge:
- Only with an edge function of two variables
Show the answer
B. With inner edges that form and , and outer edge functions and
. The inner edges are identities with signs, the outer edges are squares: products come from nonlinear one-variable functions of sums, exactly the mechanism of the Kolmogorov–Arnold theorem.
What the evidence says
The rate in does not involve the input dimension, which is the basis of the claim that KANs beat the curse of dimensionality. The catch is the hypothesis: must have a representation by smooth one-variable functions of the given shape, and step 2 showed that generic functions do not. For targets that do, cubic splines give error (halving the grid spacing divides the error by 16), and Liu et al. report test losses that nearly follow this rate on toy problems while MLPs plateau earlier.
| Question | Evidence as of the mid-2020s |
|---|---|
| Small scientific problems | Liu et al. (2024) report better accuracy than MLPs with fewer parameters on fitting special functions, solving PDEs and rediscovering formulas, plus readable symbolic fits |
| Matched parameters and FLOPs | Yu, Yu & Wang (2024) find MLPs better on machine learning, vision, language and audio tasks; KANs win only on representing symbolic formulas |
| Where the advantage comes from | the same study gives MLPs B-spline activations and recovers the symbolic-formula advantage: the basis functions, not the edge-wise architecture, carry it |
| Continual learning | claimed as a KAN strength on a 1-D toy task; in a standard class-incremental setting KANs forgot more than MLPs (Yu, Yu & Wang, 2024) |
| Speed | about slower to train than MLPs with equal parameters in the original implementation; faster variants (other bases, fused kernels) are an active area |
Key takeaways
- Kolmogorov's theorem writes every continuous on exactly as with universal inner functions; unlike universal approximation, it is exact and of fixed size.
- The price is roughness: Cantor-like inner functions and wildly varying outer ones, which is why it was long judged irrelevant to learning; deep and approximate readings partly rehabilitate it.
- A KAN puts a learnable B-spline on every edge and sums at nodes: parameters per layer. KAN and MLP layers can express each other; they differ in inductive bias, readability and hardware cost.
- KANs approximate functions with smooth compositional representations at a dimension-free rate in the grid size and help on small symbolic and scientific problems; at matched cost, MLPs win most other comparisons (as of the mid-2020s).
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
Which statement is true of the Kolmogorov–Arnold theorem but not of the universal approximation theorem?
- It applies only to smooth functions
- It needs more and more units as the required accuracy increases
- Its one-variable functions are smooth whenever is
- It represents every continuous function exactly with a fixed number of one-variable functions, the inner ones independent of
Show the answer
D. It represents every continuous function exactly with a fixed number of one-variable functions, the inner ones independent of
Kolmogorov's theorem is exact, with outer and universal inner functions; the universal approximation theorem is approximate, with width growing as the accuracy demanded grows.
About how many parameters does a KAN layer with inputs and outputs have, using order- B-splines on grid intervals?
- , plus two scalars per edge
Show the answer
B. , plus two scalars per edge
Every edge carries its own spline with coefficients (and the scalars ), and there are edges.
Why did Girosi and Poggio (1989) argue that Kolmogorov's theorem is irrelevant for networks that learn?
- Its one-variable functions are highly non-smooth, and the outer ones depend on in a way no parameterized family captures
- The theorem is false in more than two dimensions
- It requires infinitely many hidden units
- It only covers polynomials
Show the answer
A. Its one-variable functions are highly non-smooth, and the outer ones depend on in a way no parameterized family captures
Learning needs a smooth, parameterized family that can be fitted from data and generalizes. The theorem's exact pieces are rough, so knowing that they exist does not help to learn them.
What did Yu, Yu & Wang (2024) find when comparing KANs and MLPs with matched parameters and FLOPs?
- KANs beat MLPs on every task they tried
- The two were indistinguishable everywhere
- KANs beat MLPs only on symbolic formula representation, and MLPs with B-spline activations closed that gap
- KANs beat MLPs on vision and language, but not on scientific tasks
Show the answer
C. KANs beat MLPs only on symbolic formula representation, and MLPs with B-spline activations closed that gap
MLPs were better on machine learning, vision, language and audio tasks. KANs' one clear win, symbolic formulas, came from the B-spline basis, which an MLP can also use.
Further reading
- A. N. Kolmogorov, "On the representation of continuous functions of many variables by superposition of continuous functions of one variable and addition," Doklady Akademii Nauk SSSR 114 (1957).
- F. Girosi & T. Poggio, "Representation properties of networks: Kolmogorov's theorem is irrelevant," Neural Computation 1 (1989); V. Kůrková, "Kolmogorov's theorem is relevant," Neural Computation 3 (1991).
- J. Schmidt-Hieber, "The Kolmogorov–Arnold representation theorem revisited," Neural Networks 137 (2021).
- Z. Liu, Y. Wang, S. Vaidya, F. Ruehle, J. Halverson, M. Soljačić, T. Y. Hou & M. Tegmark, "KAN: Kolmogorov–Arnold networks," ICLR (2025); arXiv:2404.19756 (2024).
- R. Yu, W. Yu & X. Wang, "KAN or MLP: A fairer comparison," arXiv:2407.16674 (2024).