Graph Integrated Transformers for Community Detection in Social Networks

Heba Zahran, M. Omair Shafiq
1/7/2026
cs.SIcs.AI

No confident code implementation found for this paper.

Abstract

Community detection is crucial for applications like targeted marketing and recommendation systems. Traditional methods rely on network structure, and embedding-based models integrate semantic information. However, there is a challenge when a model leverages local and global information from complex structures like social networks. Graph Neural Networks (GNNs) and Transformers have shown superior performance in capturing local and global relationships. In this paper, We propose Graph Integrated Transformer for Community Detection (GIT-CD), a hybrid model combining GNNs and Transformer-based attention mechanisms to enhance community detection in social networks. Specifically, the GNN module captures local graph structures, while the Transformer module models long-range dependencies. A self-optimizing clustering module refines community assignments using K-Means, silhouette loss, and KL divergence minimization. Experimental results on benchmark datasets show that GIT-CD outperforms state-of-the-art models, making it a robust approach for detecting meaningful communities in complex social networks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zahran2026graph,
  title  = {Graph Integrated Transformers for Community Detection in Social Networks},
  author = {Heba Zahran and M. Omair Shafiq},
  year   = {2026},
  eprint = {2601.04367},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.04367v1}
}

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/2601.04367.svg)](https://codeofpaper.com/paper/2601.04367)

Discussion