One-for-All Community Search on Unseen Graphs
Mo Li, Zhaosong Zhao, Linlin Ding, Renata Borovica-Gajic, Zhongming Yao, Jianxin Li
Abstract
Community search is a fundamental graph-based retrieval problem that aims to identify a query-dependent subgraph whose nodes exhibit strong internal connectivity. While recent learning-based methods improve retrieval effectiveness via graph representation learning, they follow a ''one-use-one-train'' paradigm that requires retraining or fine-tuning for each target graph, leading to high data dependency, high training costs, and limited generalization. To handle this, we propose OFA-CS, a ''one-for-all'' community search framework trained once on source datasets and directly deployed to arbitrary unseen graphs without retraining or fine-tuning, while preserving strong performance. Specifically, we introduce a Spectral-Aware Feature Alignment module to unify feature dimensionality and align cross-domain semantics in a community-aware manner. We further develop a Graph Diffusion Tokenized Transformer that constructs hybrid token sequences from local and global structural contexts for Transformer encoding, and applies diffusion-based refinement to mitigate distribution shifts on unseen graphs. With the unified representations, communities are efficiently retrieved via a modularity-driven search procedure. Extensive experiments on diverse real-world graphs demonstrate that OFA-CS achieves strong cross-domain generalization and competitive retrieval effectiveness against state-of-the-art methods, without requiring target-domain supervision.
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 8c50338a-826e-43dc-b550-3864089a643bRelated papers
- Inductive Attributed Community Search: to Learn Communities across GraphsShuheng Fang, Kangfei Zhao, Yu Rong, Zhixun Li et al.VLDB 2024 · 10 citations
- Scalable Community Search over Large-scale Graphs based on Graph TransformerYuxiang Wang, Xiaoxuan Gou, Xiaoliang Xu, Yuxia Geng et al.SIGIR 2024 · 17 citations
- Prompt-Guided Community Search Under Extreme Few-Shot SupervisionWenxin Yang, Kaiyu Feng, Lanting Fang, Kangfei Zhao et al.ICDE 2026
- Efficient Unsupervised Community Search with Pre-trained Graph TransformerJianwei Wang, Kai Wang, Xuemin Lin, Wenjie Zhang et al.VLDB 2024 · 30 citations
- Rethinking Feature Alignment in Generalist Graph Anomaly Detection: A Relational Fingerprint-based ApproachYujing Liu, Yixin Liu, Yu Zheng, Alan Liew et al.ICML 2026 · 1 citation
