Content



About this project

Three misconceptions

Kolmogorov-Arnold network (KAN) is slow

It is exactly the opposite, and many benchmarks confirming this can be found on this site, like prediction of determinants of matrices $4 \times 4$ and $5 \times 5$. KAN implementations are typically 50 to 80 times faster on such tests, compared to well optimized MLP applications specifically designed for fast training.

Kolmogorov-Arnold network is not scalable

It is wrong again and benchmarks for large models, up to 30'000 parameters can be found on this site either.

Kolmogorov-Arnold network was introduced in 2024

It is repeated from one published paper into another, but it is wrong. KAN's birthday is 31 July 2003.

All concepts are published

This site provides user friendlier explanation, codes and benchmarks. All concepts are published in peer reviewed journals.

Discrete Urysohn Operator
Kolmogorov-Arnold Representation
Newton-Kaczmarz Method
Probabilistic Kolmogorov-Arnold Network
Training on Disjoints and FPGA boards
Multivariate Quantile Regression via KAN (new project)

Authors of this site see KAN slightly different from other researchers

Kolmogorov-Arnold network (KAN) is not a representation published in 1957 $$ M(x_1, x_2, x_3, ... , x_n) = \sum_{q=0}^{2n} \Phi_q\left(\sum_{p=1}^{n} \phi_{q,p}(x_{p})\right). $$ Representation is only its particular case $-$ proven minimal form for a scalar target. More generally KAN is a chain of integral equations with 3D kernels introduced by Pavel Urysohn in 1924 $$u(t) = \int_{s_1}^{s_2} F[z(s),s,t]ds, \quad t \in [t_1, t_2]$$ $$z(s) = \int_{x_1}^{x_2} G[y(x),x,s]dx, \quad s \in [s_1, s_2]$$ $$...$$ which maps features $y$ into targets $u$ having hidden layer $z$. The chain may be longer than two layers and target may be a scalar in particular case. The kernels $G$ and $F$ actually build the network. Training process is finding them having set of $y$'s and $u$'s.

Applying quadrature formulas to the above equations transforms them into familiar for most people form. $$ u_i = \sum_{j = 1}^{n} f_{i,j}(z_j), \quad i=1,2,3...m \\ z_i = \sum_{j = 1}^{k} g_{i,j}(y_j), \quad i=1,2,3...n \\ ... $$

Uniqueness of the author's approach

The individual core element of KAN $$ u = \sum_{j = 1}^{n} f_j(z_j), $$ which is a replacement for the neuron, has one counter intuitive property allowing very quick identification of involved functions. The code that provides lightning fast training of only this element, given data $Z$ and $u$, is only 10 lines long. This concept was published by authors in 2020, but was publicly shared long before that.



This algorithm for quick training of a single element lays in the foundation of training of entire KAN. On the reason that authors can't explain this concept is simply ignored, although noticed and cited, but not used. While being surprised by this strange phenomenon, one of the authors demonstrated it under the heading "non-demanded ideas", which did not change anything. It is very natural when authors try to promote their methods, but practically all papers on KAN use either stochastic gradient descent with Adam optimizer or LBFGS, which were introduced a while ago by other people. Why not to use Newton-Kaczmarz which authors found much quicker.

Another strange choice that authors observed in many other researches is usage of splines. Some papers noticed that splines significantly slow down training and suggested different types of basis functions. The authors' approach is not having basis functions at all. Splines are defined by function values. The functions values must be instantiated and passed as parameters to making splines routine, so why not to use these function values directly and train model by moving these randomly initialized points to different positions and use them for any choice of the basis functions when training is over. The site has code which demonstrates switching to different bases while training, preserving already acquired accuracy. Formally this approach is not an absence of basis functions, but making them piecewise linear. Only that makes training at least 10 times quicker than spline version.

These are two main distinctive features which make approach published on this site different from others for this moment in time.

The pictures of contributors

Andrei Kolmogorov, Vladimir Arnold, Pavel Urysohn and Stefan Kaczmarz and last two are Michael Poluektov and Andrew Polar. All research and software development were conducted by the authors during their personal hours outside their job duties.

All claims are verifiable

Stable release KANKAN-11 with the following unit tests.

Most recent KANKAN-14

#BenchmarkTraining setTraining time in sec
1Prediction of determinants of random $4 \times 4$ matrices100,0001.4
2Lengths of medians of random triangles10,0000.05
3Areas of random triangles10,0000.4
4Values of quadraric form with $30 \times 30$ random matrix 50,0001.1
5Areas of faces of random tetrahedrons500,0001.5


The entire implementation is contained in a single class with methods defined inside the class body (324 lines of code).
KANKAN stands for Kolmogorov–Arnold Networks and Kaczmarz–Newton training — a unique signature of this research.

Software license

Trying to be innovative while not being a lawyer, the code author offered new software license for all software provided on the site and corresponding links. It is not clear why standard licenses are so verbose in delivering the simple disclaimer of any responsibility. But technical people must strive for clear and short definitions.

// License
// If the end user somehow manages to make billions of US dollars using this code,
// and happens to meet the developer begging for change outside a McDonald's,
// he or she is under no obligation to buy the developer a sandwich.

// Symmetry Clause
// Likewise, if the developer becomes rich and famous by publishing this code,
// and meets an unfortunate end user who went bankrupt using it,
// the developer is also under no obligation to buy the end user a sandwich.

News

New video lecture with latest research
Contact
Andrew Polar