GrokFormer: Graph Fourier Kolmogorov-Arnold Transformers

Guoguo Ai, Guansong Pang, Hezhe Qiao, Yuan Gao, Hui Yan
11/26/2024
cs.LGcs.AI

Official code: GGA23/GrokFormer (33 stars, last commit 2025-07-10).

Abstract

Graph Transformers (GTs) have demonstrated remarkable performance in graph representation learning over popular graph neural networks (GNNs). However, self--attention, the core module of GTs, preserves only low-frequency signals in graph features, leading to ineffectiveness in capturing other important signals like high-frequency ones. Some recent GT models help alleviate this issue, but their flexibility and expressiveness are still limited since the filters they learn are fixed on predefined graph spectrum or spectral order. To tackle this challenge, we propose a Graph Fourier Kolmogorov-Arnold Transformer (GrokFormer), a novel GT model that learns highly expressive spectral filters with adaptive graph spectrum and spectral order through a Fourier series modeling over learnable activation functions. We demonstrate theoretically and empirically that the proposed GrokFormer filter offers better expressiveness than other spectral methods. Comprehensive experiments on 10 real-world node classification datasets across various domains, scales, and graph properties, as well as 5 graph classification datasets, show that GrokFormer outperforms state-of-the-art GTs and GNNs. Our code is available at https://github.com/GGA23/GrokFormer

View on arXivView PDF

Code Implementations(1)

GGA23/GrokFormerOfficial100%
330Shell, PythonJul 7, 20241 years ago

Similar Papers

Cite this paper

@article{ai2024grokformer,
  title  = {GrokFormer: Graph Fourier Kolmogorov-Arnold Transformers},
  author = {Guoguo Ai and Guansong Pang and Hezhe Qiao and Yuan Gao and Hui Yan},
  year   = {2024},
  eprint = {2411.17296},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.17296v3},
  journal = {ICML 2024 2024}
}

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/2411.17296.svg)](https://codeofpaper.com/paper/2411.17296)

Discussion