AF-KAN: Activation Function-Based Kolmogorov-Arnold Networks for Efficient Representation Learning

Hoang-Thang Ta, Anh Tran
3/8/2025
cs.LGcs.CL

Official code: hoangthangta/All-KAN (34 stars, MIT, last commit 2026-03-04).

Abstract

Kolmogorov-Arnold Networks (KANs) have inspired numerous works exploring their applications across a wide range of scientific problems, with the potential to replace Multilayer Perceptrons (MLPs). While many KANs are designed using basis and polynomial functions, such as B-splines, ReLU-KAN utilizes a combination of ReLU functions to mimic the structure of B-splines and take advantage of ReLU's speed. However, ReLU-KAN is not built for multiple inputs, and its limitations stem from ReLU's handling of negative values, which can restrict feature extraction. To address these issues, we introduce Activation Function-Based Kolmogorov-Arnold Networks (AF-KAN), expanding ReLU-KAN with various activations and their function combinations. This novel KAN also incorporates parameter reduction methods, primarily attention mechanisms and data normalization, to enhance performance on image classification datasets. We explore different activation functions, function combinations, grid sizes, and spline orders to validate the effectiveness of AF-KAN and determine its optimal configuration. In the experiments, AF-KAN significantly outperforms MLP, ReLU-KAN, and other KANs with the same parameter count. It also remains competitive even when using fewer than 6 to 10 times the parameters while maintaining the same network structure. However, AF-KAN requires a longer training time and consumes more FLOPs. The repository for this work is available at https://github.com/hoangthangta/All-KAN.

View on arXivView PDF

Code Implementations(1)

MIT

All-KAN: All Kolmogorov-Arnold Networks We Know

342Shell, PythonDec 8, 20247 months agoMIT
b-splinesfunction-fittingimage-classificationkolmogorov-arnold-networksradial-basis-function+1 more

Similar Papers

Cite this paper

@article{ta2025afkan,
  title  = {AF-KAN: Activation Function-Based Kolmogorov-Arnold Networks for Efficient Representation Learning},
  author = {Hoang-Thang Ta and Anh Tran},
  year   = {2025},
  eprint = {2503.06112},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06112v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.06112.svg)](https://codeofpaper.com/paper/2503.06112)

Discussion