Lune

VLDB2020Top-tier venue

Distributed Subgraph Counting: A General Approach

Hao Zhang, Jeffrey Xu Yu, Yikai Zhang, Kangfei Zhao, Hong Cheng

Abstract

In this paper, we study local subgraph counting, which is to count the occurrences of a user-given pattern graph p around every node v in a data graph G, when v matches to a given orbit o in p, where the orbit serves as a center to count p. In general, the orbit can be a node, an edge, or a set of nodes in p. Local subgraph counting has played an important role in characterizing high-order local structures that exhibit in a large graph, and has been widely used in denser and relevant communities mining, graphlet degree distribution, discriminative features selection for link prediction, relational classification and recommendation. In the literature, almost all the existing works support a knode pattern graph, for k ≤ 5, with either 1 node orbit or 1 edge orbit. Their approaches are difficult to support larger k due to the fact that subgraph counting is to count by subgraph isomorphism. In this work, we develop a new general approach to count any k pattern graphs with any orbits selected. The key idea behind is that we do local subgraph counting by homomorphism counting, which can be solved by relational algebra using joins, group-by and aggregation. By homomorphism counting, we do local subgraph counting by eliminating counts for those that are not subgraph isomorphism matchings from the total count for any possible matchings. We have developed a distributed system named DISC on Spark. Our extensive experiments validate the efficiency of our approach by testing 114 local subgraph counting queries used in the existing work over real graphs, where no existing work can support all.

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.

13 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

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. Graph Neural Networks with Local Graph ParametersPablo Barceló, Floris Geerts, Juan L. Reutter, Maksimilian RyschkovNeurIPS 2021 · 81 citations
  2. A Learned Sketch for Subgraph CountingKangfei Zhao, Jeffrey Xu Yu, Hao Zhang, Qiyan Li et al.SIGMOD 2021 · 43 citations
  3. Accelerating Graph Mining Systems with Subgraph MorphingKasra Jamshidi, Harry Xu, Keval VoraEuroSys 2023 · 17 citations
  4. ZeroEA: A Zero-Training Entity Alignment Framework via Pre-Trained Language ModelNan Huo, Reynold Cheng, Ben Kao, Wentao Ning et al.VLDB 2024 · 16 citations
  5. I/O-Efficient Butterfly Counting at ScaleZhibin Wang, Longbin Lai, Yixue Liu, Bing Shui et al.SIGMOD 2023 · 11 citations

Related papers

  1. Fast Local Subgraph CountingQiyan Li, Jeffrey Xu YuVLDB 2024 · 4 citations
  2. Learning to Count Isomorphisms with Graph Neural NetworksXingtong Yu, Zemin Liu, Yuan Fang, Xinming ZhangAAAI 2023 · 24 citations
  3. On the Power of the Weisfeiler-Leman Test for Graph Motif ParametersMatthias Lanzinger, Pablo BarcelóICLR 2024 · 11 citations
  4. Efficient GPU-Accelerated Local Subgraph CountingQiao He, Yiran Li, Man Lung Yiu, Jieming ShiVLDB 2026
  5. Beyond Neighbors: Distance-Generalized Graphlets for Enhanced Graph CharacterizationYeongho Kim, Yuyeong Kim, Geon Lee, Kijung ShinWWW 2025
Dusk over the sea between two cliffs drawn in fine vertical lines