Scalable Community Search over Large-scale Graphs based on Graph Transformer
Yuxiang Wang, Xiaoxuan Gou, Xiaoliang Xu, Yuxia Geng, Xiangyu Ke, Tianxing Wu, Zhiyuan Yu, Runhuai Chen, Xiangying Wu
Abstract
Given a graph G and a query node q, community search (CS) aims to find a structurally cohesive subgraph from G that contains q. CS is widely used in many real-world applications, such as online recommendation and expert finding. Recently, the rise of learning-based CS methods has garnered extensive research interests, showcasing the promising potential of neural solutions. However, there remains room for optimization: (1) They initialize node features via classical methods, e.g., one-hot, random, and position encoding, which may fall short in capturing valuable community cohesiveness-related features. (2) The reliance on GCN or GCN-like models poses challenges in scaling to large graphs. (3) Existing methods do not adapt well to dynamic graphs, often requiring retraining from scratch. To handle this, we present CSFormer, a scalable CS based on Graph Transformer. First, we present a novel l-hop neighborhood community vector based on n-order h-index to represent each node's community features, generating a sequence of feature vectors by varying the neighborhood scope l. Then, we build a Transformer backbone to learn a good graph embedding that carries rich community features, based on which we perform a prediction-filtering-based online CS to efficiently return a community of q. We extend CSFormer to dynamic graphs and various community models. Extensive experiments on seven real-world graphs show our solution's superiority on effectiveness, e.g., we attain an average improvement of 20.6% in F1-score compared to the latest competitors.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get a2cdbb3a-008c-456c-9c67-560c3713ef9bCited by top-tier papers5
- Unified Graph Neural Networks Pre-training for Multi-domain GraphsMingkai Lin, Xiaobin Hong, Wenzhong Li, Sanglu LuAAAI 2025 · 4 citations
- How Cohesive Are Community Search Results on Online Social Networks?: An Experimental EvaluationYining Zhao, Sourav S. Bhowmick, Nastassja L. Fischer, S. H. Annabel ChenSIGIR 2025 · 1 citation
- A Comprehensive Survey and Experimental Study of Learning-based Community SearchXiaoxuan Gou, Weiguo Zheng, Yuxiang Wang, Xiaoliang Xu et al.VLDB 2025
- CLUHCS: Dual-View Contrastive Learning Enabled Unsupervised Heterogeneous Community Search with Meta-Path Behavior ModelingXiaoqin Xie, Bin Zhao, Mingzhu Chang, Shuai Han et al.AAAI 2026
- Scalable Semi-supervised Community Search via Graph Transformer on Attributed Heterogeneous Information NetworksLinlin Ding, Zhaosong Zhao, Mo Li, Yishan Pan et al.AAAI 2026
Related papers
- Efficient Unsupervised Community Search with Pre-trained Graph TransformerJianwei Wang, Kai Wang, Xuemin Lin, Wenjie Zhang et al.VLDB 2024 · 30 citations
- Cohesiveness-aware Hierarchical Compressed Index for Community Search on Attributed GraphsYuxiang Wang, Zhangyang Peng, Xiangyu Ke, Xiaoliang Xu et al.SIGMOD 2025 · 2 citations
- One-for-All Community Search on Unseen GraphsMo Li, Zhaosong Zhao, Linlin Ding, Renata Borovica-Gajic et al.SIGIR 2026
- Inductive Attributed Community Search: to Learn Communities across GraphsShuheng Fang, Kangfei Zhao, Yu Rong, Zhixun Li et al.VLDB 2024 · 10 citations
- Prompt-Guided Community Search Under Extreme Few-Shot SupervisionWenxin Yang, Kaiyu Feng, Lanting Fang, Kangfei Zhao et al.ICDE 2026
