Abstract
Graph Neural Networks (GNNs) traditionally rely on Multi-Layer Perceptrons (MLPs) for feature transformation. This paper introduces Kolmogorov-Arnold Graph Neural Networks (KAGNNs), which replace MLPs with Kolmogorov-Arnold Networks (KANs). By placing learnable activation functions on edges rather than nodes, KAGNNs demonstrate significant improvements in graph regression tasks and competitive performance in classification. We evaluate variants based on B-splines and Radial Basis Functions (RBFs), finding that RBF-based KAGNNs offer a computationally efficient alternative that matches the speed of traditional MLPs while retaining the expressive power of KANs.
Introduction
Graph Neural Networks (GNNs) have become the standard for learning on non-Euclidean data, such as social networks, molecular structures, and citation graphs. Most GNN architectures follow a message-passing paradigm followed by a feature transformation phase. Historically, this transformation has been handled by Multi-Layer Perceptrons (MLPs), which utilize fixed activation functions (e.g., ReLU) and learnable weights.
Recently, Kolmogorov-Arnold Networks (KANs) have emerged as a promising alternative to MLPs. Based on the Kolmogorov-Arnold representation theorem, KANs place learnable activation functions directly on the "edges" (weights) of the network. This paper investigates whether the unique structure of KANs can overcome the limitations of MLPs in graph-based tasks, specifically focusing on expressive power, accuracy, and computational efficiency.
Methodology
The authors propose KAGNNs, a family of GNN layers that substitute the MLP or linear transformation within standard architectures with a KAN. Three primary variants are introduced:
- KAGCN: A variant of the Graph Convolutional Network.
- KAGAT: A variant of the Graph Attention Network.
- KAGIN: A variant of the Graph Isomorphism Network.
The research evaluates two distinct implementations of the KAN component:
- B-splines (BS-KAGNN): The original KAN implementation using trainable piecewise polynomial functions, offering high expressivity.
- Radial Basis Functions (RBF-KAGNN): A computationally efficient alternative that uses RBFs as the basis for learnable activations, designed to mitigate the overhead associated with splines.
Experimental Evaluation
The models were benchmarked across a diverse set of tasks, including node classification (homophilic and heterophilic datasets), link prediction, graph classification, and graph regression (ZINC-12K and QM9 molecular property prediction).
Key Results
- Superior Regression Performance: KAGNNs significantly outperform MLP-based GNNs in regression tasks. On the ZINC-12K dataset, the BS-KAGIN model achieved a Mean Absolute Error (MAE) of 0.3000, a substantial improvement over the vanilla GIN's 0.4131. This suggests KANs are naturally suited for fitting the smooth, continuous functions typical of physical and molecular properties.
- Competitive Classification: In node classification, BS-KAGNN variants outperformed baselines on 5 out of 7 datasets. In graph classification, KAN-based GCNs showed significantly higher representation power than standard GCNs.
- Efficiency and Scalability: While B-splines are computationally intensive, RBF-based KANs provide a "best of both worlds" solution. For example, on the NCI1 dataset, the RBF-KAGIN training time per epoch was 0.37s, nearly identical to the MLP-based GIN (0.39s), whereas the B-spline version required 1.70s.
- Parameter Efficiency: KAN-based models often converged to smaller sizes (fewer parameters) than their MLP counterparts during hyperparameter optimization while maintaining superior accuracy.
Discussion
The authors hypothesize that KANs exploit the "regularity" inherent in graph message-passing more effectively than MLPs. This allows them to distinguish complex graph structures with greater precision. However, several challenges remain. B-spline implementations are currently difficult to scale to massive graphs due to computational bottlenecks. Furthermore, standard deep learning "assistive" techniques—such as dropout and batch normalization—are highly optimized for MLPs but require further refinement for KAN architectures.
Conclusion and Future Work
KAGNNs represent a significant step forward in graph representation learning, particularly for regression-heavy domains like molecular chemistry. Future research directions include extending KANs to more complex architectures like Graph Transformers and conducting deeper studies into how KAN-specific hyperparameters, such as grid size and spline order, influence the learning dynamics of non-Euclidean data.
Summary updated