Skip to main content
QUICK REVIEW

[Paper Review] GraphKAN: Enhancing Feature Extraction with Graph Kolmogorov Arnold Networks

Fan Zhang, Xin Zhang|arXiv (Cornell University)|Jun 19, 2024
Graph Theory and AlgorithmsComputer Science12 citations
TL;DR

GraphKAN replaces MLPs and activation functions in Graph Neural Networks with Kolmogorov-Arnold Networks (KANs) to improve node feature extraction on graph-like data, demonstrating higher classification accuracy at the cost of higher computation time.

ABSTRACT

Massive number of applications involve data with underlying relationships embedded in non-Euclidean space. Graph neural networks (GNNs) are utilized to extract features by capturing the dependencies within graphs. Despite groundbreaking performances, we argue that Multi-layer perceptrons (MLPs) and fixed activation functions impede the feature extraction due to information loss. Inspired by Kolmogorov Arnold Networks (KANs), we make the first attempt to GNNs with KANs. We discard MLPs and activation functions, and instead used KANs for feature extraction. Experiments demonstrate the effectiveness of GraphKAN, emphasizing the potential of KANs as a powerful tool. Code is available at https://github.com/Ryanfzhang/GraphKan.

Motivation & Objective

  • Motivate and address limitations of MLP-based feature extraction in GNNs for non-Euclidean graph data.
  • Introduce GraphKAN by replacing MLPs and activations with KAN-based extraction.
  • Stabilize training with LayerNorm and evaluate on real-world graph-like temporal signal data for node classification.
  • Compare GraphKAN against standard GCN baselines in terms of accuracy and computational cost.

Proposed method

  • Ground the feature extraction in GraphKAN by replacing the U^t(h_v^t, m_v^{t+1}) with a KAN-based extractor using univariate spline functions.
  • Define the KAN layer as h_v^{t+1} = KAN^t(h_v^t, m_v^{t+1}) = Φ^t(m_v^{t+1}) with Φ^t implemented as a B-spline.
  • Adopt a simple GraphKAN variant based on GCN where the message function uses deg(v)^{-1/2} A_{uw} h_w^t, and integrate the KAN-based extractor for node representations.
  • Incorporate LayerNorm between GraphKAN layers to stabilize training.
  • Compare GraphKAN to a GCN baseline on node classification across multiple basic graphs (BGs) with varying labeled/unlabeled node splits.

Experimental results

Research questions

  • RQ1Does replacing MLPs/activation functions with KANs improve feature extraction and node classification accuracy on graph-structured data?
  • RQ2How does GraphKAN perform relative to traditional GCNs in few-shot or low-label regimes?
  • RQ3What is the impact on training time and stability when introducing KAN-based feature extraction in GNNs?

Key findings

  • GraphKAN achieves higher testing accuracy than the GCN baseline on BG_3 and BG_4.
  • GraphKAN exhibits notably higher computation time than GCN due to KAN calculations, but total time remains under one minute in the reported setup.
  • t-SNE clustering of intermediate features shows GraphKAN forms tighter clusters for similar types and separates different types better than GCN, indicating improved feature extraction.
  • GraphKAN’s performance gains are more pronounced when the number of labeled nodes is small, suggesting potential benefits for few-shot classification tasks.
  • LayerNorm between GraphKAN layers contributes to training stability during optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.