Specformer: Spectral Graph Neural Networks Meet Transformers
Deyu Bo, Chuan Shi, Lele Wang, Renjie Liao
Abstract
Spectral graph neural networks (GNNs) learn graph representations via spectral-domain graph convolutions. However, most existing spectral graph filters are scalar-to-scalar functions, i.e., mapping a single eigenvalue to a single filtered value, thus ignoring the global pattern of the spectrum. Furthermore, these filters are often constructed based on some fixed-order polynomials, which have limited expressiveness and flexibility. To tackle these issues, we introduce Specformer, which effectively encodes the set of all eigenvalues and performs self-attention in the spectral domain, leading to a learnable set-to-set spectral filter. We also design a decoder with learnable bases to enable non-local graph convolution. Importantly, Specformer is equivariant to permutation. By stacking multiple Specformer layers, one can build a powerful spectral GNN. On synthetic datasets, we show that our Specformer can better recover ground-truth spectral filters than other spectral GNNs. Extensive experiments of both node-level and graph-level tasks on real-world graph datasets show that our Specformer outperforms state-of-the-art GNNs and learns meaningful spectrum patterns. Code and data are available at https://github.com/bdy9527/Specformer.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
57 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Recipe for a General, Powerful, Scalable Graph Transformer cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
- VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connections cites Recipe for a General, Powerful, Scalable Graph Transformer
- VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connections cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- How Universal Polynomial Bases Enhance Spectral Graph Neural Networks: Heterophily, Over-smoothing, and Over-squashing cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- How Universal Polynomial Bases Enhance Spectral Graph Neural Networks: Heterophily, Over-smoothing, and Over-squashing cites Geom-GCN: Geometric Graph Convolutional Networks
- Polynormer: Polynomial-Expressive Graph Transformer in Linear Time cites Recipe for a General, Powerful, Scalable Graph Transformer
- Polynormer: Polynomial-Expressive Graph Transformer in Linear Time cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Polynormer: Polynomial-Expressive Graph Transformer in Linear Time cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Polynormer: Polynomial-Expressive Graph Transformer in Linear Time cites Graph Neural Networks Exponentially Lose Expressive Power for Node Classification
- Spatio-Spectral Graph Neural Networks cites Recipe for a General, Powerful, Scalable Graph Transformer
- Spatio-Spectral Graph Neural Networks cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Spatio-Spectral Graph Neural Networks cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Spatio-Spectral Graph Neural Networks cites Polynormer: Polynomial-Expressive Graph Transformer in Linear Time
- G-Adapter: Towards Structure-Aware Parameter-Efficient Transfer Learning for Graph Transformer Networks cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
Cited by top-tier papers57
- Polynormer: Polynomial-Expressive Graph Transformer in Linear TimeChenhui Deng, Zichao Yue, Zhiru ZhangICLR 2024 · 81 citations
- How Universal Polynomial Bases Enhance Spectral Graph Neural Networks: Heterophily, Over-smoothing, and Over-squashingKeke Huang, Yu Guang Wang, Ming Li, Pietro LioICML 2024 · 62 citations
- VCR-Graphormer: A Mini-batch Graph Transformer via Virtual ConnectionsDongqi Fu, Zhigang Hua, Yan Xie, Jin Fang et al.ICLR 2024 · 47 citations
- Spatio-Spectral Graph Neural NetworksSimon Geisler, Arthur Kosmala, Daniel Herbst, Stephan GünnemannNeurIPS 2024 · 37 citations
- G-Adapter: Towards Structure-Aware Parameter-Efficient Transfer Learning for Graph Transformer NetworksAnchun Gui, Jinqiang Ye, Han XiaoAAAI 2024 · 35 citations
Builds on19
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Geom-GCN: Geometric Graph Convolutional NetworksHongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei et al.ICLR 2020 · 1,445 citations
- Recipe for a General, Powerful, Scalable Graph TransformerLadislav Rampásek, Michael Galkin, Vijay Prakash Dwivedi, Anh Tuan Luu et al.NeurIPS 2022 · 1,216 citations
- Graph Neural Networks Exponentially Lose Expressive Power for Node ClassificationKenta Oono, Taiji SuzukiICLR 2020 · 864 citations
Related papers
- PolyFormer: Scalable Node-wise Filters via Polynomial Graph TransformerJiahong Ma, Mingguo He, Zhewei WeiKDD 2024 · 6 citations
- How Powerful are Spectral Graph Neural NetworksXiyuan Wang, Muhan ZhangICML 2022 · 309 citations
- BernNet: Learning Arbitrary Graph Spectral Filters via Bernstein ApproximationMingguo He, Zhewei Wei, Zengfeng Huang, Hongteng XuNeurIPS 2021 · 378 citations
- Equivariant Machine Learning on Graphs with Nonlinear Spectral FiltersYa-Wei Eileen Lin, Ronen Talmon, Ron LevieNeurIPS 2024 · 5 citations
- Unifying Homophily and Heterophily for Spectral Graph Neural Networks via Triple Filter EnsemblesRui Duan, Mingjian Guang, Junli Wang, Chungang Yan et al.NeurIPS 2024 · 31 citations
