GLASS: GNN with Labeling Tricks for Subgraph Representation Learning
Xiyuan Wang, Muhan Zhang
Abstract
Despite the remarkable achievements of Graph Neural Networks (GNNs) on graph representation learning, few works have tried to use them to predict properties of subgraphs in the whole graph. The existing state-of-the-art method SubGNN introduces an overly complicated subgraph-level GNN model which synthesizes three artificial channels each of which has two carefully designed subgraph-level message passing modules, yet only slightly outperforms a plain GNN which performs node-level message passing and then pools node embeddings within the subgraph. By analyzing SubGNN and plain GNNs, we find that the key for subgraph representation learning might be to distinguish nodes inside and outside the subgraph. With this insight, we propose an expressive and scalable labeling trick, namely max-zero-one, to enhance plain GNNs for subgraph tasks. The resulting model is called GLASS (GNN with LAbeling trickS for Subgraph). We theoretically characterize GLASS's expressive power. Compared with SubGNN, GLASS is more expressive, more scalable, and easier to implement. Experiments on eight benchmark datasets show that GLASS outperforms the strongest baseline by on average. And ablation analysis shows that our max-zero-one labeling trick can boost the performance of a plain GNN by up to in maximum, which illustrates the effectiveness of labeling trick on subgraph tasks. Furthermore, training a GLASS model only takes time needed for a SubGNN on average.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 80282834-9716-4ee5-a895-d520c544f975Cited by top-tier papers7
- How Powerful are K-hop Message Passing Graph Neural NetworksJiarui Feng, Yixin Chen, Fuhai Li, Anindya Sarkar et al.NeurIPS 2022 · 188 citations
- Algorithm and System Co-design for Efficient Subgraph-based Graph Representation LearningHaoteng Yin, Muhan Zhang, Yanbang Wang, Jianguo Wang et al.VLDB 2022 · 47 citations
- CommunityAF: An Example-based Community Search Method via Autoregressive FlowJiazun Chen, Yikuan Xia, Jun GaoVLDB 2023 · 18 citations
- SUREL+: Moving from Walks to Sets for Scalable Subgraph-based Graph Representation LearningHaoteng Yin, Muhan Zhang, Jianguo Wang, Pan LiVLDB 2023 · 13 citations
- Translating Subgraphs to Nodes Makes Simple GNNs Strong and Efficient for Subgraph Representation LearningDongkwan Kim, Alice OhICML 2024 · 6 citations
Related papers
- Why Propagate Alone? Parallel Use of Labels and Features on GraphsYangkun Wang, Jiarui Jin, Weinan Zhang, Yongyi Yang et al.ICLR 2022 · 13 citations
- Subgraph Neural NetworksEmily Alsentzer, Samuel G. Finlayson, Michelle M. Li, Marinka ZitnikNeurIPS 2020 · 185 citations
- Union Subgraph Neural NetworksJiaxing Xu, Aihu Zhang, Qingtian Bian, Vijay Prakash Dwivedi et al.AAAI 2024 · 12 citations
- Improving the Expressiveness of K-hop Message-Passing GNNs by Injecting Contextualized Substructure InformationTianjun Yao, Yingxu Wang, Kun Zhang, Shangsong LiangKDD 2023 · 8 citations
- A Flexible, Equivariant Framework for Subgraph GNNs via Graph Products and Graph CoarseningGuy Bar-Shalom, Yam Eitan, Fabrizio Frasca, Haggai MaronNeurIPS 2024 · 9 citations
