Revisiting Modularity Maximization for Graph Clustering: A Contrastive Learning Perspective

Yunfei Liu, Jintang Li, Yuehe Chen, Ruofan Wu, Ericbk Wang +7 more
6/20/2024
cs.LGcs.AI

No official code found. Best implementation: EdisonLeeeee/MAGI (21 stars, last commit 2024-06-26).

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.

View on arXivView PDF

Code Implementations(1)

EdisonLeeeee/MAGICommunity100%

[KDD 2024] Revisiting Modularity Maximization for Graph Clustering: A Contrastive Learning Perspective

210PythonJun 18, 20242 years ago
graph-clusteringgraph-contrastive-learningkdd2024

Similar Papers

Cite this paper

@article{liu2024revisiting,
  title  = {Revisiting Modularity Maximization for Graph Clustering: A Contrastive Learning Perspective},
  author = {Yunfei Liu and Jintang Li and Yuehe Chen and Ruofan Wu and Ericbk Wang and Jing Zhou and Sheng Tian and Shuheng Shen and Xing Fu and Changhua Meng and Weiqiang Wang and Liang Chen},
  year   = {2024},
  eprint = {2406.14288},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.14288v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.14288.svg)](https://codeofpaper.com/paper/2406.14288)

Discussion