Prompt-Guided Community Search Under Extreme Few-Shot Supervision
Wenxin Yang, Kaiyu Feng, Lanting Fang, Kangfei Zhao, Xia Wu
摘要
Community search, which aims to identify cohesive subgraphs containing given query nodes, is a fundamental task in graph analysis. Existing learning-based methods depend heavily on abundant labeled communities, making them ineffective in realistic settings where labels are extreme scarce. Although several methods have been proposed to mitigate label scarcity, they still fail to perform robustly across both sparsely and densely labeled datasets due to three key limitations: (i) a query-nodecentric design that always treats the query node as the community center, causing errors when the query lies near the community boundary; (ii) lack of connectivity guarantee, as similarity-based expansions may yield disconnected results; and (iii) dependence on labeled data, where unsupervised models lack supervision while semi-supervised ones easily overfit when labels are rare. To address these issues, we propose Prompt-Guided Community Search (PGCS), a novel “pre-train, prompt, and search” framework. We design novel pretraining tasks that capture structural characteristics such as density and cohesiveness. We introduce a prompt function that measures the goodness of subgraph expansion, effectively bridging pretrained knowledge with community search. To overcome label scarcity, we propose a dual-prompt mix-training strategy, which utilize both ground truth communities and soft labels generated from unlabeled nodes. Finally, we develop an online search algorithm that expands from the query node into a coherent and connected community. Extensive experiments on nine real-world datasets show that PGCS consistently outperforms traditional and recent learning-based baselines in both accuracy and efficiency. On average, our proposed method outperforms SOTAs by up to 35.16% across all datasets.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- PLACE: Prompt Learning for Attributed Community Search in Large GraphsShuheng Fang, Kangfei Zhao, Rener Zhang, Yu Rong 等KDD 2026 · 被引用 1 次
- Community Search: A Meta-Learning ApproachShuheng Fang, Kangfei Zhao, Guanghua Li, Jeffrey Xu YuICDE 2023 · 被引用 19 次
- Efficient Unsupervised Community Search with Pre-trained Graph TransformerJianwei Wang, Kai Wang, Xuemin Lin, Wenjie Zhang 等VLDB 2024 · 被引用 30 次
- Beyond Homophily: Community Search on Heterophilic GraphsQing Sima, Xiaoyang Wang, Wenjie ZhangICDE 2026
- DMCS : Density Modularity based Community SearchJunghoon Kim, Siqiang Luo, Gao Cong, Wenyuan YuSIGMOD 2022 · 被引用 26 次
