Pre-train and Refine: Towards Higher Efficiency in K-Agnostic Community Detection without Quality Degradation
Meng Qin, Chaorui Zhang, Yu Gao, Weixi Zhang, Dit-Yan Yeung
Abstract
Community detection (CD) is a classic graph inference task that partitions nodes of a graph into densely connected groups. While many CD methods have been proposed with either impressive quality or efficiency, balancing the two aspects remains a challenge. This study explores the potential of deep graph learning to achieve a better trade-off between the quality and efficiency of 𝐾-agnostic CD, where the number of communities 𝐾 is unknown. We propose PRoCD (Pre-training & Refinement for Community Detection), a simple yet effective method that reformulates 𝐾-agnostic CD as the binary node pair classification. PRoCD follows a pre-training & refinement paradigm inspired by recent advances in pre-training techniques. We first conduct the offline pre-training of PRoCD on small synthetic graphs covering various topology properties. Based on the inductive inference across graphs, we then generalize the pre-trained model (with frozen parameters) to large real graphs and use the derived CD results as the initialization of an existing efficient CD method (e.g., InfoMap) to further refine the quality of CD results. In addition to benefiting from the transfer ability regarding quality, the online generalization and refinement can also help achieve high inference efficiency, since there is no time-consuming model optimization. Experiments on public datasets with various scales demonstrate that PRoCD can ensure higher efficiency in 𝐾-agnostic CD without significant quality degradation.
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.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Efficient Identity and Position Graph Embedding via Spectral-Based Random Feature Aggregation cites ProCom: A Few-shot Targeted Community Detection Algorithm
- GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networks cites GCC: Graph Contrastive Coding for Graph Neural Network Pre-Training
- GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networks cites Learning to Pre-train Graph Neural Networks
- ProCom: A Few-shot Targeted Community Detection Algorithm cites All in One: Multi-Task Prompting for Graph Neural Networks
- ProCom: A Few-shot Targeted Community Detection Algorithm cites GCC: Graph Contrastive Coding for Graph Neural Network Pre-Training
- ProCom: A Few-shot Targeted Community Detection Algorithm cites GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural Networks
Cited by top-tier papers2
Builds on8
- GCC: Graph Contrastive Coding for Graph Neural Network Pre-TrainingJiezhong Qiu, Qibin Chen, Yuxiao Dong, Jing Zhang et al.KDD 2020 · 755 citations
- Deep Graph Clustering via Dual Correlation ReductionYue Liu, Wenxuan Tu, Sihang Zhou, Xinwang Liu et al.AAAI 2022 · 300 citations
- GraphPrompt: Unifying Pre-Training and Downstream Tasks for Graph Neural NetworksZemin Liu, Xingtong Yu, Yuan Fang, Xinming ZhangWWW 2023 · 263 citations
- Learning to Pre-train Graph Neural NetworksYuanfu Lu, Xunqiang Jiang, Yuan Fang, Chuan ShiAAAI 2021 · 158 citations
- All in One: Multi-Task Prompting for Graph Neural NetworksXiangguo Sun, Hong Cheng, Jia Li, Bo Liu et al.KDD 2023 · 149 citations
Related papers
- Multi-Level Graph Representation Learning Through Predictive Community-based PartitioningBo-Young Lim, Jeongha Park, Kisung Lee, Hyuk-Yoon KwonSIGMOD 2025 · 2 citations
- Dual-Kernel Graph Community Contrastive LearningXiang Chen, Kun Yue, Wenjie Liu, Zhenyu Zhang et al.AAAI 2026
- Prompt-Guided Community Search Under Extreme Few-Shot SupervisionWenxin Yang, Kaiyu Feng, Lanting Fang, Kangfei Zhao et al.ICDE 2026
- Efficient Learning-based Community-Preserving Graph GenerationSheng Xiang, Dawei Cheng, Jianfu Zhang, Zhenwei Ma et al.ICDE 2022 · 8 citations
- Echoless Label-Based Pre-computation for Memory-Efficient Heterogeneous Graph LearningJun Hu, Shangheng Chen, Yufei He, Yuan Li et al.AAAI 2026 · 1 citation
