Lune

KDD2022Top-tier venue

Motif Prediction with Graph Neural Networks

Maciej Besta, Raphael Grob, Cesare Miglioli, Nicola Bernold, Grzegorz Kwasniewski, Gabriel Gjini, Raghavendra Kanakagiri, Saleh Ashkboos, Lukas Gianinazzi, Nikoli Dryden, Torsten Hoefler

Abstract

Link prediction is one of the central problems in graph mining. However, recent studies highlight the importance of higher-order network analysis, where complex structures called motifs are the first-class citizens. We first show that existing link prediction schemes fail to effectively predict motifs. To alleviate this, we establish a general motif prediction problem and we propose several heuristics that assess the chances for a specified motif to appear. To make the scores realistic, our heuristics consider - among others - correlations between links, i.e., the potential impact of some arriving links on the appearance of other links in a given motif. Finally, for highest accuracy, we develop a graph neural network (GNN) architecture for motif prediction. Our architecture offers vertex features and sampling schemes that capture the rich structural properties of motifs. While our heuristics are fast and do not need any training, GNNs ensure highest accuracy of predicting motifs, both for dense (e.g., k-cliques) and for sparse ones (e.g., k-stars). We consistently outperform the best available competitor by more than 10% on average and up to 32% in area under the curve. Importantly, the advantages of our approach over schemes based on uncorrelated link prediction increase with the increasing motif size and complexity. We also successfully apply our architecture for predicting more arbitrary clusters and communities, illustrating its potential for graph mining beyond motif analysis.

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.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Graph of Thoughts: Solving Elaborate Problems with Large Language Models cites GraphMineSuite: Enabling High-Performance and Programmable Graph Mining Algorithms with Set Algebra
  • Graph of Thoughts: Solving Elaborate Problems with Large Language Models cites SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory Systems
  • SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory Systems cites GraphMineSuite: Enabling High-Performance and Programmable Graph Mining Algorithms with Set Algebra
  • Seastar: vertex-centric programming for graph neural networks cites FeatGraph: a flexible and efficient backend for graph neural network systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Graph of Thoughts: Solving Elaborate Problems with Large Language ModelsMaciej Besta, Nils Blach, Ales Kubicek, Robert Gerstenberger et al.AAAI 2024 · 1,292 citations
  2. Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation LearningMuhan Zhang, Pan Li, Yinglong Xia, Kai Wang et al.NeurIPS 2021 · 255 citations
  3. Equivariant and Stable Positional Encoding for More Powerful Graph Neural NetworksHaorui Wang, Haoteng Yin, Muhan Zhang, Pan LiICLR 2022 · 138 citations
  4. SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory SystemsMaciej Besta, Raghavendra Kanakagiri, Grzegorz Kwasniewski, Rachata Ausavarungnirun et al.MICRO 2021 · 78 citations
  5. FedGTA: Topology-aware Averaging for Federated Graph LearningXunkai Li, Zhengyu Wu, Wentao Zhang, Yinlin Zhu et al.VLDB 2024 · 63 citations

Builds on6

  1. Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation LearningMuhan Zhang, Pan Li, Yinglong Xia, Kai Wang et al.NeurIPS 2021 · 255 citations
  2. SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory SystemsMaciej Besta, Raghavendra Kanakagiri, Grzegorz Kwasniewski, Rachata Ausavarungnirun et al.MICRO 2021 · 78 citations
  3. FeatGraph: a flexible and efficient backend for graph neural network systemsYuwei Hu, Zihao Ye, Minjie Wang, Jiali Yu et al.SC 2020 · 57 citations
  4. Seastar: vertex-centric programming for graph neural networksYidi Wu, Kaihao Ma, Zhenkun Cai, Tatiana Jin et al.EuroSys 2021 · 57 citations
  5. GraphMineSuite: Enabling High-Performance and Programmable Graph Mining Algorithms with Set AlgebraMaciej Besta, Zur Vonarburg-Shmaria, Yannick Schaffner, Leonardo Schwarz et al.VLDB 2021 · 28 citations

Related papers

  1. Random Walk Conformer: Learning Graph Representation from Long and Short RangePei-Kai Yeh, Hsi-Wen Chen, Ming-Syan ChenAAAI 2023 · 9 citations
  2. Financial Default Prediction via Motif-preserving Graph Neural Network with Curriculum LearningDaixin Wang, Zhiqiang Zhang, Yeyu Zhao, Kai Huang et al.KDD 2023 · 12 citations
  3. Towards Multiscale Graph-based Protein Learning with Geometric Secondary Structural MotifsShih-Hsin Wang, Yuhao Huang, Taos Transue, Justin M. Baker et al.NeurIPS 2025
  4. Neo-GNNs: Neighborhood Overlap-aware Graph Neural Networks for Link PredictionSeongjun Yun, Seoyoon Kim, Junhyun Lee, Jaewoo Kang et al.NeurIPS 2021 · 183 citations
  5. Motif-aware Graph Neural Networks for Networked Time Series ImputationNourhan Ahmed, Vijaya Krishna Yalavarthi, Lars Schmidt-ThiemeAAAI 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines