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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d4efe6f6-74c0-49b3-be6b-6ff22346c41cCited by top-tier papers10
- COCLEP: Contrastive Learning-based Semi-Supervised Community SearchLing Li, Siqiang Luo, Yuhai Zhao, Caihua Shan et al.ICDE 2023 · 28 citations
- Deep Overlapping Community Search via Subspace EmbeddingQing Sima, Jianke Yu, Xiaoyang Wang, Wenjie Zhang et al.SIGMOD 2025 · 12 citations
- Inductive Attributed Community Search: to Learn Communities across GraphsShuheng Fang, Kangfei Zhao, Yu Rong, Zhixun Li et al.VLDB 2024 · 10 citations
- ProCom: A Few-shot Targeted Community Detection AlgorithmXixi Wu, Kaiyu Xiong, Yun Xiong, Xiaoxin He et al.KDD 2024 · 6 citations
- TenGraph: A Tensor-Based Graph Query EngineGuanghua Li, Hao Zhang, Xibo Sun, Qiong Luo et al.VLDB 2024 · 4 citations
Builds on12
- Graph Meta Learning via Local SubgraphsKexin Huang, Marinka ZitnikNeurIPS 2020 · 205 citations
- Few-Shot Learning on graphs via super-Classes based on Graph spectral MeasuresJatin Chauhan, Deepak Nathani, Manohar KaulICLR 2020 · 77 citations
- Neural Subgraph Isomorphism CountingXin Liu, Haojie Pan, Mutian He, Yangqiu Song et al.KDD 2020 · 70 citations
- ICS-GNN: Lightweight Interactive Community Search via Graph Neural NetworkJun Gao, Jiazun Chen, Zhao Li, Ji ZhangVLDB 2021 · 59 citations
- 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
- A Comprehensive Survey and Experimental Study of Learning-based Community SearchXiaoxuan Gou, Weiguo Zheng, Yuxiang Wang, Xiaoliang Xu et al.VLDB 2025
- Prompt-Guided Community Search Under Extreme Few-Shot SupervisionWenxin Yang, Kaiyu Feng, Lanting Fang, Kangfei Zhao et al.ICDE 2026
- PLACE: Prompt Learning for Attributed Community Search in Large GraphsShuheng Fang, Kangfei Zhao, Rener Zhang, Yu Rong et al.KDD 2026 · 1 citation
- 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
- Effective and Efficient Community Search over Large Heterogeneous Information NetworksYixiang Fang, Yixing Yang, Wenjie Zhang, Xuemin Lin et al.VLDB 2020 · 150 citations
