Graph As Point Set
Xiyuan Wang, Pan Li, Muhan Zhang
Abstract
Graph is a fundamental data structure to model interconnections between entities. Set, on the contrary, stores independent elements. To learn graph representations, current Graph Neural Networks (GNNs) primarily use message passing to encode the interconnections. In contrast, this paper introduces a novel graph-to-set conversion method that bijectively transforms interconnected nodes into a set of independent points and then uses a set encoder to learn the graph representation. This conversion method holds dual significance. Firstly, it enables using set encoders to learn from graphs, thereby significantly expanding the design space of GNNs. Secondly, for Transformer, a specific set encoder, we provide a novel and principled approach to inject graph information losslessly, different from all the heuristic structural/positional encoding methods adopted in previous graph transformers. To demonstrate the effectiveness of our approach, we introduce Point Set Transformer (PST), a transformer architecture that accepts a point set converted from a graph as input. Theoretically, PST exhibits superior expressivity for both short-range substructure counting and long-range shortest path distance tasks compared to existing GNNs. Extensive experiments further validate PST's outstanding real-world performance. Besides Transformer, we also devise a Deepset-based set encoder, which achieves performance comparable to representative GNNs, affirming the versatility of our graph-to-set method.
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.
4 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 Do Transformers Really Perform Badly for Graph Representation?
- Recipe for a General, Powerful, Scalable Graph Transformer cites Rethinking Graph Transformers with Spectral Attention
- Rethinking Addressing in Language Models via Contextualized Equivariant Positional Encoding cites E(n) Equivariant Graph Neural Networks
- GI-GCN: Global Interacted Graph Convolutional Networks via Dominant Sets for Graph Classification cites Recipe for a General, Powerful, Scalable Graph Transformer
- GI-GCN: Global Interacted Graph Convolutional Networks via Dominant Sets for Graph Classification cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- GI-GCN: Global Interacted Graph Convolutional Networks via Dominant Sets for Graph Classification cites Rethinking Graph Transformers with Spectral Attention
- What Are Good Positional Encodings for Directed Graphs? cites Recipe for a General, Powerful, Scalable Graph Transformer
- What Are Good Positional Encodings for Directed Graphs? cites Rethinking Graph Transformers with Spectral Attention
- Towards Stable, Globally Expressive Graph Representations with Laplacian Eigenvectors cites Recipe for a General, Powerful, Scalable Graph Transformer
- Towards Stable, Globally Expressive Graph Representations with Laplacian Eigenvectors cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Towards Stable, Globally Expressive Graph Representations with Laplacian Eigenvectors cites Do Transformers Really Perform Badly for Graph Representation?
- Towards Stable, Globally Expressive Graph Representations with Laplacian Eigenvectors cites E(n) Equivariant Graph Neural Networks
- Towards Stable, Globally Expressive Graph Representations with Laplacian Eigenvectors cites Rethinking Graph Transformers with Spectral Attention
- Do Transformers Really Perform Badly for Graph Representation? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Do Transformers Really Perform Badly for Graph Representation? cites Rethinking Graph Transformers with Spectral Attention
- Rethinking Graph Transformers with Spectral Attention cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
Cited by top-tier papers4
- Towards Stable, Globally Expressive Graph Representations with Laplacian EigenvectorsJunru Zhou, Cai Zhou, Xiyuan Wang, Pan Li et al.KDD 2026 · 2 citations
- Rethinking Addressing in Language Models via Contextualized Equivariant Positional EncodingJiajun Zhu, Peihao Wang, Ruisi Cai, Jason D. Lee et al.ICML 2025
- GI-GCN: Global Interacted Graph Convolutional Networks via Dominant Sets for Graph ClassificationLu Bai, Xinya Qin, Lixin Cui, Ming Li et al.ICML 2026
- What Are Good Positional Encodings for Directed Graphs?Yinan Huang, Haoyu Peter Wang, Pan LiICLR 2025
Builds on36
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng et al.NeurIPS 2021 · 1,632 citations
- E(n) Equivariant Graph Neural NetworksVictor Garcia Satorras, Emiel Hoogeboom, Max WellingICML 2021 · 1,432 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
- Rethinking Graph Transformers with Spectral AttentionDevin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent Létourneau et al.NeurIPS 2021 · 854 citations
Related papers
- Graph Positional and Structural EncoderSemih Cantürk, Renming Liu, Olivier Lapointe-Gagné, Vincent Létourneau et al.ICML 2024 · 33 citations
- Subgraphormer: Unifying Subgraph GNNs and Graph Transformers via Graph ProductsGuy Bar-Shalom, Beatrice Bevilacqua, Haggai MaronICML 2024 · 13 citations
- Structure-Aware Transformer for Graph Representation LearningDexiong Chen, Leslie O'Bray, Karsten M. BorgwardtICML 2022 · 349 citations
- Learning Long Range Dependencies on Graphs via Random WalksDexiong Chen, Till Hendrik Schulz, Karsten M. BorgwardtICLR 2025
- Pointer Graph NetworksPetar Velickovic, Lars Buesing, Matthew C. Overlan, Razvan Pascanu et al.NeurIPS 2020 · 78 citations
