Kolmogorov-Arnold Fourier Networks

Jusheng Zhang, Yijia Fan, Kaitong Cai, Keze Wang · Submission to ICLR 2026 · Desk rejected

TL;DR

Kolmogorov-Arnold Networks (KANs) offer strong theoretical interpretability by placing learnable univariate splines on network edges, but suffer from parameter explosion and high computational cost on GPUs. Kolmogorov-Arnold-Fourier Networks (KAF) resolve this by replacing local B-splines with trainable Random Fourier Features (RFF) combined with an adaptive GELU base activation. This decouples parameter count from grid resolution, accelerates inference by up to $11.7\times$ over KANs, and delivers competitive performance across vision, NLP, and PDE-solving tasks.

What Problem Does This Paper Address?

Traditional Multilayer Perceptrons (MLPs) use fixed nonlinear activation functions (like ReLU or GELU) at nodes, while recently proposed KANs place learnable B-spline functions on the edges. While KANs boast elegant mathematical properties rooted in the Kolmogorov-Arnold representation theorem, they exhibit two major bottlenecks in modern, high-dimensional AI workloads:

  1. Parameter Explosion & GPU Inefficiency: KANs discretize space into $G$ grid intervals, multiplying edge parameters by $\mathcal{O}(G)$. The localized, piecewise nature of B-splines also maps poorly onto GPU tensor architectures.
  2. Spectral Bias and High-Frequency Loss: Splines are inherently smooth, making it difficult for standard KANs to capture high-frequency components without fine grids, which balloon parameter counts.

Methods

KAF introduces spectral reparameterization to retain the additive univariate structure of the Kolmogorov-Arnold theorem while drastically improving efficiency:

  • Hybrid GELU-Fourier Activation: Instead of pure splines, each layer computes: $$h^{(l)} = W^{(l)}\Big(a^{(l)} \odot \text{GELU}(\tilde{x}^{(l)}) + b^{(l)} \odot \tilde{\phi}(\tilde{x}^{(l)})\Big) + c^{(l)}$$ where $\tilde{x}^{(l)}$ is normalized via LayerNorm, $\tilde{\phi}(\cdot)$ represents trainable Random Fourier Features (RFF), and $a, b$ are learnable channel-wise scale parameters.

  • Trainable Random Fourier Features (RFF): RFF maps inputs to global trigonometric bases $[\cos(\langle x, W \rangle + b) \oplus \sin(\langle x, W \rangle + b)]$, breaking the $\mathcal{O}(G)$ grid-dependency and reducing parameter complexity relative to resolution to $\mathcal{O}(1)$.

  • Analytic Spectral Alignment ($\sigma = 1.64$): By analyzing the continuous Fourier transform and spectral energy density of GELU, the authors derive an optimal initialization scale ($\sigma \approx 1.64$) that matches GELU's spectral cutoff frequency to the RFF sampling bandwidth.
  • Coarse-to-Fine Training Dynamics: Initializing the Fourier weight scale small ($b^{(0)} = 10^{-2}$) ensures the network first captures stable, low-frequency global trends via GELU before expanding into high-frequency details.

Datasets

The authors evaluate KAF across a diverse set of domains:

  • Vision Classification: MNIST, EMNIST (Balanced & Letters), KMNIST, Fashion-MNIST, SVHN, CIFAR-10, CIFAR-100, and ImageNet-1K.
  • Tabular, Audio, and NLP Benchmarks: Titanic, Wine, Bean, Rice, SpeechCommand, UrbanSound8K, CoLA, and AG News.
  • Large Language Modeling: Wikitext-103 and OpenWebText using a GPT-2 (Small) backbone.
  • Scientific Benchmarks: 8 synthetic function approximation tasks (e.g., Bessel, multi-scale, and discontinuous functions) and 4 partial differential equations (Poisson, 1D Wave, Heat, and Burgers' equations).

Key Insights and Ideas

  • Decoupling Resolution from Parameter Size: Standard KAN parameters grow linearly with grid divisions $G$. KAF represents continuous functional variations globally via frequency projections, matching fine-grained expressiveness without scaling weights.
  • Preventing "Periodicity Bias": Pure Fourier networks (such as SIREN or Pure RFF-KAN) suffer catastrophic failure when extrapolating unbounded non-periodic trends (e.g., $f(x) = x^2$ yields an MSE of $1.1$). The dual GELU branch acts as an anchor for global low-frequency trends, keeping extrapolation error low ($9.1 \times 10^{-4}$).
  • Steeper Neural Scaling Law: When plotting parameter count against test loss on log-log scales, KAF exhibits a scaling exponent ($\alpha \approx 0.22$) notably steeper than standard MLPs ($\alpha \approx 0.09$) and KANs ($\alpha \approx 0.14$).

Key Results

  • Inference Speedup: On ResNet-18, KAF runs at 3.6 ms/image, achieving an $11.7\times$ speedup over KAN (42.1 ms) and staying within 0.2 ms of a standard MLP (3.4 ms).
  • Vision Accuracy: Under optimized training settings, KAF-ResNet-18 reaches 93.15% on CIFAR-10. KAF-ViT-Tiny attains 79.3% top-1 accuracy on ImageNet-1K (surpassing the 72.3% standard and 78.8% baseline MLP).
  • Language Modeling (GPT-2): Replacing the standard FFN with KAF on Wikitext-103 lowers perplexity from 37.50 to 28.37 in roughly the same training time (21h 42m vs. 21h 28m). In contrast, standard KAN failed to converge (perplexity $> 39,000$) while taking over 304 hours.
  • PDE Solving & Noise: KAF matches or beats KAN in low-error PDE fitting while outperforming both MLP and KAN under high-frequency spectral noise (30dB SNR).

Limitations and Future Work

  • Sensitivity to Initialization: The learnable RFF projections remain sensitive to frequency weight initialization and hyperparameter selection; improper variance can degrade training dynamics.
  • Future Work: The authors highlight extending KAF layers into larger multi-billion parameter foundation models, developing more robust self-adaptive RFF initialization schemes, and optimizing specialized CUDA kernels for RFF concatenation steps.

Summary updated

BibTeX
@misc{zhang2025kolmogorov,
  author = {Jusheng Zhang and Yijia Fan and Kaitong Cai and Keze Wang},
  title = {{Kolmogorov-Arnold Fourier Networks}},
  year = {2025},
  eprint = {2502.06018},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.06018},
}
Figure