mlsanityData to 14 Oct 2026

Attention Beyond Neighborhoods: Reviving Transformer for Graph Clustering

arXiv 2509.15024 ↗First posted 18 Sep 2025cs.LG cs.AI cs.NIcited by 0

Not on the map. Why?

Abstract (arXiv)

Attention mechanisms have become a cornerstone in modern neural networks, driving breakthroughs across diverse domains. However, their application to graph structured data, where capturing topological connections is essential, remains underexplored and underperforming compared to Graph Neural Networks (GNNs), particularly in the graph clustering task. GNN tends to overemphasize neighborhood aggregation, leading to a homogenization of node representations. Conversely, Transformer tends to over globalize, highlighting distant nodes at the expense of meaningful local patterns. This dichotomy raises a key question: Is attention inherently redundant for unsupervised graph learning? To address this, we conduct a comprehensive empirical analysis, uncovering the complementary weaknesses of GNN and Transformer in graph clustering. Motivated by these insights, we propose the Attentive Graph Clustering Network (AGCN) a novel architecture that reinterprets the notion that graph is attention. AGCN directly embeds the attention mechanism into the graph structure, enabling effective global information extraction while maintaining sensitivity to local topological cues. Our framework incorporates theoretical analysis to contrast AGCN behavior with GNN and Transformer and introduces two innovations: (1) a KV cache mechanism to improve computational efficiency, and (2) a pairwise margin contrastive loss to boost the discriminative capacity of the attention space. Extensive experimental results demonstrate that AGCN outperforms state-of-the-art methods.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 50 of its 62 references that are in the map. First posted on arXiv 18 Sep 2025.

Builds on

50 of 62 references.

References · 50

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  4. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  5. 2017Graph Attention Networkscited by 8,923
  6. 2019Simplifying Graph Convolutional Networkscited by 1,477
  7. 2018Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learningcited by 1,102
  8. 2020Geom-GCN: Geometric Graph Convolutional Networkscited by 826
  9. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  10. 2020A Generalization of Transformer Networks to Graphscited by 661
  11. 2020Contrastive Multi-View Representation Learning on Graphscited by 652
  12. 2019GraphSAINT: Graph Sampling Based Inductive Learning Methodcited by 618
38 more
  1. 2019Multi-scale Attributed Node Embeddingcited by 548
  2. 2023A critical look at the evaluation of GNNs under heterophily: Are we really making progress?cited by 343
  3. 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
  4. 2020Extractive Summarization as Text Matchingcited by 189
  5. 2022Finding Global Homophily in Graph Neural Networks When Meeting Heterophilycited by 179
  6. 2019Attributed Graph Clustering: A Deep Attentional Embedding Approachcited by 149
  7. 2020Structural Deep Clustering Networkcited by 145
  8. 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
  9. 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
  10. 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
  11. 2021Deep Graph Clustering via Dual Correlation Reductioncited by 97
  12. 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumptioncited by 97
  13. 2019Attributed Graph Clustering via Adaptive Graph Convolutioncited by 96
  14. 2021Breaking the Limit of Graph Neural Networks by Improving the Assortativity of Graphs with Local Mixing Patternscited by 95
  15. 2020Adaptive Graph Encoder for Attributed Graph Embeddingcited by 89
  16. 2019Learning Graph Embedding with Adversarial Training Methodscited by 84
  17. 2023Attending to Graph Transformerscited by 83
  18. 2022Deep Clustering: A Comprehensive Surveycited by 78
  19. 2021Multi-view Contrastive Graph Clusteringcited by 76
  20. 2020Deep Fusion Clustering Networkcited by 71
  21. 2023Cluster-guided Contrastive Graph Clustering Networkcited by 60
  22. 2022Simple Contrastive Graph Clusteringcited by 56
  23. 2023A Review of Deep Learning Techniques for Speech Processingcited by 52
  24. 2021Twitch Gamers: a Dataset for Evaluating Proximity Preserving and Structural Role-based Node Embeddingscited by 49
  25. 2019Universal Graph Transformer Self-Attention Networkscited by 41
  26. 2021Rethinking Graph Auto-Encoder Models for Attributed Graph Clusteringcited by 37
  27. 2023Beyond Homophily: Reconstructing Structure for Graph-agnostic Clusteringcited by 29
  28. 2024SpeGCL: Self-supervised Graph Spectrum Contrastive Learning without Positive Samplescited by 20
  29. 2024CDC: A Simple Framework for Complex Data Clusteringcited by 15
  30. 2025Uncertainty-Aware Graph Neural Networks: A Multi-Hop Evidence Fusion Approachcited by 14
  31. 2024Robust Graph Structure Learning under Heterophilycited by 11
  32. 2019RWR-GAE: Random Walk Regularization for Graph Auto Encoderscited by 10
  33. 2020CAST: A Correlation-based Adaptive Spectral Clustering Algorithm on Multi-scale Datacited by 7
  34. 2022Unsupervised Network Embedding Beyond Homophilycited by 7
  35. 2024One Node One Model: Featuring the Missing-Half for Graph Clusteringcited by 7
  36. 2024Every Node is Different: Dynamically Fusing Self-Supervised Tasks for Attributed Graph Clusteringcited by 6
  37. 2024Provable Filter for Real-world Graph Clusteringcited by 5
  38. 2023Transforming Graphs for Enhanced Attribute Clustering: An Innovative Graph Transformer-Based Methodcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Mechanistic Interpretability of Graph Transformers via Attention Graphs
  2. 2020Multi-hop Attention Graph Neural Network
  3. 2024SGFormer: Single-Layer Graph Transformers with Approximation-Free Linear Complexity
  4. 2024Focus Where It Matters: Graph Selective State Focused Attention Networks
  5. 2026Teaching LLMs to See Graphs: Unifying Text and Structural Reasoning
  6. 2026When Graph Tokens Sink: A Mechanistic Analysis of Graph Language Models
  7. 2026Graph Convolutional Attention: A Spectral Perspective on Graph Denoising and Diffusion
  8. 2022Teaching Yourself: Graph Self-Distillation on Neighborhood for Node Classification