Skip to main content
QUICK REVIEW

[论文解读] Revisiting Modularity Maximization for Graph Clustering: A Contrastive Learning Perspective

Yunfei Liu, Jintang Li|arXiv (Cornell University)|Jun 20, 2024
Advanced Graph Neural NetworksComputer Science被引用 3
一句话总结

该论文提出 Magi,一种新颖的无增强图聚类框架,通过将模块度最大化作为对比掩蔽任务,以提升聚类性能与可扩展性。通过基于模块度分数和边指示符定义正负样本对,并利用两阶段随机游走近似模块度矩阵,Magi 避免了语义漂移,在大规模图上(包括一个包含 100M 个节点的图)实现了最先进性能,优于现有的基于 GCL 的方法。

ABSTRACT

Graph clustering, a fundamental and challenging task in graph mining, aims to classify nodes in a graph into several disjoint clusters. In recent years, graph contrastive learning (GCL) has emerged as a dominant line of research in graph clustering and advances the new state-of-the-art. However, GCL-based methods heavily rely on graph augmentations and contrastive schemes, which may potentially introduce challenges such as semantic drift and scalability issues. Another promising line of research involves the adoption of modularity maximization, a popular and effective measure for community detection, as the guiding principle for clustering tasks. Despite the recent progress, the underlying mechanism of modularity maximization is still not well understood. In this work, we dig into the hidden success of modularity maximization for graph clustering. Our analysis reveals the strong connections between modularity maximization and graph contrastive learning, where positive and negative examples are naturally defined by modularity. In light of our results, we propose a community-aware graph clustering framework, coined MAGI, which leverages modularity maximization as a contrastive pretext task to effectively uncover the underlying information of communities in graphs, while avoiding the problem of semantic drift. Extensive experiments on multiple graph datasets verify the effectiveness of MAGI in terms of scalability and clustering performance compared to state-of-the-art graph clustering methods. Notably, MAGI easily scales a sufficiently large graph with 100M nodes while outperforming strong baselines.

研究动机与目标

  • 为解决现有图对比学习(GCL)方法的局限性,特别是由数据增强和昂贵的基于聚类的伪标签生成所引发的语义漂移与可扩展性问题。
  • 揭示模块度最大化与对比学习之间的内在联系,表明模块度天然地定义了正负样本对。
  • 开发一种可扩展的无增强 GCL 框架,利用模块度作为自监督掩蔽任务,实现面向社区的图聚类。
  • 证明基于模块度的对比学习可在保持计算效率的同时,实现优越的聚类性能,适用于大规模图。

提出的方法

  • Magi 基于模块度分数的符号和边指示符定义正负样本对,将模块度作为自然的对比信号。
  • 采用两阶段随机游走策略,以小批量方式高效近似模块度矩阵,降低计算成本。
  • 框架使用优化模块度最大化的对比损失函数,并通过温度超参数调优来平衡困难负样本的关注度。
  • 通过随机游走整合高阶邻近性,以更好地捕捉超越直接邻居的复杂社区结构。
  • 该方法避免使用数据增强以及 K-means/KNN 聚类进行伪标签生成,从而减少语义漂移并提升可扩展性。
  • 基于社区感知的随机游走采样策略确保在每节点仅需极少正样本的情况下保持稳定性能,使框架可扩展至最多 100M 个节点的图。

实验结果

研究问题

  • RQ1模块度最大化与图对比学习之间有何关系?它能否作为 GCL 中数据增强的合理替代方案?
  • RQ2基于模块度的对比学习框架能否避免由噪声或不一致增强引发的语义漂移?
  • RQ3高阶邻近性与采样策略对基于模块度的 GCL 的可扩展性与性能有何影响?
  • RQ4在大规模图上,该框架与最先进 GCL 方法相比,在聚类准确率与计算效率方面表现如何?
  • RQ5基于模块度的对比学习能否在不依赖 K-means 等昂贵聚类算法生成伪标签的情况下,实现具有竞争力的性能?

主要发现

  • Magi 在八个真实世界数据集上均实现了最先进聚类性能,优于强基线方法,包括无增强与基于 GCL 的方法。
  • 该框架可有效扩展至最多 10000 万个节点的图,相比依赖 K-means 或 KNN 生成伪标签的方法展现出更优的可扩展性。
  • 游走深度约为 5 时性能最优,过大的深度可能引入社区语义不同的正样本对。
  • 温度超参数在 0.5 左右表现最佳,能有效平衡对困难负样本的关注与整体对比信号。
  • 使用模块度分数符号与边指示符定义正负样本对,性能优于直接基于边的采样方法,后者易受跨社区边噪声影响。
  • 所提出的采样策略在性能上可媲美基于高阶模块度分数的方法,但计算复杂度显著降低,支持大规模部署。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。