{
  "source_file": "0930",
  "source_platform": "Medium",
  "author": "Hesam Sheikh",
  "title_listed": "Understanding Kolmogorov-Arnold Networks (KAN)",
  "keywords": "",
  "domain": "大模型算法",
  "content_type": "深度技术解析",
  "is_paid_flag": "否",
  "url": "https://towardsdatascience.com/kolmogorov-arnold-networks-kan-e317b1b4d075/",
  "publish_date": "2024-05-07",
  "corpus_stage": "",
  "notes": "",
  "id": "918a17c094d3",
  "collected_at": "2026-10-02T06:36:12",
  "title": "Understanding Kolmogorov-Arnold Networks (KAN) | Towards Data Science",
  "body_markdown": "![Revisit consent button](../images/body-df29beacd7496220cc94.svg)\nWe value your privacy\nWe use cookies to enhance your browsing experience, serve personalised ads or content, and analyse our traffic. By clicking \"Accept All\", you consent to our use of cookies.\nCustomise Reject All Accept All\nCustomise Consent Preferences ![](../images/body-2159bb67f3de8ad870eb.svg)\nWe use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.\nThe cookies that are categorised as \"Necessary\" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... Show more\nNecessaryAlways Active\nNecessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.\n  * Cookie\nBCTempID\n  * Duration\n10 minutes\n  * Description\nNo description available.\n\n\n  * Cookie\n__cf_bm\n  * Duration\n1 hour\n  * Description\nThis cookie, set by Cloudflare, is used to support Cloudflare Bot Management. \n\n\n  * Cookie\nAWSALBCORS\n  * Duration\n7 days\n  * Description\nAmazon Web Services set this cookie for load balancing.\n\n\n  * Cookie\n_cfuvid\n  * Duration\nsession\n  * Description\nCloudflare sets this cookie to track users across sessions to optimize user experience by maintaining session consistency and providing personalized services\n\n\n  * Cookie\nli_gc\n  * Duration\n6 months\n  * Description\nLinkedin set this cookie for storing visitor's consent regarding using cookies for non-essential purposes.\n\n\n  * Cookie\n__hssrc\n  * Duration\nsession\n  * Description\nThis cookie is set by Hubspot whenever it changes the session cookie. The __hssrc cookie set to 1 indicates that the user has restarted the browser, and if the cookie does not exist, it is assumed to be a new session.\n\n\n  * Cookie\n__hssc\n  * Duration\n1 hour\n  * Description\nHubSpot sets this cookie to keep track of sessions and to determine if HubSpot should increment the session number and timestamps in the __hstc cookie.\n\n\n  * Cookie\nwpEmojiSettingsSupports\n  * Duration\nsession\n  * Description\nWordPress sets this cookie when a user interacts with emojis on a WordPress site. It helps determine if the user's browser can display emojis properly.\n\n\n  * Cookie\nBCSessionID\n  * Duration\n1 year 1 month 4 days\n  * Description\nBlueconic sets this cookie as a unique identifier for the BlueConic profile.\n\n\n  * Cookie\n_octo\n  * Duration\n1 year\n  * Description\nNo description available.\n\n\n  * Cookie\nlogged_in\n  * Duration\n1 year\n  * Description\nNo description available.\n\n\n  * Cookie\n__Secure-YEC\n  * Duration\npast\n  * Description\nYouTube sets this cookie to stores the user's video player preferences using embedded YouTube video\n\n\n  * Cookie\n__eoi\n  * Duration\n6 months\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nAWSALBTGCORS\n  * Duration\n7 days\n  * Description\nNo description available.\n\n\n  * Cookie\nlogin-status-p\n  * Duration\npast\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nAWSALBTG\n  * Duration\n7 days\n  * Description\nNo description available.\n\n\n  * Cookie\ncsrf_token\n  * Duration\nsession\n  * Description\nNo description available.\n\n\n  * Cookie\ntoken_v2\n  * Duration\n1 day\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nD\n  * Duration\n1 year\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nPHPSESSID\n  * Duration\nsession\n  * Description\nThis cookie is native to PHP applications. The cookie stores and identifies a user's unique session ID to manage user sessions on the website. The cookie is a session cookie and will be deleted when all the browser windows are closed.\n\n\n  * Cookie\nVISITOR_PRIVACY_METADATA\n  * Duration\n6 months\n  * Description\nYouTube sets this cookie to store the user's cookie consent state for the current domain. \n\n\n  * Cookie\ncookietest\n  * Duration\nsession\n  * Description\nThe cookietest cookie is typically used to determine whether the user's browser accepts cookies, essential for website functionality and user experience.\n\n\n  * Cookie\n__Host-airtable-session\n  * Duration\n1 year\n  * Description\nThis cookie is used to enable us to integrate the services of Airtable.\n\n\n  * Cookie\n__Host-airtable-session.sig\n  * Duration\n1 year\n  * Description\nThis cookie is used to enable us to integrate the services of Airtable.\n\n\n  * Cookie\nm\n  * Duration\n1 year 1 month 4 days\n  * Description\nStripe sets this cookie for fraud prevention purposes. It identifies the device used to access the website, allowing the website to be formatted accordingly.\n\n\n  * Cookie\nBIGipServer*\n  * Duration\nsession\n  * Description\nMarketo sets this cookie to collect information about the user's online activity and build a profile about their interests to provide advertisements relevant to the user. \n\n\n  * Cookie\n__cfruid\n  * Duration\nsession\n  * Description\nCloudflare sets this cookie to identify trusted web traffic.\n\n\n  * Cookie\n_GRECAPTCHA\n  * Duration\n6 months\n  * Description\nGoogle Recaptcha service sets this cookie to identify bots to protect the website against malicious spam attacks.\n\n\n  * Cookie\n__Secure-YNID\n  * Duration\n6 months\n  * Description\nGoogle cookie used to protect user security and prevent fraud, especially during the login process.\n\n\n  * Cookie\ncookieyes-consent\n  * Duration\n1 year\n  * Description\nCookieYes sets this cookie to remember users' consent preferences so that their preferences are respected on subsequent visits to this site. It does not collect or store any personal information about the site visitors.\n\n\nFunctional\nFunctional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.\n  * Cookie\nlidc\n  * Duration\n1 day\n  * Description\nLinkedIn sets the lidc cookie to facilitate data center selection.\n\n\n  * Cookie\nbrw\n  * Duration\n1 year\n  * Description\nNo description available.\n\n\n  * Cookie\nbrwConsent\n  * Duration\n5 minutes\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nWMF-Uniq\n  * Duration\n1 year\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nloom_anon_comment\n  * Duration\n1 year\n  * Description\nNo description available.\n\n\n  * Cookie\nloom_referral_video\n  * Duration\nsession\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nVISITOR_INFO1_LIVE\n  * Duration\n6 months\n  * Description\nA cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.\n\n\n  * Cookie\nyt-remote-connected-devices\n  * Duration\nNever Expires\n  * Description\nYouTube sets this cookie to store the user's video preferences using embedded YouTube videos.\n\n\n  * Cookie\nytidb::LAST_RESULT_ENTRY_KEY\n  * Duration\nNever Expires\n  * Description\nThe cookie ytidb::LAST_RESULT_ENTRY_KEY is used by YouTube to store the last search result entry that was clicked by the user. This information is used to improve the user experience by providing more relevant search results in the future.\n\n\n  * Cookie\nyt-remote-device-id\n  * Duration\nNever Expires\n  * Description\nYouTube sets this cookie to store the user's video preferences using embedded YouTube videos.\n\n\n  * Cookie\nyt-remote-session-name\n  * Duration\nsession\n  * Description\nThe yt-remote-session-name cookie is used by YouTube to store the user's video player preferences using embedded YouTube video.\n\n\n  * Cookie\nyt-remote-fast-check-period\n  * Duration\nsession\n  * Description\nThe yt-remote-fast-check-period cookie is used by YouTube to store the user's video player preferences for embedded YouTube videos.\n\n\n  * Cookie\nyt-remote-session-app\n  * Duration\nsession\n  * Description\nThe yt-remote-session-app cookie is used by YouTube to store user preferences and information about the interface of the embedded YouTube video player.\n\n\n  * Cookie\nyt-remote-cast-available\n  * Duration\nsession\n  * Description\nThe yt-remote-cast-available cookie is used to store the user's preferences regarding whether casting is available on their YouTube video player.\n\n\n  * Cookie\nyt-remote-cast-installed\n  * Duration\nsession\n  * Description\nThe yt-remote-cast-installed cookie is used to store the user's video player preferences using embedded YouTube video.\n\n\n  * Cookie\ncp_session\n  * Duration\n3 months\n  * Description\nCodepen sets this cookie for Help systems found in the website.\n\n\n  * Cookie\nloid\n  * Duration\n1 year 1 month 4 days\n  * Description\nThis cookie is set by the Reddit. The cookie enables the sharing of content from the website onto the social media platform.\n\n\nAnalytics\nAnalytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.\n  * Cookie\n__hstc\n  * Duration\n6 months\n  * Description\nHubspot set this main cookie for tracking visitors. It contains the domain, initial timestamp (first visit), last timestamp (last visit), current timestamp (this visit), and session number (increments for each subsequent session).\n\n\n  * Cookie\nhubspotutk\n  * Duration\n6 months\n  * Description\nHubSpot sets this cookie to keep track of the visitors to the website. This cookie is passed to HubSpot on form submission and used when deduplicating contacts.\n\n\n  * Cookie\n_ga\n  * Duration\n1 year 1 month 4 days\n  * Description\nGoogle Analytics sets this cookie to calculate visitor, session and campaign data and track site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognise unique visitors.\n\n\n  * Cookie\n_ga_*\n  * Duration\n1 year 1 month 4 days\n  * Description\nGoogle Analytics sets this cookie to store and count page views.\n\n\n  * Cookie\n__Host-psifi.analyticsTrace\n  * Duration\n6 hours\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\n__Host-psifi.analyticsTraceV2\n  * Duration\n6 hours\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\n_gh_sess\n  * Duration\nsession\n  * Description\nGitHub sets this cookie for temporary application and framework state between pages like what step the user is on in a multiple step form.\n\n\n  * Cookie\nYSC\n  * Duration\nsession\n  * Description\nYSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.\n\n\n  * Cookie\najs_anonymous_id\n  * Duration\n1 year\n  * Description\nThis cookie is set by Segment to count the number of people who visit a certain site by tracking if they have visited before.\n\n\n  * Cookie\nvuid\n  * Duration\n1 year 1 month 4 days\n  * Description\nVimeo installs this cookie to collect tracking information by setting a unique ID to embed videos on the website. \n\n\nPerformance\nPerformance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.\n  * Cookie\nAWSALB\n  * Duration\n7 days\n  * Description\nAWSALB is an application load balancer cookie set by Amazon Web Services to map the session to the target.\n\n\n  * Cookie\nacq\n  * Duration\npast\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nacq.sig\n  * Duration\npast\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nptc\n  * Duration\n2 years\n  * Description\nNo description available.\n\n\nAdvertisement\nAdvertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.\n  * Cookie\nmuc_ads\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to collect user behaviour and interaction data to optimize the website.\n\n\n  * Cookie\nguest_id_marketing\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to identify and track the website visitor.\n\n\n  * Cookie\nguest_id_ads\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to identify and track the website visitor.\n\n\n  * Cookie\npersonalization_id\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to integrate and share features for social media and also store information about how the user uses the website, for tracking and targeting.\n\n\n  * Cookie\nguest_id\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to identify and track the website visitor. It registers if a user is signed in to the Twitter platform and collects information about ad preferences.\n\n\n  * Cookie\nbcookie\n  * Duration\n1 year\n  * Description\nLinkedIn sets this cookie from LinkedIn share buttons and ad tags to recognize browser IDs.\n\n\n  * Cookie\n__Secure-ROLLOUT_TOKEN\n  * Duration\n6 months\n  * Description\nYouTube sets this cookie to manage feature rollout and experimentation. It helps Google control which new features or interface changes are shown to users as part of testing and staged rollouts, ensuring consistent experience for a given user during an experiment.\n\n\n  * Cookie\nyt.innertube::nextId\n  * Duration\nNever Expires\n  * Description\nYouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen.\n\n\n  * Cookie\nyt.innertube::requests\n  * Duration\nNever Expires\n  * Description\nYouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen.\n\n\n  * Cookie\nsession_tracker\n  * Duration\nsession\n  * Description\nThis cookie is set by the Reddit. This cookie is used to identify trusted web traffic. It also helps in adverstising on the website.\n\n\n  * Cookie\nedgebucket\n  * Duration\nsession\n  * Description\nReddit sets this cookie to save the information about a log-on Reddit user, for the purpose of advertisement recommendations and updating the content.\n\n\n  * Cookie\ndid\n  * Duration\n1 year\n  * Description\nArbor sets this cookie to show targeted ads to site visitors.This cookie expires after 2 months or 1 year.\n\n\nUncategorised\nOther uncategorised cookies are those that are being analysed and have not been classified into a category as yet.\nNo cookies to display.\nReject All Save My Preferences Accept All\nToggle Search[](https://towardsdatascience.com/)Toggle Mobile Navigation\n[](https://towardsdatascience.com/)\nPublish AI, ML & data-science insights to a global community of data professionals.\nSign in[Submit an Article](https://write.insightmediagroup.io)\n[Latest](https://towardsdatascience.com/latest/)[Editor's Picks](https://towardsdatascience.com/tag/editors-pick/)[Newsletter](https://towardsdatascience.com/tag/the-variable/)[ShipAI](https://towardsdatascience.com/shipai/)\n* * *\n[Write For TDS](https://towardsdatascience.com/submissions/)\n[LinkedIn](https://www.linkedin.com/company/towards-data-science/)[X](https://x.com/TDataScience)Toggle Search\n[Deep Learning](https://towardsdatascience.com/category/artificial-intelligence/deep-learning/)\n# Understanding Kolmogorov-Arnold Networks (KAN)\nWhy KANs are a potential alternative to MPLs and the current landscape of Machine Learning. Let's go through the paper to find out.\n[Hesam Sheikh](https://towardsdatascience.com/author/itshesamsheikh/)\nMay 7, 202410 min read\n# Understanding Kolmogorov–Arnold Networks (KAN)\n![](../images/000.png)\nA new research paper titled [**KAN: Kolmogorov–Arnold Network**](https://arxiv.org/abs/2404.19756) has stirred excitement in the Machine Learning community. It presents a fresh perspective on Neural Networks and suggests a possible alternative to Multi-Layer Perceptrons (MLPs), a cornerstone of current Machine Learning.\n_✨This is a paid article. If you're not a Medium member, you can read this for free in my newsletter:_[_**Qiubyte**_](https://hesamsheikh.substack.com/) _**.**_\nInspired by the [**Kolmogorov-Arnold representation theorem**](https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Arnold_representation_theorem), KANs diverge from traditional Multi-Layer Perceptrons (MLPs) by replacing **fixed activation functions** with **learnable functions** , effectively eliminating the need for linear weight matrices.\nI strongly recommend reading through this paper if you're interested in the finer details and experiments. However, if you prefer a concise introduction, I've prepared this article to explain the essentials of KANs.\n  * _Note: The source of the images/figures used in this article is the \"KAN: Kolmogorov–Arnold Network\" paper unless stated otherwise._\n\n\nLearn this step by step with the interactive [Machine Learning](https://roadmap.sh/machine-learning) roadmap.\n## The Theory\nThe theoretical pillar of these new networks is a theory developed by two Soviet mathematicians, [Vladimir Arnold](https://en.wikipedia.org/wiki/Vladimir_Arnold) and [Andrey Kolmogorov](https://en.wikipedia.org/wiki/Andrey_Kolmogorov).\n> While a student of [Andrey Kolmogorov](https://en.wikipedia.org/wiki/Andrey_Kolmogorov) at [Moscow State University](https://en.wikipedia.org/wiki/Moscow_State_University) and still a teenager, Arnold showed in 1957 that any continuous function of several variables can be constructed with a finite number of two-variable functions, thereby solving [Hilbert's thirteenth problem](https://en.wikipedia.org/wiki/Hilbert%27s_thirteenth_problem). (source: [Wikipedia](https://en.wikipedia.org/wiki/Vladimir_Arnold))\nThe theory that they worked on and eventually developed was based on the concept of multivariate continuous functions. According to this theory, any multivariate continuous function **f** can be written as a finite composition of continuous functions of a single variable, summed together.\n![The mathematical formula of the Kolmogorov–Arnold representation theorem. \\(source: Wikipedia\\)](../images/001.png)\nThe mathematical formula of the Kolmogorov–Arnold representation theorem. (source: [Wikipedia](https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Arnold_representation_theorem))\n### How Does This Theorem Fit into Machine Learning?\nIn machine learning, the ability to **efficiently** and **accurately** approximate complex functions is an important subject, especially as the dimensionality of data increases. Current mainstream models such as Multi-Layer Perceptrons (MLPs) often struggle with high-dimensional data - a phenomenon known as the [**curse of dimensionality**](https://en.wikipedia.org/wiki/Curse_of_dimensionality).\nThe Kolmogorov-Arnold theorem, however, provides a theoretical foundation for building networks (like KANs) that can overcome this challenge.\n![An overview comparison of MLP and KAN.](../images/002.png)\nAn overview comparison of MLP and KAN.\n**How can KAN avoid the curse of dimensionality?**\nThis theorem allows for the decomposition of complex high-dimensional functions into compositions of simpler one-dimensional functions. By focusing on optimizing these one-dimensional functions rather than the entire multivariate space, KANs reduce the complexity and the number of parameters needed to achieve accurate modeling. Furthermore, Because of working with simpler one-dimensional functions, KANs can be simple and interpretable models.\n> [**Platonic Representation: Are AI Deep Network Models Converging?**](https://towardsdatascience.com/platonic-representation-hypothesis-c812813d7248)\n## What Are Kolmogorov–Arnold Networks (KAN)?\nKolmogorov-Arnold Networks, a.k.a KANs, is a type of neural network architecture inspired by the Kolmogorov-Arnold representation theorem. Unlike traditional neural networks that use **fixed activation functions** , KANs employ **learnable activation** functions on the **edges** of the network. This allows every weight parameter in a KAN to be replaced by a univariate function, typically parameterized as a **spline** , making them highly flexible and capable of modeling complex functions with potentially fewer parameters and enhanced interpretability.\n![KAN leverages the structure of MLP while benefiting from splines.](../images/003.png)\nKAN leverages the structure of MLP while benefiting from splines.\n### KAN architecture\nThe architecture of Kolmogorov-Arnold Networks (KANs) revolves around a novel concept where traditional weight parameters are replaced by univariate function parameters on the edges of the network. Each node in a KAN sums up these function outputs without applying any nonlinear transformations, in contrast with MLPs that include linear transformations followed by nonlinear activation functions.\n![KAN vs MLP formula.](../images/004.png)\nKAN vs MLP formula.\n### B-Splines: The Core of KAN\nSurprisingly, one of the most important figures in the paper can be missed easily. It's the description of Splines. Splines are the backbone of KAN's learning mechanism. They replace the traditional weight parameters typically found in neural networks.\n![A detailed view of a spline structure.](../images/005.png)\nA detailed view of a spline structure.\nThe flexibility of splines allows them to adaptively model complex relationships in the data by adjusting their shape to minimize approximation error, therefore, enhancing the network's capability to learn subtle patterns from high-dimensional datasets.\nThe general formula for a spline in the context of KANs can be expressed using B-splines as follows:\n![](../images/body-5c58f72c010322efe985.png)\nHere, _𝑠pline(𝑥) r_epresents the spline function. ci​ __ are the coefficients that are optimized during training, and 𝐵𝑖(𝑥) are the B-spline basis functions defined over a grid. The grid points define the intervals where each basis function 𝐵𝑖​ is active and significantly affects the shape **and sm** ooth**ness of the** spline. You can think of them as a hyperp**arameter that a** ffects the accuracy of the network. More grids mean more c**ontrol and p** recis**ion, also** resulting in more parameters to learn.\n![Training a KAN through multiple steps. \\(source: GitHub\\)](../images/body-594447c22c87ed700592.img)\nTraining a KAN through multiple steps. (source: [GitHub](https://github.com/KindXiaoming/pykan))\nDuring training, the _ci_ parameters of these splines (the coefficients of the basis functions _Bi(x)_ ) are optimized to **minimize the loss function** , thus adjusting the shape of the spline to best fit the training data. This optimization often involves techniques like [gradient descent](https://en.wikipedia.org/wiki/Gradient_descent), where each iteration updates the spline parameters to reduce prediction error.\n### The Best of Two Worlds\nWhile KAN is based on the **Kolmogorov-Arnold representation theorem,** it is just as inspired by MLPs, _\"leveraging their respective strengths and avoiding their respective weaknesses_ \". KAN benefits the structure of MLP on the outside, and splines on the inside.\n> As a result, KANs can not only learn features (thanks to their external similarity to MLPs), but can also optimize these learned features to great accuracy (thanks to their internal similarity to splines).\n## Network Simplification\n![An overview of the network symbolification.](../images/006.png)\nAn overview of the network symbolification.\nThe paper goes on to explain some methods to simplify the network and our interpretation of them. I will only proceed to refer to two of them which were fascinating to me.\n  1. **Symbolification** : KAN is constructed by approximating functions using compositions of simpler, often interpretable functions. This results in their unique ability to hand over **interpretable mathematical formulas** , such as shown in the figure above.\n  2. **Pruning** : The other aspect of KANs discussed in the paper is about optimizing the network architecture by **removing less important nodes** or connections after the network has been trained. This process helps in reducing the complexity and size. Pruning focuses on identifying and eliminating those parts of the network that contribute minimally to the output. This makes the network lighter and potentially more interpretable.\n\n\n## Is KAN New?\nKolmogorov-Arnold representation theorem is not new**,** so why has the practice of using it in machine learning not been studied before? As the paper explains, multiple attempts have been made...\n> However, most work has stuck with the original depth-2 width-(2n + 1) representation, and did not have the chance to leverage more modern techniques (e.g., back propagation) to train the networks.\n![Visual representation of KAN, created by DALLE-3.](../images/007.jpg)\nVisual representation of KAN, created by DALLE-3.\nThe novelty of the paper is to adapt this idea and apply it to the current landscape of ML. Using arbitrary network architecture (depth, width) and employing techniques such as backpropagation and pruning, KAN is closer to practical use cases than previous studies.\n> the Kolmogorov-Arnold representation theorem was basically sentenced to death in machine learning, regarded as theoretically sound but practically useless.\nSo even though there have been attempts to use Kolmogorov-Arnold representation theorem in ML, it's fair to say KAN is a novel approach in that it is aware of where ML stands today. It's a good update to an idea explored before on a limited scale.\n## 4 Fascinating Examples\nThe paper compares KAN and MLP on several criteria, most of which are gripping. In this part, I will proceed to list some of these interesting examples. The full details of these examples and more are in the paper.\n### Fitting Symbolic Formulas\nThis is an example of training various MLPs and a KAN to fit certain functions of various input dimensions. As can be seen below, KAN has much better **scalability** compared to MLPs (at least in this range of parameter numbers).\n> This highlights the greater expressive power of deeper KANs, which is the same for MLPs: deeper MLPs have more expressive power than shallower ones.\n![](../images/body-21b2e9c8915a7003620d.png)\n### Special Functions\nAnother example in the paper is to compare KAN and MLP on fitting 15 special functions common in math and physics. The result shows that in almost all of these functions, KANs achieve a **lower train/test loss** having the same number of parameters compared to MLPs.\n![](../images/body-8cb3497e04bfde27ae1e.png)\n### Continual Learning\nContinual Learning is the quality of how networks can adapt to new information over time without forgetting previously learned knowledge. It is a significant challenge in neural network training, particularly in avoiding the problem of **catastrophic forgetting** , where acquiring new knowledge leads to a rapid erosion of previously established information.\nKANs demonstrate an ability to retain learned information and adapt to new data without catastrophic forgetting, thanks to the **local nature** of spline functions. Unlike MLPs, which rely on global activations that might unintentionally affect distant parts of the model, KANs modify only a limited set of nearby spline coefficients with each new sample. This focused adjustment preserves previously stored information in other parts of the spline.\n![](../images/body-c1656a041577276d4fd8.png)\n### Partial Differential Equation solving\n> PDE solving, a 2-Layer width-10 KAN is 100 times more accurate than a 4-Layer width-100 MLP (10−7 vs 10−5 MSE) and 100 times more parameter efficient (102 vs 104 parameters).\n![](../images/body-c4c7d4c8aeb4e563407e.png)\n* * *\nThe paper continues to present more experiments. One of them includes applying KANs to the problem of [**geometric knot invariant**](https://en.wikipedia.org/wiki/Knot_invariant#:~:text=A%20knot%20invariant%20is%20a%20quantity%20defined%20on%20the%20set,quantity%20defined%20on%20knot%20diagrams.), achieving **81.6%** test accuracy with a **200** -parameter KAN, while an MLP model by Google Deepmind achieves **78%** having *_~ 3_ 10⁵** parameters. This experiment was performed on the\n## Final Thoughts\n### Is the hype over KAN worth it?\nIt depends on your perspective. The reason KAN is being discussed so far is that it's a potential light at the end of the ML tunnel. I have discussed in [**\"AI Is Hitting A Hard Ceiling It Can't Pass\"**](https://www.linkedin.com/feed/update/urn:li:activity:7192221468741582848/) how we need fresh innovations to guide us through the future barriers of Machine Learning, namely **Data** and **Computation**. KANs, though not intentionally, can be a way out.\nKAN is written with scientific applications of AI in mind, but already people are using it to mix various ML cocktails, including Multihead Attention.\n_**UPDATE: You can read about my experiment of training KAN on the MNIST dataset to test it out on computer vision tasks, don't miss it 👇**_\n### Tweet not found\nThe embedded tweet could not be found…\n### KAN + LLM?\nThe paper focuses mainly on the **AI + Science** applications of Kolmogorov-Arnold Networks due to their ability to model and discover complex scientific laws and patterns effectively. KANs are particularly suited for tasks that require the **understanding** and **interpreting** of underlying physical principles, as their structure allows for the decomposition of functions into symbolic mathematical expressions. This makes them ideal for scientific research where discovering such relationships is crucial, unlike in large language models (LLMs) where the primary goal often revolves around processing a mammoth corpus of data for natural language understanding and generation.\n### Author's Notes\nI encourage you to also read the [author's notes ](https://github.com/KindXiaoming/pykan?tab=readme-ov-file#authors-note)on the GitHub page. It provides perspective on what KAN was aimed for, and what could be in the future.\n> The most common question I've been asked lately is whether KANs will be next-gen LLMs. I don't have good intuition about this. KANs are designed for applications where one cares about high accuracy and/or interpretability. We do care about LLM interpretability for sure, but interpretability can mean wildly different things for LLM and for science. Do we care about high accuracy for LLMs? I don't know, scaling laws seem to imply so, but probably not too high precision. Also, accuracy can also mean different things for LLM and for science. This subtlety makes it hard to directly transfer conclusions in our paper to LLMs, or machine learning tasks in general.\n![&quot;KAN: Kolmogorov–Arnold Networks&quot; paper.](../images/body-b9a3fa366c26c74c7b5e.png)\n\"KAN: Kolmogorov–Arnold Networks\" paper.\n### Conclusion\nIn my view, it's best to look at KAN for what it is, rather than what we like it to be. This doesn't mean KAN is **impossible** to be integrated within LLMs, already there is an efficient [**PyTorch implementation of KAN**](https://github.com/Blealtan/efficient-kan). But it has to be noted, it is too soon to call KAN _revolutionary_ or _game-changing_. KAN simply needs more experiments done by community experts.\nWhile KANs offer significant advantages in certain contexts, they come with limitations and considerations that beget caution:\n  1. **Complexity and Overfitting** : KANs can potentially overfit, especially in scenarios with limited data. Their ability to form complex models might capture noise as significant patterns, leading to poor generalization.\n  2. **Computation:** KANs may face challenges with GPU optimization due to their specialized nature, which can disrupt parallel processing. This architecture could result in slower operations on GPUs, necessitating serialization and leading to inefficient memory utilization, potentially making CPUs a more suitable platform for these networks.\n  3. **Applicability:** KANs are primarily designed for scientific and engineering tasks where understanding the underlying function is crucial. They might not be as effective in domains requiring large-scale pattern recognition or classification, such as image recognition or natural language processing, where simpler or more abstract models might suffice.\n\n\nI have to add this has been an amazing paper to read. It's always exciting to think outside the box and KAN certainly achieves that.\n💬 How do you see the potential of KAN? Is it going to niche down to science, or play a key role in our daily AI products?\n* * *\n**🌟 Join +1000 people learning about**\nPython🐍 , ML/MLOps/AI🤖, Data Science📈 , and LLM 🗯\n[**follow me**](https://medium.com/@itshesamsheikh/subscribe) and check out my **X/Twitter** , where I keep you updated **Daily** :\nThanks for reading,\n— Hesam\n## Register Now to Continue Reading\n### Unlock Towards Data Science with a Free Account\nAll articles on Towards Data Science are available to registered users. Create a free account today to access this article and thousands more.\nRegister for freeSign in to your account\n* * *\n![](../images/body-2e861118b1a56d435c93.png)\nWritten By\n## [Hesam Sheikh](https://towardsdatascience.com/author/itshesamsheikh/)\n[See all from Hesam Sheikh](https://towardsdatascience.com/author/itshesamsheikh/)\n[Deep Learning](https://towardsdatascience.com/tag/deep-learning/)[Kan](https://towardsdatascience.com/tag/kan/)[Machine Learning](https://towardsdatascience.com/tag/machine-learning/)[ML](https://towardsdatascience.com/tag/ml/)[Neural Networks](https://towardsdatascience.com/tag/neural-networks/)\nShare This Article\n  * [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Ftowardsdatascience.com%2Fkolmogorov-arnold-networks-kan-e317b1b4d075%2F&title=Understanding%20Kolmogorov-Arnold%20Networks%20\\(KAN\\))\n  * [](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Ftowardsdatascience.com%2Fkolmogorov-arnold-networks-kan-e317b1b4d075%2F&title=Understanding%20Kolmogorov-Arnold%20Networks%20\\(KAN\\))\n  * [](https://x.com/share?url=https%3A%2F%2Ftowardsdatascience.com%2Fkolmogorov-arnold-networks-kan-e317b1b4d075%2F&text=Understanding%20Kolmogorov-Arnold%20Networks%20\\(KAN\\))\n\n\nTowards Data Science is a community publication. Submit your insights to reach our global audience and earn through the TDS Author Payment Program.\n[Write for TDS](https://towardsdatascience.com/submissions/)\n## Related Articles\n  * [![](../images/008.png)](https://towardsdatascience.com/a-machine-learning-engineers-tutorial-to-transfer-learning-for-multi-class-image-segmentation-b34818caec6b/)\n## [A Machine Learning Engineer's Tutorial to Transfer Learning for Multi-class Image Segmentation...](https://towardsdatascience.com/a-machine-learning-engineers-tutorial-to-transfer-learning-for-multi-class-image-segmentation-b34818caec6b/)\n[Machine Learning](https://towardsdatascience.com/category/artificial-intelligence/machine-learning/)\nA Debugging Guide for optimal parameterization of Segmentation models\n[Dr. Sohini Roychowdhury](https://towardsdatascience.com/author/sohini_55473/)\nMarch 11, 20218 min read\n  * [![](../images/009.png)](https://towardsdatascience.com/evaluation-and-prediction-of-students-academic-performance-during-covid-19-40bb2b90141b/)\n## [Evaluation and Prediction of Student's Academic Performance during Covid-19](https://towardsdatascience.com/evaluation-and-prediction-of-students-academic-performance-during-covid-19-40bb2b90141b/)\n[Machine Learning](https://towardsdatascience.com/category/artificial-intelligence/machine-learning/)\nIt's that time of the year again. Shifting through last minutes notes on the morning of the exam, devouring your breakfast like an ape to...\n[Kartikaya Srivastava](https://towardsdatascience.com/author/kartiksrivas/)\nApril 20, 20214 min read\n  * [![](../images/010.png)](https://towardsdatascience.com/how-major-reasoning-models-converge-to-the-same-brain-as-they-model-reality-increasingly-better/)\n## [How Major Reasoning Models Converge to the Same “Brain” as They Model Reality Increasingly Better](https://towardsdatascience.com/how-major-reasoning-models-converge-to-the-same-brain-as-they-model-reality-increasingly-better/)\n[Artificial Intelligence](https://towardsdatascience.com/category/artificial-intelligence/)\nBecause there's only one reality to model!\n[Luciano Abriata](https://towardsdatascience.com/author/lucianosphere/)\nMay 7, 20267 min read\n  * [![](../images/011.png)](https://towardsdatascience.com/understanding-and-implementing-medprompt-77bbd2777c91/)\n## [Understanding and Implementing Medprompt](https://towardsdatascience.com/understanding-and-implementing-medprompt-77bbd2777c91/)\n[ChatGPT](https://towardsdatascience.com/category/artificial-intelligence/chatgpt/)\nDigging into the details behind the prompting framework\n[Anand Subramanian](https://towardsdatascience.com/author/anand.subu10/)\nJuly 6, 202414 min read\n  * [![](../images/012.jpeg)](https://towardsdatascience.com/what-you-should-know-before-starting-a-career-in-data-analytics-4a39e80bafa0/)\n## [What You Should Know Before Starting a Career in Data Analytics](https://towardsdatascience.com/what-you-should-know-before-starting-a-career-in-data-analytics-4a39e80bafa0/)\n[Artificial Intelligence](https://towardsdatascience.com/category/artificial-intelligence/)\nExpectations versus reality\n[Vicky Yu](https://towardsdatascience.com/author/madfordata/)\nFebruary 6, 20214 min read\n  * [![](../images/013.jpeg)](https://towardsdatascience.com/is-online-poker-dead-647b2a78cae9/)\n## [Is Online Poker Dead?](https://towardsdatascience.com/is-online-poker-dead-647b2a78cae9/)\n[Artificial Intelligence](https://towardsdatascience.com/category/artificial-intelligence/)\nThe Next Casualty for AI\n[Jye Sawtell-Rickson](https://towardsdatascience.com/author/jyesr/)\nSeptember 17, 20193 min read\n  * [![](../images/014.jpg)](https://towardsdatascience.com/building-robust-credit-scoring-models-part-3/)\n## [Building Robust Credit Scoring Models (Part 3)](https://towardsdatascience.com/building-robust-credit-scoring-models-part-3/)\n[Machine Learning](https://towardsdatascience.com/category/artificial-intelligence/machine-learning/)\nHandling outliers and missing values in borrower data using Python.\n[JUNIOR JUMBONG](https://towardsdatascience.com/author/jumbongjunior1999/)\nMarch 20, 202615 min read\n  * [![](../images/015.jpg)](https://towardsdatascience.com/how-to-accelerate-your-pytorch-training-with-xla-on-aws-3d599bc8f6a9/)\n## [How to Accelerate your PyTorch GPU Training with XLA](https://towardsdatascience.com/how-to-accelerate-your-pytorch-training-with-xla-on-aws-3d599bc8f6a9/)\n[Deep Learning](https://towardsdatascience.com/category/artificial-intelligence/deep-learning/)\nThe Power of PyTorch/XLA and how Amazon SageMaker Training Compiler Simplifies its use\n[Chaim Rand](https://towardsdatascience.com/author/chaimrand/)\nOctober 17, 202211 min read\n  * [![](../images/016.jpg)](https://towardsdatascience.com/data-preparation-guide-for-detecting-histopathologic-cancer-detection-7b96d6a12004/)\n## [Data Preparation Guide for detecting Histopathologic Cancer Detection](https://towardsdatascience.com/data-preparation-guide-for-detecting-histopathologic-cancer-detection-7b96d6a12004/)\n[Machine Learning](https://towardsdatascience.com/category/artificial-intelligence/machine-learning/)\nGuide on how to prepare data for model training for Kaggle's Histopathologic Cancer Detection.\n[Abdul Qadir](https://towardsdatascience.com/author/aq-abdulqadir/)\nOctober 26, 20207 min read\n\n\n  * [YouTube](https://www.youtube.com/c/TowardsDataScience)\n  * [X](https://x.com/TDataScience)\n  * [LinkedIn](https://www.linkedin.com/company/towards-data-science/)\n  * [Threads](https://www.threads.net/@towardsdatascience)\n  * [Bluesky](https://bsky.app/profile/towardsdatascience.com)\n\n\n[](https://towardsdatascience.com/)\nYour home for data science and AI. The world's leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.\nSubscribe to Our Newsletter[Write For TDS](https://towardsdatascience.com/submissions/)•[About](https://towardsdatascience.com/about-towards-data-science-d691af11cc2f/)•[Advertise](https://contact.towardsdatascience.com/advertise-with-towards-data-science)•[Privacy Policy](https://towardsdatascience.com/privacy-policy/)•[Terms of Use](https://towardsdatascience.com/website-terms-of-use/)\n© Insight Media Group, LLC 2026•[The New Stack](https://thenewstack.io)•[roadmap.sh](https://roadmap.sh)•[Creator Network](https://insightmediagroup.io/creator-network)\n####  Recommended Articles \nClose\n  * [ ![](https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607686/image?etag=1782161464448&width=500&height=500) How Relevance Models Foreshadowed Transformers for NLP ](https://towardsdatascience.com/how-relevance-models-foreshadowed-transformers-for-nlp/ \"How Relevance Models Foreshadowed Transformers for NLP\")\n  * [ ![](https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607639/image?etag=1781250125848&width=500&height=500) Javascript Fatigue: HTMX Is All You Need to Build ChatGPT — Part 1 ](https://towardsdatascience.com/javascript-fatigue-you-dont-need-js-to-build-chatgpt/ \"Javascript Fatigue: HTMX Is All You Need to Build ChatGPT — Part 1\")\n  * [ ![](https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607930/image?etag=1782124566054&width=500&height=500) The Subset Sum Problem Solved in Linear Time for Dense Enough Inputs ](https://towardsdatascience.com/subset-sum-problem-solved-in-linear-time-for-dense-enough-inputs/ \"The Subset Sum Problem Solved in Linear Time for Dense Enough Inputs\")\n  * [ ![](https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/3660/image?etag=1780176246070&width=500&height=500) Does Your Company Have a Data Strategy? ](https://towardsdatascience.com/does-your-company-have-a-data-strategy-e8944dbec4ae/ \"Does Your Company Have a Data Strategy?\")\n\n\n",
  "metadata": {
    "title": "Understanding Kolmogorov-Arnold Networks (KAN) | Towards Data Science",
    "description": "Why KANs are a potential alternative to MPLs and the current landscape of Machine Learning. Let's go through the paper to find out.",
    "keywords": null,
    "author": "Hesam Sheikh",
    "og:locale": "en_US",
    "og:type": "article",
    "og:title": "Understanding Kolmogorov-Arnold Networks (KAN)",
    "og:description": "Why KANs are a potential alternative to MPLs and the current landscape of Machine Learning. Let's go through the paper to find out.",
    "og:url": "https://towardsdatascience.com/kolmogorov-arnold-networks-kan-e317b1b4d075/",
    "og:site_name": "Towards Data Science",
    "og:image": "https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/0e-5Uz6ytgIy6Y2Gt.png",
    "og:image:width": "2274",
    "og:image:height": "1262",
    "og:image:type": "image/png",
    "twitter:card": "summary_large_image",
    "twitter:site": "@TDataScience",
    "twitter:creator": "@TDataScience",
    "twitter:label1": "Written by",
    "twitter:data1": "Hesam Sheikh",
    "twitter:label2": "Est. reading time",
    "twitter:data2": "10 min read",
    "article:published_time": "2024-05-07T17:05:51.000Z",
    "article:modified_time": "2024-05-07T17:05:51.000Z",
    "article:author": "https://towardsdatascience.com/author/itshesamsheikh/"
  },
  "paywall": {
    "listed_paid": false,
    "detected": false,
    "marker": "",
    "public_only": false,
    "policy": "付费/会员内容只保留页面公开可见部分，不绕过付费墙"
  },
  "crawl": {
    "success": true,
    "status_code": 200,
    "error": ""
  },
  "code_blocks": [],
  "images": [
    {
      "status": "http_404",
      "url": "https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607686/image?etag=1782161464448&width=500&height=500",
      "src": "https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607686/image?etag=1782161464448&width=500&height=500",
      "alt": "",
      "downloaded": false,
      "discovery": "saved_markdown",
      "retried_at": "2026-10-20T18:08:40Z"
    },
    {
      "status": "http_404",
      "url": "https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607639/image?etag=1781250125848&width=500&height=500",
      "src": "https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607639/image?etag=1781250125848&width=500&height=500",
      "alt": "",
      "downloaded": false,
      "discovery": "saved_markdown",
      "retried_at": "2026-10-20T18:08:40Z"
    },
    {
      "status": "http_404",
      "url": "https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607930/image?etag=1782124566054&width=500&height=500",
      "src": "https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607930/image?etag=1782124566054&width=500&height=500",
      "alt": "",
      "downloaded": false,
      "discovery": "saved_markdown",
      "retried_at": "2026-10-20T18:08:40Z"
    },
    {
      "status": "http_404",
      "url": "https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/3660/image?etag=1780176246070&width=500&height=500",
      "src": "https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/3660/image?etag=1780176246070&width=500&height=500",
      "alt": "",
      "downloaded": false,
      "discovery": "saved_markdown",
      "retried_at": "2026-10-20T18:08:40Z"
    }
  ],
  "audio": [],
  "videos": [
    {
      "url": "https://www.youtube.com/c/TowardsDataScience",
      "kind": "channel_reference",
      "status": "reference_only"
    }
  ],
  "links": [
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/latest/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/tag/editors-pick/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/tag/the-variable/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/shipai/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/submissions/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/category/artificial-intelligence/deep-learning/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/author/itshesamsheikh/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/platonic-representation-hypothesis-c812813d7248"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/tag/deep-learning/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/tag/kan/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/tag/machine-learning/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/tag/ml/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/tag/neural-networks/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/a-machine-learning-engineers-tutorial-to-transfer-learning-for-multi-class-image-segmentation-b34818caec6b/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/category/artificial-intelligence/machine-learning/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/author/sohini_55473/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/evaluation-and-prediction-of-students-academic-performance-during-covid-19-40bb2b90141b/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/author/kartiksrivas/"
    },
    {
      "type": "internal",
      "href": "https://towardsdatascience.com/how-major-reasoning-models-converge-to-the-same-brain-as-they-model-reality-increasingly-better/"
    },
    {
      "type": "external",
      "href": "https://write.insightmediagroup.io"
    },
    {
      "type": "external",
      "href": "https://www.linkedin.com/company/towards-data-science/"
    },
    {
      "type": "external",
      "href": "https://x.com/TDataScience"
    },
    {
      "type": "external",
      "href": "https://arxiv.org/abs/2404.19756"
    },
    {
      "type": "external",
      "href": "https://hesamsheikh.substack.com/"
    },
    {
      "type": "external",
      "href": "https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Arnold_representation_theorem"
    },
    {
      "type": "external",
      "href": "https://roadmap.sh/machine-learning"
    },
    {
      "type": "external",
      "href": "https://en.wikipedia.org/wiki/Vladimir_Arnold"
    },
    {
      "type": "external",
      "href": "https://en.wikipedia.org/wiki/Andrey_Kolmogorov"
    },
    {
      "type": "external",
      "href": "https://en.wikipedia.org/wiki/Moscow_State_University"
    },
    {
      "type": "external",
      "href": "https://en.wikipedia.org/wiki/Hilbert%27s_thirteenth_problem"
    },
    {
      "type": "external",
      "href": "https://en.wikipedia.org/wiki/Curse_of_dimensionality"
    },
    {
      "type": "external",
      "href": "https://github.com/KindXiaoming/pykan"
    },
    {
      "type": "external",
      "href": "https://en.wikipedia.org/wiki/Gradient_descent"
    },
    {
      "type": "external",
      "href": "https://en.wikipedia.org/wiki/Knot_invariant"
    },
    {
      "type": "external",
      "href": "https://www.linkedin.com/feed/update/urn:li:activity:7192221468741582848/"
    },
    {
      "type": "external",
      "href": "https://github.com/KindXiaoming/pykan?tab=readme-ov-file"
    },
    {
      "type": "external",
      "href": "https://github.com/Blealtan/efficient-kan"
    },
    {
      "type": "external",
      "href": "https://medium.com/@itshesamsheikh/subscribe"
    },
    {
      "type": "external",
      "href": "https://www.facebook.com/sharer/sharer.php?title=Understanding+Kolmogorov-Arnold+Networks+%28KAN%29&u=https%3A%2F%2Ftowardsdatascience.com%2Fkolmogorov-arnold-networks-kan-e317b1b4d075%2F"
    }
  ],
  "repair_version": 2,
  "repaired_at": "2026-10-20T17:33:19Z",
  "source_url": "https://towardsdatascience.com/kolmogorov-arnold-networks-kan-e317b1b4d075/",
  "delivery_status": "unverified",
  "discovery_status": "http_403",
  "missing_reason": "源页面未重新核验:http_403；已按保留正文补采图片",
  "repair_error": "",
  "actual_video_files": [],
  "expected_saved_body_images": 4,
  "image_discovery": "saved_markdown",
  "source_body_markdown": "![Revisit consent button](https://cdn-cookieyes.com/assets/images/revisit.svg)\nWe value your privacy\nWe use cookies to enhance your browsing experience, serve personalised ads or content, and analyse our traffic. By clicking \"Accept All\", you consent to our use of cookies.\nCustomise Reject All Accept All\nCustomise Consent Preferences ![](https://cdn-cookieyes.com/assets/images/close.svg)\nWe use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.\nThe cookies that are categorised as \"Necessary\" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... Show more\nNecessaryAlways Active\nNecessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.\n  * Cookie\nBCTempID\n  * Duration\n10 minutes\n  * Description\nNo description available.\n\n\n  * Cookie\n__cf_bm\n  * Duration\n1 hour\n  * Description\nThis cookie, set by Cloudflare, is used to support Cloudflare Bot Management. \n\n\n  * Cookie\nAWSALBCORS\n  * Duration\n7 days\n  * Description\nAmazon Web Services set this cookie for load balancing.\n\n\n  * Cookie\n_cfuvid\n  * Duration\nsession\n  * Description\nCloudflare sets this cookie to track users across sessions to optimize user experience by maintaining session consistency and providing personalized services\n\n\n  * Cookie\nli_gc\n  * Duration\n6 months\n  * Description\nLinkedin set this cookie for storing visitor's consent regarding using cookies for non-essential purposes.\n\n\n  * Cookie\n__hssrc\n  * Duration\nsession\n  * Description\nThis cookie is set by Hubspot whenever it changes the session cookie. The __hssrc cookie set to 1 indicates that the user has restarted the browser, and if the cookie does not exist, it is assumed to be a new session.\n\n\n  * Cookie\n__hssc\n  * Duration\n1 hour\n  * Description\nHubSpot sets this cookie to keep track of sessions and to determine if HubSpot should increment the session number and timestamps in the __hstc cookie.\n\n\n  * Cookie\nwpEmojiSettingsSupports\n  * Duration\nsession\n  * Description\nWordPress sets this cookie when a user interacts with emojis on a WordPress site. It helps determine if the user's browser can display emojis properly.\n\n\n  * Cookie\nBCSessionID\n  * Duration\n1 year 1 month 4 days\n  * Description\nBlueconic sets this cookie as a unique identifier for the BlueConic profile.\n\n\n  * Cookie\n_octo\n  * Duration\n1 year\n  * Description\nNo description available.\n\n\n  * Cookie\nlogged_in\n  * Duration\n1 year\n  * Description\nNo description available.\n\n\n  * Cookie\n__Secure-YEC\n  * Duration\npast\n  * Description\nYouTube sets this cookie to stores the user's video player preferences using embedded YouTube video\n\n\n  * Cookie\n__eoi\n  * Duration\n6 months\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nAWSALBTGCORS\n  * Duration\n7 days\n  * Description\nNo description available.\n\n\n  * Cookie\nlogin-status-p\n  * Duration\npast\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nAWSALBTG\n  * Duration\n7 days\n  * Description\nNo description available.\n\n\n  * Cookie\ncsrf_token\n  * Duration\nsession\n  * Description\nNo description available.\n\n\n  * Cookie\ntoken_v2\n  * Duration\n1 day\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nD\n  * Duration\n1 year\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nPHPSESSID\n  * Duration\nsession\n  * Description\nThis cookie is native to PHP applications. The cookie stores and identifies a user's unique session ID to manage user sessions on the website. The cookie is a session cookie and will be deleted when all the browser windows are closed.\n\n\n  * Cookie\nVISITOR_PRIVACY_METADATA\n  * Duration\n6 months\n  * Description\nYouTube sets this cookie to store the user's cookie consent state for the current domain. \n\n\n  * Cookie\ncookietest\n  * Duration\nsession\n  * Description\nThe cookietest cookie is typically used to determine whether the user's browser accepts cookies, essential for website functionality and user experience.\n\n\n  * Cookie\n__Host-airtable-session\n  * Duration\n1 year\n  * Description\nThis cookie is used to enable us to integrate the services of Airtable.\n\n\n  * Cookie\n__Host-airtable-session.sig\n  * Duration\n1 year\n  * Description\nThis cookie is used to enable us to integrate the services of Airtable.\n\n\n  * Cookie\nm\n  * Duration\n1 year 1 month 4 days\n  * Description\nStripe sets this cookie for fraud prevention purposes. It identifies the device used to access the website, allowing the website to be formatted accordingly.\n\n\n  * Cookie\nBIGipServer*\n  * Duration\nsession\n  * Description\nMarketo sets this cookie to collect information about the user's online activity and build a profile about their interests to provide advertisements relevant to the user. \n\n\n  * Cookie\n__cfruid\n  * Duration\nsession\n  * Description\nCloudflare sets this cookie to identify trusted web traffic.\n\n\n  * Cookie\n_GRECAPTCHA\n  * Duration\n6 months\n  * Description\nGoogle Recaptcha service sets this cookie to identify bots to protect the website against malicious spam attacks.\n\n\n  * Cookie\n__Secure-YNID\n  * Duration\n6 months\n  * Description\nGoogle cookie used to protect user security and prevent fraud, especially during the login process.\n\n\n  * Cookie\ncookieyes-consent\n  * Duration\n1 year\n  * Description\nCookieYes sets this cookie to remember users' consent preferences so that their preferences are respected on subsequent visits to this site. It does not collect or store any personal information about the site visitors.\n\n\nFunctional\nFunctional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.\n  * Cookie\nlidc\n  * Duration\n1 day\n  * Description\nLinkedIn sets the lidc cookie to facilitate data center selection.\n\n\n  * Cookie\nbrw\n  * Duration\n1 year\n  * Description\nNo description available.\n\n\n  * Cookie\nbrwConsent\n  * Duration\n5 minutes\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nWMF-Uniq\n  * Duration\n1 year\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nloom_anon_comment\n  * Duration\n1 year\n  * Description\nNo description available.\n\n\n  * Cookie\nloom_referral_video\n  * Duration\nsession\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nVISITOR_INFO1_LIVE\n  * Duration\n6 months\n  * Description\nA cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.\n\n\n  * Cookie\nyt-remote-connected-devices\n  * Duration\nNever Expires\n  * Description\nYouTube sets this cookie to store the user's video preferences using embedded YouTube videos.\n\n\n  * Cookie\nytidb::LAST_RESULT_ENTRY_KEY\n  * Duration\nNever Expires\n  * Description\nThe cookie ytidb::LAST_RESULT_ENTRY_KEY is used by YouTube to store the last search result entry that was clicked by the user. This information is used to improve the user experience by providing more relevant search results in the future.\n\n\n  * Cookie\nyt-remote-device-id\n  * Duration\nNever Expires\n  * Description\nYouTube sets this cookie to store the user's video preferences using embedded YouTube videos.\n\n\n  * Cookie\nyt-remote-session-name\n  * Duration\nsession\n  * Description\nThe yt-remote-session-name cookie is used by YouTube to store the user's video player preferences using embedded YouTube video.\n\n\n  * Cookie\nyt-remote-fast-check-period\n  * Duration\nsession\n  * Description\nThe yt-remote-fast-check-period cookie is used by YouTube to store the user's video player preferences for embedded YouTube videos.\n\n\n  * Cookie\nyt-remote-session-app\n  * Duration\nsession\n  * Description\nThe yt-remote-session-app cookie is used by YouTube to store user preferences and information about the interface of the embedded YouTube video player.\n\n\n  * Cookie\nyt-remote-cast-available\n  * Duration\nsession\n  * Description\nThe yt-remote-cast-available cookie is used to store the user's preferences regarding whether casting is available on their YouTube video player.\n\n\n  * Cookie\nyt-remote-cast-installed\n  * Duration\nsession\n  * Description\nThe yt-remote-cast-installed cookie is used to store the user's video player preferences using embedded YouTube video.\n\n\n  * Cookie\ncp_session\n  * Duration\n3 months\n  * Description\nCodepen sets this cookie for Help systems found in the website.\n\n\n  * Cookie\nloid\n  * Duration\n1 year 1 month 4 days\n  * Description\nThis cookie is set by the Reddit. The cookie enables the sharing of content from the website onto the social media platform.\n\n\nAnalytics\nAnalytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.\n  * Cookie\n__hstc\n  * Duration\n6 months\n  * Description\nHubspot set this main cookie for tracking visitors. It contains the domain, initial timestamp (first visit), last timestamp (last visit), current timestamp (this visit), and session number (increments for each subsequent session).\n\n\n  * Cookie\nhubspotutk\n  * Duration\n6 months\n  * Description\nHubSpot sets this cookie to keep track of the visitors to the website. This cookie is passed to HubSpot on form submission and used when deduplicating contacts.\n\n\n  * Cookie\n_ga\n  * Duration\n1 year 1 month 4 days\n  * Description\nGoogle Analytics sets this cookie to calculate visitor, session and campaign data and track site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognise unique visitors.\n\n\n  * Cookie\n_ga_*\n  * Duration\n1 year 1 month 4 days\n  * Description\nGoogle Analytics sets this cookie to store and count page views.\n\n\n  * Cookie\n__Host-psifi.analyticsTrace\n  * Duration\n6 hours\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\n__Host-psifi.analyticsTraceV2\n  * Duration\n6 hours\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\n_gh_sess\n  * Duration\nsession\n  * Description\nGitHub sets this cookie for temporary application and framework state between pages like what step the user is on in a multiple step form.\n\n\n  * Cookie\nYSC\n  * Duration\nsession\n  * Description\nYSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.\n\n\n  * Cookie\najs_anonymous_id\n  * Duration\n1 year\n  * Description\nThis cookie is set by Segment to count the number of people who visit a certain site by tracking if they have visited before.\n\n\n  * Cookie\nvuid\n  * Duration\n1 year 1 month 4 days\n  * Description\nVimeo installs this cookie to collect tracking information by setting a unique ID to embed videos on the website. \n\n\nPerformance\nPerformance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.\n  * Cookie\nAWSALB\n  * Duration\n7 days\n  * Description\nAWSALB is an application load balancer cookie set by Amazon Web Services to map the session to the target.\n\n\n  * Cookie\nacq\n  * Duration\npast\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nacq.sig\n  * Duration\npast\n  * Description\nDescription is currently not available.\n\n\n  * Cookie\nptc\n  * Duration\n2 years\n  * Description\nNo description available.\n\n\nAdvertisement\nAdvertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.\n  * Cookie\nmuc_ads\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to collect user behaviour and interaction data to optimize the website.\n\n\n  * Cookie\nguest_id_marketing\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to identify and track the website visitor.\n\n\n  * Cookie\nguest_id_ads\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to identify and track the website visitor.\n\n\n  * Cookie\npersonalization_id\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to integrate and share features for social media and also store information about how the user uses the website, for tracking and targeting.\n\n\n  * Cookie\nguest_id\n  * Duration\n1 year 1 month 4 days\n  * Description\nTwitter sets this cookie to identify and track the website visitor. It registers if a user is signed in to the Twitter platform and collects information about ad preferences.\n\n\n  * Cookie\nbcookie\n  * Duration\n1 year\n  * Description\nLinkedIn sets this cookie from LinkedIn share buttons and ad tags to recognize browser IDs.\n\n\n  * Cookie\n__Secure-ROLLOUT_TOKEN\n  * Duration\n6 months\n  * Description\nYouTube sets this cookie to manage feature rollout and experimentation. It helps Google control which new features or interface changes are shown to users as part of testing and staged rollouts, ensuring consistent experience for a given user during an experiment.\n\n\n  * Cookie\nyt.innertube::nextId\n  * Duration\nNever Expires\n  * Description\nYouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen.\n\n\n  * Cookie\nyt.innertube::requests\n  * Duration\nNever Expires\n  * Description\nYouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen.\n\n\n  * Cookie\nsession_tracker\n  * Duration\nsession\n  * Description\nThis cookie is set by the Reddit. This cookie is used to identify trusted web traffic. It also helps in adverstising on the website.\n\n\n  * Cookie\nedgebucket\n  * Duration\nsession\n  * Description\nReddit sets this cookie to save the information about a log-on Reddit user, for the purpose of advertisement recommendations and updating the content.\n\n\n  * Cookie\ndid\n  * Duration\n1 year\n  * Description\nArbor sets this cookie to show targeted ads to site visitors.This cookie expires after 2 months or 1 year.\n\n\nUncategorised\nOther uncategorised cookies are those that are being analysed and have not been classified into a category as yet.\nNo cookies to display.\nReject All Save My Preferences Accept All\nToggle Search[](https://towardsdatascience.com/)Toggle Mobile Navigation\n[](https://towardsdatascience.com/)\nPublish AI, ML & data-science insights to a global community of data professionals.\nSign in[Submit an Article](https://write.insightmediagroup.io)\n[Latest](https://towardsdatascience.com/latest/)[Editor's Picks](https://towardsdatascience.com/tag/editors-pick/)[Newsletter](https://towardsdatascience.com/tag/the-variable/)[ShipAI](https://towardsdatascience.com/shipai/)\n* * *\n[Write For TDS](https://towardsdatascience.com/submissions/)\n[LinkedIn](https://www.linkedin.com/company/towards-data-science/)[X](https://x.com/TDataScience)Toggle Search\n[Deep Learning](https://towardsdatascience.com/category/artificial-intelligence/deep-learning/)\n# Understanding Kolmogorov-Arnold Networks (KAN)\nWhy KANs are a potential alternative to MPLs and the current landscape of Machine Learning. Let's go through the paper to find out.\n[Hesam Sheikh](https://towardsdatascience.com/author/itshesamsheikh/)\nMay 7, 202410 min read\n# Understanding Kolmogorov–Arnold Networks (KAN)\n![](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/0e-5Uz6ytgIy6Y2Gt.png)\nA new research paper titled [**KAN: Kolmogorov–Arnold Network**](https://arxiv.org/abs/2404.19756) has stirred excitement in the Machine Learning community. It presents a fresh perspective on Neural Networks and suggests a possible alternative to Multi-Layer Perceptrons (MLPs), a cornerstone of current Machine Learning.\n_✨This is a paid article. If you're not a Medium member, you can read this for free in my newsletter:_[_**Qiubyte**_](https://hesamsheikh.substack.com/) _**.**_\nInspired by the [**Kolmogorov-Arnold representation theorem**](https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Arnold_representation_theorem), KANs diverge from traditional Multi-Layer Perceptrons (MLPs) by replacing **fixed activation functions** with **learnable functions** , effectively eliminating the need for linear weight matrices.\nI strongly recommend reading through this paper if you're interested in the finer details and experiments. However, if you prefer a concise introduction, I've prepared this article to explain the essentials of KANs.\n  * _Note: The source of the images/figures used in this article is the \"KAN: Kolmogorov–Arnold Network\" paper unless stated otherwise._\n\n\nLearn this step by step with the interactive [Machine Learning](https://roadmap.sh/machine-learning) roadmap.\n## The Theory\nThe theoretical pillar of these new networks is a theory developed by two Soviet mathematicians, [Vladimir Arnold](https://en.wikipedia.org/wiki/Vladimir_Arnold) and [Andrey Kolmogorov](https://en.wikipedia.org/wiki/Andrey_Kolmogorov).\n> While a student of [Andrey Kolmogorov](https://en.wikipedia.org/wiki/Andrey_Kolmogorov) at [Moscow State University](https://en.wikipedia.org/wiki/Moscow_State_University) and still a teenager, Arnold showed in 1957 that any continuous function of several variables can be constructed with a finite number of two-variable functions, thereby solving [Hilbert's thirteenth problem](https://en.wikipedia.org/wiki/Hilbert%27s_thirteenth_problem). (source: [Wikipedia](https://en.wikipedia.org/wiki/Vladimir_Arnold))\nThe theory that they worked on and eventually developed was based on the concept of multivariate continuous functions. According to this theory, any multivariate continuous function **f** can be written as a finite composition of continuous functions of a single variable, summed together.\n![The mathematical formula of the Kolmogorov–Arnold representation theorem. \\(source: Wikipedia\\)](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1YCGXKRlv8_seAWewVBWVkw.png)\nThe mathematical formula of the Kolmogorov–Arnold representation theorem. (source: [Wikipedia](https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Arnold_representation_theorem))\n### How Does This Theorem Fit into Machine Learning?\nIn machine learning, the ability to **efficiently** and **accurately** approximate complex functions is an important subject, especially as the dimensionality of data increases. Current mainstream models such as Multi-Layer Perceptrons (MLPs) often struggle with high-dimensional data - a phenomenon known as the [**curse of dimensionality**](https://en.wikipedia.org/wiki/Curse_of_dimensionality).\nThe Kolmogorov-Arnold theorem, however, provides a theoretical foundation for building networks (like KANs) that can overcome this challenge.\n![An overview comparison of MLP and KAN.](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1g4QnTtE_sBGwv_eVSMYyPg.png)\nAn overview comparison of MLP and KAN.\n**How can KAN avoid the curse of dimensionality?**\nThis theorem allows for the decomposition of complex high-dimensional functions into compositions of simpler one-dimensional functions. By focusing on optimizing these one-dimensional functions rather than the entire multivariate space, KANs reduce the complexity and the number of parameters needed to achieve accurate modeling. Furthermore, Because of working with simpler one-dimensional functions, KANs can be simple and interpretable models.\n> [**Platonic Representation: Are AI Deep Network Models Converging?**](https://towardsdatascience.com/platonic-representation-hypothesis-c812813d7248)\n## What Are Kolmogorov–Arnold Networks (KAN)?\nKolmogorov-Arnold Networks, a.k.a KANs, is a type of neural network architecture inspired by the Kolmogorov-Arnold representation theorem. Unlike traditional neural networks that use **fixed activation functions** , KANs employ **learnable activation** functions on the **edges** of the network. This allows every weight parameter in a KAN to be replaced by a univariate function, typically parameterized as a **spline** , making them highly flexible and capable of modeling complex functions with potentially fewer parameters and enhanced interpretability.\n![KAN leverages the structure of MLP while benefiting from splines.](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/18GPRDl_9tCq5EyJhCPKy2w.png)\nKAN leverages the structure of MLP while benefiting from splines.\n### KAN architecture\nThe architecture of Kolmogorov-Arnold Networks (KANs) revolves around a novel concept where traditional weight parameters are replaced by univariate function parameters on the edges of the network. Each node in a KAN sums up these function outputs without applying any nonlinear transformations, in contrast with MLPs that include linear transformations followed by nonlinear activation functions.\n![KAN vs MLP formula.](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1cdrsX91vJMQenZ_UUxD6tg.png)\nKAN vs MLP formula.\n### B-Splines: The Core of KAN\nSurprisingly, one of the most important figures in the paper can be missed easily. It's the description of Splines. Splines are the backbone of KAN's learning mechanism. They replace the traditional weight parameters typically found in neural networks.\n![A detailed view of a spline structure.](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1EfwycxCthReN6N4pzcWlZg.png)\nA detailed view of a spline structure.\nThe flexibility of splines allows them to adaptively model complex relationships in the data by adjusting their shape to minimize approximation error, therefore, enhancing the network's capability to learn subtle patterns from high-dimensional datasets.\nThe general formula for a spline in the context of KANs can be expressed using B-splines as follows:\n![](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1FM4FhIYOlj1oqkAobbqB-g.png)\nHere, _𝑠pline(𝑥) r_epresents the spline function. ci​ __ are the coefficients that are optimized during training, and 𝐵𝑖(𝑥) are the B-spline basis functions defined over a grid. The grid points define the intervals where each basis function 𝐵𝑖​ is active and significantly affects the shape **and sm** ooth**ness of the** spline. You can think of them as a hyperp**arameter that a** ffects the accuracy of the network. More grids mean more c**ontrol and p** recis**ion, also** resulting in more parameters to learn.\n![Training a KAN through multiple steps. \\(source: GitHub\\)](https://assets.insightmediagroup.io/media/0*QBhTR7t1mGA17use)\nTraining a KAN through multiple steps. (source: [GitHub](https://github.com/KindXiaoming/pykan))\nDuring training, the _ci_ parameters of these splines (the coefficients of the basis functions _Bi(x)_ ) are optimized to **minimize the loss function** , thus adjusting the shape of the spline to best fit the training data. This optimization often involves techniques like [gradient descent](https://en.wikipedia.org/wiki/Gradient_descent), where each iteration updates the spline parameters to reduce prediction error.\n### The Best of Two Worlds\nWhile KAN is based on the **Kolmogorov-Arnold representation theorem,** it is just as inspired by MLPs, _\"leveraging their respective strengths and avoiding their respective weaknesses_ \". KAN benefits the structure of MLP on the outside, and splines on the inside.\n> As a result, KANs can not only learn features (thanks to their external similarity to MLPs), but can also optimize these learned features to great accuracy (thanks to their internal similarity to splines).\n## Network Simplification\n![An overview of the network symbolification.](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1yiGuSyDS-VRI_GK8M5RC1w.png)\nAn overview of the network symbolification.\nThe paper goes on to explain some methods to simplify the network and our interpretation of them. I will only proceed to refer to two of them which were fascinating to me.\n  1. **Symbolification** : KAN is constructed by approximating functions using compositions of simpler, often interpretable functions. This results in their unique ability to hand over **interpretable mathematical formulas** , such as shown in the figure above.\n  2. **Pruning** : The other aspect of KANs discussed in the paper is about optimizing the network architecture by **removing less important nodes** or connections after the network has been trained. This process helps in reducing the complexity and size. Pruning focuses on identifying and eliminating those parts of the network that contribute minimally to the output. This makes the network lighter and potentially more interpretable.\n\n\n## Is KAN New?\nKolmogorov-Arnold representation theorem is not new**,** so why has the practice of using it in machine learning not been studied before? As the paper explains, multiple attempts have been made...\n> However, most work has stuck with the original depth-2 width-(2n + 1) representation, and did not have the chance to leverage more modern techniques (e.g., back propagation) to train the networks.\n![Visual representation of KAN, created by DALLE-3.](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/0lDWFCD_UO1rZigH-.jpg)\nVisual representation of KAN, created by DALLE-3.\nThe novelty of the paper is to adapt this idea and apply it to the current landscape of ML. Using arbitrary network architecture (depth, width) and employing techniques such as backpropagation and pruning, KAN is closer to practical use cases than previous studies.\n> the Kolmogorov-Arnold representation theorem was basically sentenced to death in machine learning, regarded as theoretically sound but practically useless.\nSo even though there have been attempts to use Kolmogorov-Arnold representation theorem in ML, it's fair to say KAN is a novel approach in that it is aware of where ML stands today. It's a good update to an idea explored before on a limited scale.\n## 4 Fascinating Examples\nThe paper compares KAN and MLP on several criteria, most of which are gripping. In this part, I will proceed to list some of these interesting examples. The full details of these examples and more are in the paper.\n### Fitting Symbolic Formulas\nThis is an example of training various MLPs and a KAN to fit certain functions of various input dimensions. As can be seen below, KAN has much better **scalability** compared to MLPs (at least in this range of parameter numbers).\n> This highlights the greater expressive power of deeper KANs, which is the same for MLPs: deeper MLPs have more expressive power than shallower ones.\n![](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/10dWN-H3A6B5KK6W16S5bcA.png)\n### Special Functions\nAnother example in the paper is to compare KAN and MLP on fitting 15 special functions common in math and physics. The result shows that in almost all of these functions, KANs achieve a **lower train/test loss** having the same number of parameters compared to MLPs.\n![](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1oyTqPrEom6p16ZFngXtCcQ.png)\n### Continual Learning\nContinual Learning is the quality of how networks can adapt to new information over time without forgetting previously learned knowledge. It is a significant challenge in neural network training, particularly in avoiding the problem of **catastrophic forgetting** , where acquiring new knowledge leads to a rapid erosion of previously established information.\nKANs demonstrate an ability to retain learned information and adapt to new data without catastrophic forgetting, thanks to the **local nature** of spline functions. Unlike MLPs, which rely on global activations that might unintentionally affect distant parts of the model, KANs modify only a limited set of nearby spline coefficients with each new sample. This focused adjustment preserves previously stored information in other parts of the spline.\n![](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1csWoVadMzgxEYfH5Fyj59Q.png)\n### Partial Differential Equation solving\n> PDE solving, a 2-Layer width-10 KAN is 100 times more accurate than a 4-Layer width-100 MLP (10−7 vs 10−5 MSE) and 100 times more parameter efficient (102 vs 104 parameters).\n![](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1VET7X_m4D5dzC6isEcGgyQ.png)\n* * *\nThe paper continues to present more experiments. One of them includes applying KANs to the problem of [**geometric knot invariant**](https://en.wikipedia.org/wiki/Knot_invariant#:~:text=A%20knot%20invariant%20is%20a%20quantity%20defined%20on%20the%20set,quantity%20defined%20on%20knot%20diagrams.), achieving **81.6%** test accuracy with a **200** -parameter KAN, while an MLP model by Google Deepmind achieves **78%** having *_~ 3_ 10⁵** parameters. This experiment was performed on the\n## Final Thoughts\n### Is the hype over KAN worth it?\nIt depends on your perspective. The reason KAN is being discussed so far is that it's a potential light at the end of the ML tunnel. I have discussed in [**\"AI Is Hitting A Hard Ceiling It Can't Pass\"**](https://www.linkedin.com/feed/update/urn:li:activity:7192221468741582848/) how we need fresh innovations to guide us through the future barriers of Machine Learning, namely **Data** and **Computation**. KANs, though not intentionally, can be a way out.\nKAN is written with scientific applications of AI in mind, but already people are using it to mix various ML cocktails, including Multihead Attention.\n_**UPDATE: You can read about my experiment of training KAN on the MNIST dataset to test it out on computer vision tasks, don't miss it 👇**_\n### Tweet not found\nThe embedded tweet could not be found…\n### KAN + LLM?\nThe paper focuses mainly on the **AI + Science** applications of Kolmogorov-Arnold Networks due to their ability to model and discover complex scientific laws and patterns effectively. KANs are particularly suited for tasks that require the **understanding** and **interpreting** of underlying physical principles, as their structure allows for the decomposition of functions into symbolic mathematical expressions. This makes them ideal for scientific research where discovering such relationships is crucial, unlike in large language models (LLMs) where the primary goal often revolves around processing a mammoth corpus of data for natural language understanding and generation.\n### Author's Notes\nI encourage you to also read the [author's notes ](https://github.com/KindXiaoming/pykan?tab=readme-ov-file#authors-note)on the GitHub page. It provides perspective on what KAN was aimed for, and what could be in the future.\n> The most common question I've been asked lately is whether KANs will be next-gen LLMs. I don't have good intuition about this. KANs are designed for applications where one cares about high accuracy and/or interpretability. We do care about LLM interpretability for sure, but interpretability can mean wildly different things for LLM and for science. Do we care about high accuracy for LLMs? I don't know, scaling laws seem to imply so, but probably not too high precision. Also, accuracy can also mean different things for LLM and for science. This subtlety makes it hard to directly transfer conclusions in our paper to LLMs, or machine learning tasks in general.\n![&quot;KAN: Kolmogorov–Arnold Networks&quot; paper.](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/05/1H2fUb_w3XCLtCP1hWVnnaA.png)\n\"KAN: Kolmogorov–Arnold Networks\" paper.\n### Conclusion\nIn my view, it's best to look at KAN for what it is, rather than what we like it to be. This doesn't mean KAN is **impossible** to be integrated within LLMs, already there is an efficient [**PyTorch implementation of KAN**](https://github.com/Blealtan/efficient-kan). But it has to be noted, it is too soon to call KAN _revolutionary_ or _game-changing_. KAN simply needs more experiments done by community experts.\nWhile KANs offer significant advantages in certain contexts, they come with limitations and considerations that beget caution:\n  1. **Complexity and Overfitting** : KANs can potentially overfit, especially in scenarios with limited data. Their ability to form complex models might capture noise as significant patterns, leading to poor generalization.\n  2. **Computation:** KANs may face challenges with GPU optimization due to their specialized nature, which can disrupt parallel processing. This architecture could result in slower operations on GPUs, necessitating serialization and leading to inefficient memory utilization, potentially making CPUs a more suitable platform for these networks.\n  3. **Applicability:** KANs are primarily designed for scientific and engineering tasks where understanding the underlying function is crucial. They might not be as effective in domains requiring large-scale pattern recognition or classification, such as image recognition or natural language processing, where simpler or more abstract models might suffice.\n\n\nI have to add this has been an amazing paper to read. It's always exciting to think outside the box and KAN certainly achieves that.\n💬 How do you see the potential of KAN? Is it going to niche down to science, or play a key role in our daily AI products?\n* * *\n**🌟 Join +1000 people learning about**\nPython🐍 , ML/MLOps/AI🤖, Data Science📈 , and LLM 🗯\n[**follow me**](https://medium.com/@itshesamsheikh/subscribe) and check out my **X/Twitter** , where I keep you updated **Daily** :\nThanks for reading,\n— Hesam\n## Register Now to Continue Reading\n### Unlock Towards Data Science with a Free Account\nAll articles on Towards Data Science are available to registered users. Create a free account today to access this article and thousands more.\nRegister for freeSign in to your account\n* * *\n![](https://assets.insightmediagroup.io/media/1787657497520_1vlj6x.png)\nWritten By\n## [Hesam Sheikh](https://towardsdatascience.com/author/itshesamsheikh/)\n[See all from Hesam Sheikh](https://towardsdatascience.com/author/itshesamsheikh/)\n[Deep Learning](https://towardsdatascience.com/tag/deep-learning/)[Kan](https://towardsdatascience.com/tag/kan/)[Machine Learning](https://towardsdatascience.com/tag/machine-learning/)[ML](https://towardsdatascience.com/tag/ml/)[Neural Networks](https://towardsdatascience.com/tag/neural-networks/)\nShare This Article\n  * [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Ftowardsdatascience.com%2Fkolmogorov-arnold-networks-kan-e317b1b4d075%2F&title=Understanding%20Kolmogorov-Arnold%20Networks%20\\(KAN\\))\n  * [](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Ftowardsdatascience.com%2Fkolmogorov-arnold-networks-kan-e317b1b4d075%2F&title=Understanding%20Kolmogorov-Arnold%20Networks%20\\(KAN\\))\n  * [](https://x.com/share?url=https%3A%2F%2Ftowardsdatascience.com%2Fkolmogorov-arnold-networks-kan-e317b1b4d075%2F&text=Understanding%20Kolmogorov-Arnold%20Networks%20\\(KAN\\))\n\n\nTowards Data Science is a community publication. Submit your insights to reach our global audience and earn through the TDS Author Payment Program.\n[Write for TDS](https://towardsdatascience.com/submissions/)\n## Related Articles\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2021/03/1abwIn-BmZOfE8dpJLSEYjw.png)](https://towardsdatascience.com/a-machine-learning-engineers-tutorial-to-transfer-learning-for-multi-class-image-segmentation-b34818caec6b/)\n## [A Machine Learning Engineer's Tutorial to Transfer Learning for Multi-class Image Segmentation...](https://towardsdatascience.com/a-machine-learning-engineers-tutorial-to-transfer-learning-for-multi-class-image-segmentation-b34818caec6b/)\n[Machine Learning](https://towardsdatascience.com/category/artificial-intelligence/machine-learning/)\nA Debugging Guide for optimal parameterization of Segmentation models\n[Dr. Sohini Roychowdhury](https://towardsdatascience.com/author/sohini_55473/)\nMarch 11, 20218 min read\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2021/04/1-XJJ9Ka6UeOeB6Yzraunbg.png)](https://towardsdatascience.com/evaluation-and-prediction-of-students-academic-performance-during-covid-19-40bb2b90141b/)\n## [Evaluation and Prediction of Student's Academic Performance during Covid-19](https://towardsdatascience.com/evaluation-and-prediction-of-students-academic-performance-during-covid-19-40bb2b90141b/)\n[Machine Learning](https://towardsdatascience.com/category/artificial-intelligence/machine-learning/)\nIt's that time of the year again. Shifting through last minutes notes on the morning of the exam, devouring your breakfast like an ape to...\n[Kartikaya Srivastava](https://towardsdatascience.com/author/kartiksrivas/)\nApril 20, 20214 min read\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2026/05/AImodelsconverge.png)](https://towardsdatascience.com/how-major-reasoning-models-converge-to-the-same-brain-as-they-model-reality-increasingly-better/)\n## [How Major Reasoning Models Converge to the Same “Brain” as They Model Reality Increasingly Better](https://towardsdatascience.com/how-major-reasoning-models-converge-to-the-same-brain-as-they-model-reality-increasingly-better/)\n[Artificial Intelligence](https://towardsdatascience.com/category/artificial-intelligence/)\nBecause there's only one reality to model!\n[Luciano Abriata](https://towardsdatascience.com/author/lucianosphere/)\nMay 7, 20267 min read\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2024/07/1wonLSrQLvFeiO4u8Svd28Q.png)](https://towardsdatascience.com/understanding-and-implementing-medprompt-77bbd2777c91/)\n## [Understanding and Implementing Medprompt](https://towardsdatascience.com/understanding-and-implementing-medprompt-77bbd2777c91/)\n[ChatGPT](https://towardsdatascience.com/category/artificial-intelligence/chatgpt/)\nDigging into the details behind the prompting framework\n[Anand Subramanian](https://towardsdatascience.com/author/anand.subu10/)\nJuly 6, 202414 min read\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2021/02/1uoY22oIprwMb1_nUw3qlDQ.jpeg)](https://towardsdatascience.com/what-you-should-know-before-starting-a-career-in-data-analytics-4a39e80bafa0/)\n## [What You Should Know Before Starting a Career in Data Analytics](https://towardsdatascience.com/what-you-should-know-before-starting-a-career-in-data-analytics-4a39e80bafa0/)\n[Artificial Intelligence](https://towardsdatascience.com/category/artificial-intelligence/)\nExpectations versus reality\n[Vicky Yu](https://towardsdatascience.com/author/madfordata/)\nFebruary 6, 20214 min read\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2019/09/13GaoZkMergAAFkltqfaYdA-scaled.jpeg)](https://towardsdatascience.com/is-online-poker-dead-647b2a78cae9/)\n## [Is Online Poker Dead?](https://towardsdatascience.com/is-online-poker-dead-647b2a78cae9/)\n[Artificial Intelligence](https://towardsdatascience.com/category/artificial-intelligence/)\nThe Next Casualty for AI\n[Jye Sawtell-Rickson](https://towardsdatascience.com/author/jyesr/)\nSeptember 17, 20193 min read\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2026/03/outlier_scoring_en_clean.jpg)](https://towardsdatascience.com/building-robust-credit-scoring-models-part-3/)\n## [Building Robust Credit Scoring Models (Part 3)](https://towardsdatascience.com/building-robust-credit-scoring-models-part-3/)\n[Machine Learning](https://towardsdatascience.com/category/artificial-intelligence/machine-learning/)\nHandling outliers and missing values in borrower data using Python.\n[JUNIOR JUMBONG](https://towardsdatascience.com/author/jumbongjunior1999/)\nMarch 20, 202615 min read\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2022/10/0U3cCzkY7bhrJxvv--scaled.jpg)](https://towardsdatascience.com/how-to-accelerate-your-pytorch-training-with-xla-on-aws-3d599bc8f6a9/)\n## [How to Accelerate your PyTorch GPU Training with XLA](https://towardsdatascience.com/how-to-accelerate-your-pytorch-training-with-xla-on-aws-3d599bc8f6a9/)\n[Deep Learning](https://towardsdatascience.com/category/artificial-intelligence/deep-learning/)\nThe Power of PyTorch/XLA and how Amazon SageMaker Training Compiler Simplifies its use\n[Chaim Rand](https://towardsdatascience.com/author/chaimrand/)\nOctober 17, 202211 min read\n  * [![](https://assets.insightmediagroup.io/media/wp-content/uploads/2020/10/0ujOEngL32w4mX-a1-scaled.jpg)](https://towardsdatascience.com/data-preparation-guide-for-detecting-histopathologic-cancer-detection-7b96d6a12004/)\n## [Data Preparation Guide for detecting Histopathologic Cancer Detection](https://towardsdatascience.com/data-preparation-guide-for-detecting-histopathologic-cancer-detection-7b96d6a12004/)\n[Machine Learning](https://towardsdatascience.com/category/artificial-intelligence/machine-learning/)\nGuide on how to prepare data for model training for Kaggle's Histopathologic Cancer Detection.\n[Abdul Qadir](https://towardsdatascience.com/author/aq-abdulqadir/)\nOctober 26, 20207 min read\n\n\n  * [YouTube](https://www.youtube.com/c/TowardsDataScience)\n  * [X](https://x.com/TDataScience)\n  * [LinkedIn](https://www.linkedin.com/company/towards-data-science/)\n  * [Threads](https://www.threads.net/@towardsdatascience)\n  * [Bluesky](https://bsky.app/profile/towardsdatascience.com)\n\n\n[](https://towardsdatascience.com/)\nYour home for data science and AI. The world's leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.\nSubscribe to Our Newsletter[Write For TDS](https://towardsdatascience.com/submissions/)•[About](https://towardsdatascience.com/about-towards-data-science-d691af11cc2f/)•[Advertise](https://contact.towardsdatascience.com/advertise-with-towards-data-science)•[Privacy Policy](https://towardsdatascience.com/privacy-policy/)•[Terms of Use](https://towardsdatascience.com/website-terms-of-use/)\n© Insight Media Group, LLC 2026•[The New Stack](https://thenewstack.io)•[roadmap.sh](https://roadmap.sh)•[Creator Network](https://insightmediagroup.io/creator-network)\n####  Recommended Articles \nClose\n  * [ ![](https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607686/image?etag=1782161464448&width=500&height=500) How Relevance Models Foreshadowed Transformers for NLP ](https://towardsdatascience.com/how-relevance-models-foreshadowed-transformers-for-nlp/ \"How Relevance Models Foreshadowed Transformers for NLP\")\n  * [ ![](https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607639/image?etag=1781250125848&width=500&height=500) Javascript Fatigue: HTMX Is All You Need to Build ChatGPT — Part 1 ](https://towardsdatascience.com/javascript-fatigue-you-dont-need-js-to-build-chatgpt/ \"Javascript Fatigue: HTMX Is All You Need to Build ChatGPT — Part 1\")\n  * [ ![](https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/607930/image?etag=1782124566054&width=500&height=500) The Subset Sum Problem Solved in Linear Time for Dense Enough Inputs ](https://towardsdatascience.com/subset-sum-problem-solved-in-linear-time-for-dense-enough-inputs/ \"The Subset Sum Problem Solved in Linear Time for Dense Enough Inputs\")\n  * [ ![](https://h030.towardsdatascience.com/rest/v2/contentStores/d7d3a4ab-7caf-4383-bbd2-fbf7fb4f1787/items/3660/image?etag=1780176246070&width=500&height=500) Does Your Company Have a Data Strategy? ](https://towardsdatascience.com/does-your-company-have-a-data-strategy-e8944dbec4ae/ \"Does Your Company Have a Data Strategy?\")\n\n\n",
  "body_base_path": "attachments/918a17c094d3/pages/",
  "body_markdown_path": "attachments/918a17c094d3/pages/archived-body.md",
  "local_html": "attachments/918a17c094d3/pages/archived-body.html",
  "body_source": "prior_capture"
}