All models

AF-KAN

AF-KAN, a Kolmogorov-Arnold network built from combinations of common activation functions.

54 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (30 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
53.3K
Operations
54
Framework
PyTorch
Recurrent
No
Published
2025
Cited by
7 (as of 12 November 2026)
Authors
Hoang-Thang Ta, Anh Tran
License
LicenseRef-All-KAN-Academic-NonCommercial
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14513
Graph hash
074dd803d2caf644b0ebf71d87ddc5cf2f2082d37973b0f586539c2291fe63d9
Skeleton hash
87aad9c8d42b6d1f3014d45e49110bd6aa43c254573caae79324d3ca6c57e9bd
Architecture hash
3cfb62f6c6de5de784f38493e3fde95881df8cfccacf20ad08a3d30327c7b17f
Diagram SHA-256
8901d562d67146a05f1cb25983911b7bb7e1d40ebd61cbaeb2f4711959f01aa7
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

AF-KAN, short for Activation Function-Based Kolmogorov-Arnold Networks, belongs to the Kolmogorov-Arnold Networks (KANs), which the paper describes as having the potential to replace Multilayer Perceptrons. It builds on ReLU-KAN, which uses a combination of ReLU functions to mimic the structure of B-splines.

AF-KAN generalizes that design to various activation functions, among them ReLU, SiLU, GeLU, ELU and SeLU, and to combination types from single functions to cubic forms. Each basis function combines act(x − l) and act(h − x), where the phase low l and the phase high h are trainable parameters. Attention mechanisms and data normalization are applied to reduce the number of parameters. Unlike the original ReLU-KAN, which was designed for a single input, AF-KAN handles multiple inputs.

The paper evaluates on the MNIST and Fashion-MNIST image datasets. It reports that AF-KAN outperforms MLP, ReLU-KAN and other KANs with the same parameter count. The authors also note that AF-KAN requires a longer training time and consumes more FLOPs.

Key idea. AF-KAN extends ReLU-KAN to many activation functions and their combinations, and adds attention mechanisms and data normalization to reduce the parameter count.

  • af-kan
  • activation function-based kolmogorov-arnold networks
  • kolmogorov-arnold network
  • kan
  • activation functions
  • parameter reduction
  • image classification
  • mnist
  • fashion-mnist

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{ta2025afkanactivationfunctionbasedkolmogorovarnold,
      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},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2503.06112}, 
}