KAN (Kolmogorov-Arnold Networks) Explained
Last Updated on June 4, 2024 by Editorial Team
Author(s): Jack Chih-Hsu Lin
Originally published on Towards AI.
A simple and concise summary about KANs.
Every multivariate continuous function can be represented as a superposition of the two-argument addition of continuous functions of one variable.
refrefref
f(x) is a continuous function with n-dimensional input in the interval [0,1].
f(x) can be represented as the combination of two functions, φ (phi) and Φ (uppercase phi).
Inner summation: has n univariate functions φ for each input dimension and each q.
Outer summation: has 2n+1 functions Φ for each q.
Multilayer perceptrons (MLPs)
are hard to interprethave catastrophic forgettingtraining is time-consuming since it has many weightsImage from the paper+—————————–+———————————+——————————–+| Model | MLP | KAN |+—————————–+———————————+——————————–+| Learnable Edges | Linear Weights | Activation functions || Fixed Nodes | Non-linear activation functions | Sum operations || Neural Scaling Laws | Slower | Faster || Interpretability | Lower | Higher || Has Catastrophic Forgetting | Yes due to global activations | N/A due to locality of splines |+—————————–+———————————+——————————–+
By applying Kolmogorov–Arnold Representation Theorem and learnings from MLPs, KANs were developed.
KANs have only trainable non-linear activation functions (parameterized as B-splines) whereas MLPs have trainable weights/biases and fixed activation functions. Each activation function in KAN is an univariate function. The post-activations (i.e., the outputs of activation functions) are simply added together.
Left: a two-layer KAN; Right: an activation function is parameterized as… Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI
Towards AI Academy
We Build Enterprise-Grade AI. We'll Teach You to Master It Too.
15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.
Start free — no commitment:
→ 6-Day Agentic AI Engineering Email Guide — one practical lesson per day
→ Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages
Our courses:
→ AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.
→ Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.
→ AI for Work — Understand, evaluate, and apply AI for complex work tasks.
Note: Article content contains the views of the contributing authors and not Towards AI.