mlsanityData to 7 Oct 2026

Improving Graph Neural Networks on Multi-node Tasks with the Labeling Trick

arXiv 2304.10074 ↗First posted 20 Apr 2023cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

In this paper, we study using graph neural networks (GNNs) for textitmulti-node representation learning, where a representation for a set of more than one node (such as a link) is to be learned. Existing GNNs are mainly designed to learn single-node representations. When used for multi-node representation learning, a common practice is to directly aggregate the single-node representations obtained by a GNN. In this paper, we show a fundamental limitation of such an approach, namely the inability to capture the dependence among multiple nodes in the node set. A straightforward solution is to distinguish target nodes from others. Formalizing this idea, we propose labeling trick, which first labels nodes in the graph according to their relationships with the target node set before applying a GNN and then aggregates node representations obtained in the labeled graph for multi-node representations. Besides node sets in graphs, we also extend labeling tricks to posets, subsets and hypergraphs. Experiments verify that the labeling trick technique can boost GNNs on various tasks, including undirected link prediction, directed link prediction, hyperedge prediction, and subgraph prediction. Our work explains the superior performance of previous node-labeling-based methods and establishes a theoretical foundation for using GNNs for multi-node representation learning.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 45 of its 72 references that are in the map. First posted on arXiv 20 Apr 2023.

Builds on

45 of 72 references.

References · 45

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  2. 2017Graph Attention Networkscited by 8,854
  3. 2017Inductive Representation Learning on Large Graphscited by 6,284
  4. 2018How Powerful are Graph Neural Networks?cited by 4,355
  5. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  6. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  7. 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,085
  8. 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
  9. 2016Variational Graph Auto-Encoderscited by 1,373
  10. 2013Spectral Networks and Locally Connected Networks on Graphscited by 1,097
  11. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
  12. 2018Link Prediction Based on Graph Neural Networkscited by 829
33 more
  1. 2015Gated Graph Sequence Neural Networkscited by 792
  2. 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 786
  3. 2015Convolutional Networks on Graphs for Learning Molecular Fingerprintscited by 751
  4. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  5. 2019Provably Powerful Graph Networkscited by 385
  6. 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
  7. 2015A Review of Relational Machine Learning for Knowledge Graphscited by 264
  8. 2019Inductive Relation Prediction by Subgraph Reasoningcited by 237
  9. 2020Can Graph Neural Networks Count Substructures?cited by 235
  10. 2019Position-aware Graph Neural Networkscited by 203
  11. 2021Identity-aware Graph Neural Networkscited by 197
  12. 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 176
  13. 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
  14. 2021Frame Averaging for Invariant and Equivariant Network Designcited by 166
  15. 2021Equivariant Subgraph Aggregation Networkscited by 154
  16. 2021From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awarenesscited by 154
  17. 2020Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learningcited by 148
  18. 2021Nested Graph Neural Networkscited by 136
  19. 2016Discriminative Embeddings of Latent Variable Models for Structured Datacited by 130
  20. 2022Understanding and Extending Subgraph GNNs by Rethinking Their Symmetriescited by 112
  21. 2021MagNet: A Neural Network for Directed Graphscited by 104
  22. 2020Expressive Power of Invariant and Equivariant Graph Neural Networkscited by 100
  23. 2022How Powerful are K-hop Message Passing Graph Neural Networkscited by 90
  24. 2019Inductive Matrix Completion Based on Graph Neural Networkscited by 85
  25. 2020Directed Graph Convolutional Networkcited by 73
  26. 2020Subgraph Neural Networkscited by 73
  27. 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
  28. 2022Ordered Subgraph Aggregation Networkscited by 57
  29. 2020The expressive power of kth-order invariant graph networkscited by 34
  30. 2023A Theory of Link Prediction via Relational Weisfeiler-Leman on Knowledge Graphscited by 32
  31. 2021Learning over Families of Sets -- Hypergraph Representation Learning for Higher Order Taskscited by 13
  32. 2021Neural Predicting Higher-order Patterns in Temporal Networkscited by 13
  33. 2021Principled Hyperedge Prediction with Structural Spectral Features and Neural Networkscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 1; 2025: 0; 2026: 1.

4 papers.