Papers › Contrastive Deep Nonnegative Matrix Factorization for Community Detection

Contrastive Deep Nonnegative Matrix Factorization for Community Detection

4 Nov 2023arXiv:2311.02357archive 2025-07-28

Yuecheng Li, Jialong Chen, Chuan Chen, Lei Yang, Zibin Zheng

Recently, nonnegative matrix factorization (NMF) has been widely adopted for community detection, because of its better interpretability. However, the existing NMF-based methods have the following three problems: 1) they directly transform the original network into community membership space, so it is difficult for them to capture the hierarchical information; 2) they often only pay attention to the topology of the network and ignore its node attributes; 3) it is hard for them to learn the global structure information necessary for community detection. Therefore, we propose a new community detection algorithm, named Contrastive Deep Nonnegative Matrix Factorization (CDNMF). Firstly, we deepen NMF to strengthen its capacity for information extraction. Subsequently, inspired by contrastive learning, our algorithm creatively constructs network topology and node attributes as two contrasting views. Furthermore, we utilize a debiased negative sampling layer and learn node similarity at the community level, thereby enhancing the suitability of our model for community detection. We conduct experiments on three public real graph datasets and the proposed model has achieved better results than state-of-the-art methods. Code available at https://github.com/6lyc/CDNMF.git.

PaperPDFCode

Code

6lyc/cdnmf officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Community DetectionContrastive LearningGraph EmbeddingMatrix Factorization / DecompositionNode Clustering

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Community Detection Citeseer CDNMF ACC 0.4756 #1 of 1 Archive leaderboard report
Community Detection Citeseer CDNMF NMI 0.2559 #1 of 1 Archive leaderboard report
Community Detection Cora CDNMF ACC 0.6081 #2 of 2 Archive leaderboard report
Community Detection Cora CDNMF NMI 0.4006 #2 of 2 Archive leaderboard report
Community Detection Pubmed CDNMF ACC 0.6653 #1 of 1 Archive leaderboard report
Community Detection Pubmed CDNMF NMI 0.2330 #1 of 1 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections