社区搜索旨在识别一组最相关的节点集,以支持从欺诈检测到推荐系统的各种任务。与同质图不同,许多现实网络是异质的,其中边主要连接不相似的节点。因此,曾经反映平滑、低频相似性的结构信号现在表现为尖锐、高频对比。然而,经典算法(如k-core、k-truss)和最近的基于机器学习的模型在异质图上进行有效的社区搜索时都面临困难,其中边的符号或语义通常是未知的。基于算法的方法往往返回带有混合类标签的社区,而基于图神经网络(GNN)的方法则基于同质性,平滑掉有意义的信号并模糊社区边界。因此,我们提出了Adaptive Community Search(AdaptCS),一个轻量级框架,具有三个关键设计:(i)一个AdaptCS编码器,可以分离多跳和多频信号,使模型能够捕捉平滑(同质)和对比(异质)的关系;(ii)一种内存高效的低秩优化,去除主要的计算瓶颈并确保模型的可扩展性;(iii)一个自适应社区分数(ACS),通过平衡嵌入相似性和拓扑关系来指导在线搜索。在异质和同质基准上的大量实验表明,AdaptCS在F1分数上比最佳基线平均高出11%,在异质性水平上保持稳健,并在最强的基于机器学习的社区搜索基线之上实现了高达两个数量级的速度提升。
英文摘要:
Community search aims to identify a refined set of nodes that are most relevant to a given query, supporting tasks ranging from fraud detection to recommendation. Unlike homophilic graphs, many real-world networks are heterophilic, where edges predominantly connect dissimilar nodes. Therefore, structural signals that once reflected smooth, low-frequency similarity now appear as sharp, high-frequency contrasts. However, both classical algorithms (e.g., k-core, k-truss) and recent ML-based models struggle to achieve effective community search on heterophilic graphs, where edge signs or semantics are generally unknown. Algorithm-based methods often return communities with mixed class labels, while GNNs, built on homophily, smooth away meaningful signals and blur community boundaries. Therefore, we propose Adaptive Community Search (AdaptCS), a lightweight framework featuring three key designs: (i) an AdaptCS Encoder that disentangles multi-hop and multi-frequency signals, enabling the model to capture both smooth (homophilic) and contrastive (heterophilic) relations; (ii) a memory-efficient low-rank optimization that removes the main computational bottleneck and ensures model scalability; and (iii) an Adaptive Community Score (ACS) that guides online search by balancing embedding similarity and topological relations. Extensive experiments on both heterophilic and homophilic benchmarks demonstrate that AdaptCS outperforms the best-performing baseline by an average of 11% in F1-score, retains robustness across heterophily levels, and achieves up to 2 orders of magnitude speedup over the strongest ML-based CS baselines.
Auto-HeG: Automated Graph Neural Network on Heterophilic Graphs
Monash University(莫纳什大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Shenzhen University(深圳大学);Chinese Academy of Sciences(中国科学院);Griffith University(格里菲斯大学)
Towards Robust Graph Structural Learning Beyond Homophily via Preserving Neighbor Similarity
Dept. of Computer Science(计算机科学系);Hong Kong Chu Hai College(香港 Chu Hai 学院);Dept. of Computing(计算系);The Hong Kong Polytechnic University(香港理工大学);School of Cyber Science and Engineering(网络安全科学与工程学院);Shanghai Jiao Tong University(上海交通大学);Shanghai CESI Technology Co., Ltd(上海 CESI 技术有限公司);China Electronics Standardization Institute(中国电子标准化研究院)
Non-Dissipative Graph Propagation for Non-Local Community Detection
School of Engineering Mathematics and Technology(工程数学与技术学院);Technology University of Bristol Bristol, UK(布里斯托尔技术大学(英国));Dept. of Computer Science University of Pisa Pisa, Italy(计算机科学系,帕尔米斯大学(意大利))
Hypergraph Contrastive Learning for both Homophilic and Heterophilic Hypergraphs
College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);School of Mathematical and Computer Sciences, Heriot-Watt University(赫瑞斯泰大学数学与计算机科学学院);Department of Information Engineering and Computer Science, University of Trento(特伦托大学信息工程与计算机科学系)
Single-Pass Contrastive Learning Can Work for Both Homophilic and Heterophilic Graph
National University of Singapore(新加坡国立大学);University of Washington(华盛顿大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心)
Making Classic GNNs Strong Baselines Across Varying Homophily: A Smoothness-Generalization Perspective
Zhejiang Key Laboratory of Accessible Perception and Intelligent Systems, Zhejiang University(浙江可及感知与智能系统重点实验室,浙江大学);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);School of Software Technology, Zhejiang University(浙江大学软件学院);China University of Mining and Technology(中国矿业大学);Department of Computer Science, New York University Shanghai(纽约大学上海分校计算机科学系)