Lune

ICDE2023Top-tier venue

Community Search: A Meta-Learning Approach

Shuheng Fang, Kangfei Zhao, Guanghua Li, Jeffrey Xu Yu

Abstract

Community Search (CS) is one of the fundamental graph analysis tasks, which is a building block of various real applications. Given any query nodes, CS aims to find cohesive subgraphs that query nodes belong to. Recently, a large number of CS algorithms are designed. These algorithms adopt predefined subgraph patterns to model the communities, which cannot find ground-truth communities that do not have such pre-defined patterns in real-world graphs. Thereby, machine learning (ML) and deep learning (DL) based approaches are proposed to capture flexible community structures by learning from ground-truth communities in a data-driven fashion. These approaches rely on sufficient training data to provide enough generalization for ML models, however, the ground-truth cannot be comprehensively collected beforehand.

In this paper, we study ML/DL-based approaches for CS, under the circumstance of small training data. Instead of directly fitting the small data, we extract prior knowledge which is shared across multiple CS tasks via learning a meta model. Each CS task is a graph with several queries that possess corresponding partial ground-truth. The meta model can be swiftly adapted to a task to be predicted by feeding a few task-specific training data. We find that trivially applying multiple classical metalearning algorithms to CS suffers from problems regarding prediction effectiveness, generalization capability and efficiency. To address such problems, we propose a novel meta-learning based framework, Conditional Graph Neural Process (CGNP), to fulfill the prior extraction and adaptation procedure. A meta CGNP model is a task-common node embedding function for clustering, learned by metric-based graph learning, which fully exploits the characteristics of CS. We compare CGNP with CS algorithms and ML baselines on real graphs with ground-truth communities. Our experiments verify that CGNP outperforms the other native graph algorithms and ML/DL baselines 0.33 and 0.26 on F1 score by average. The source code has been made available at https://github.com/FangShuheng/CGNP.

Community is a cohesive subgraph that is densely intraconnected and loosely inter-connected in a graph. Given any query nodes, community search (CS) aims at finding communities covering the query nodes, i.e., local query-dependent communities, which has a wide range of real applications, e.g., friend recommendation, advertisement in e-commence and protein complex identification [1], [2]. In the literature, to model structural cohesiveness, various community models are adopted, including k-core [3]-[5], k-truss [6], [7], kclique [8], [9] and k-edge connected component [10], [11].

Such models can be computed efficiently by CS algorithms. But such models are designed based on some pre-defined

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.

10 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

  • Inductive Attributed Community Search: to Learn Communities across Graphs cites COCLEP: Contrastive Learning-based Semi-Supervised Community Search
  • Inductive Attributed Community Search: to Learn Communities across Graphs cites Neural Subgraph Isomorphism Counting
  • Inductive Attributed Community Search: to Learn Communities across Graphs cites Query Driven-Graph Neural Networks for Community Search: From Non-Attributed, Attributed, to Interactive Attributed
  • Inductive Attributed Community Search: to Learn Communities across Graphs cites ICS-GNN: Lightweight Interactive Community Search via Graph Neural Network
  • COCLEP: Contrastive Learning-based Semi-Supervised Community Search cites Query Driven-Graph Neural Networks for Community Search: From Non-Attributed, Attributed, to Interactive Attributed
  • COCLEP: Contrastive Learning-based Semi-Supervised Community Search cites ICS-GNN: Lightweight Interactive Community Search via Graph Neural Network
  • Deep Overlapping Community Search via Subspace Embedding cites COCLEP: Contrastive Learning-based Semi-Supervised Community Search
  • Deep Overlapping Community Search via Subspace Embedding cites Query Driven-Graph Neural Networks for Community Search: From Non-Attributed, Attributed, to Interactive Attributed
  • Deep Overlapping Community Search via Subspace Embedding cites ICS-GNN: Lightweight Interactive Community Search via Graph Neural Network
  • Query Driven-Graph Neural Networks for Community Search: From Non-Attributed, Attributed, to Interactive Attributed cites ICS-GNN: Lightweight Interactive Community Search via Graph Neural Network
  • Graph Meta Learning via Local Subgraphs cites Few-Shot Learning on graphs via super-Classes based on Graph spectral Measures
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. COCLEP: Contrastive Learning-based Semi-Supervised Community SearchLing Li, Siqiang Luo, Yuhai Zhao, Caihua Shan et al.ICDE 2023 · 28 citations
  2. Deep Overlapping Community Search via Subspace EmbeddingQing Sima, Jianke Yu, Xiaoyang Wang, Wenjie Zhang et al.SIGMOD 2025 · 12 citations
  3. Inductive Attributed Community Search: to Learn Communities across GraphsShuheng Fang, Kangfei Zhao, Yu Rong, Zhixun Li et al.VLDB 2024 · 10 citations
  4. ProCom: A Few-shot Targeted Community Detection AlgorithmXixi Wu, Kaiyu Xiong, Yun Xiong, Xiaoxin He et al.KDD 2024 · 6 citations
  5. TenGraph: A Tensor-Based Graph Query EngineGuanghua Li, Hao Zhang, Xibo Sun, Qiong Luo et al.VLDB 2024 · 4 citations

Builds on12

  1. Graph Meta Learning via Local SubgraphsKexin Huang, Marinka ZitnikNeurIPS 2020 · 205 citations
  2. Few-Shot Learning on graphs via super-Classes based on Graph spectral MeasuresJatin Chauhan, Deepak Nathani, Manohar KaulICLR 2020 · 77 citations
  3. Neural Subgraph Isomorphism CountingXin Liu, Haojie Pan, Mutian He, Yangqiu Song et al.KDD 2020 · 70 citations
  4. ICS-GNN: Lightweight Interactive Community Search via Graph Neural NetworkJun Gao, Jiazun Chen, Zhao Li, Ji ZhangVLDB 2021 · 59 citations
  5. Query Driven-Graph Neural Networks for Community Search: From Non-Attributed, Attributed, to Interactive AttributedYuli Jiang, Yu Rong, Hong Cheng, Xin Huang et al.VLDB 2022 · 58 citations

Related papers

  1. A Comprehensive Survey and Experimental Study of Learning-based Community SearchXiaoxuan Gou, Weiguo Zheng, Yuxiang Wang, Xiaoliang Xu et al.VLDB 2025
  2. Prompt-Guided Community Search Under Extreme Few-Shot SupervisionWenxin Yang, Kaiyu Feng, Lanting Fang, Kangfei Zhao et al.ICDE 2026
  3. Self-Training GNN-based Community Search in Large Attributed Heterogeneous Information NetworksYuan Li, Xiuxu Chen, Yuhai Zhao, Wen Shan et al.ICDE 2024 · 14 citations
  4. PLACE: Prompt Learning for Attributed Community Search in Large GraphsShuheng Fang, Kangfei Zhao, Rener Zhang, Yu Rong et al.KDD 2026 · 1 citation
  5. Effective and Efficient Community Search over Large Heterogeneous Information NetworksYixiang Fang, Yixing Yang, Wenjie Zhang, Xuemin Lin et al.VLDB 2020 · 150 citations
Dusk over the sea between two cliffs drawn in fine vertical lines