Attributed Graph Clustering: A Deep Attentional Embedding Approach

Chun Wang, Shirui Pan, Ruiqi Hu, Guodong Long, Jing Jiang, Chengqi Zhang

Abstract

Traditional attributed graph clustering methods often follow a disjointed two-step process: learning node embeddings and then applying a clustering algorithm. This approach is suboptimal as the embedding process remains agnostic to the clustering objective. We present Deep Attentional Embedded Graph Clustering (DAEGC), a unified framework that jointly optimizes a graph attentional autoencoder and a self-training clustering module. By leveraging high-order neighbor information and an attention mechanism, DAEGC learns cluster-oriented embeddings that significantly improve performance on benchmark citation networks.

Introduction

Graph clustering is a fundamental task in network analysis, aimed at partitioning nodes into groups based on topological structure and node attributes. In modern datasets, nodes are often "attributed," containing rich feature information (e.g., text in citation networks). While deep learning has advanced graph representation, most existing methods decouple embedding from clustering. This "two-step" approach fails to capture the specific nuances required for effective group separation, as the embedding space is not explicitly shaped for clustering.

Comparison between traditional two-step models and the proposed unified DAEGC model.

The DAEGC Framework

DAEGC addresses these limitations by integrating embedding and clustering into a single, goal-directed architecture. The model consists of two primary components trained in tandem:

1. Graph Attentional Autoencoder

The encoder utilizes a Graph Attention Network (GAT) to capture node representations. Unlike standard graph convolutional networks that treat neighbors uniformly, the attention mechanism assigns varying weights to neighbors, allowing the model to focus on the most relevant structural information. Crucially, the encoder incorporates high-order neighbors (e.g., 2nd-order) to provide a broader context of the graph topology.

The decoder is a simple inner-product layer that reconstructs the adjacency matrix $A'$ from the latent embeddings $Z$. This ensures that the learned representations remain faithful to the original graph structure.

The detailed architecture of DAEGC, showing the GAT-based encoder, the reconstruction decoder, and the self-training clustering module.

2. Self-optimizing Clustering Module

To make the embeddings "cluster-friendly," DAEGC employs a self-training strategy. It calculates soft cluster assignments using a Student’s $t$-distribution, measuring the similarity between node embeddings and learnable cluster centers. The model then generates high-confidence "soft labels" to supervise the clustering process via a KL-divergence loss. This feedback loop ensures that the embedding space is iteratively refined to enhance cluster purity.

Experimental Evaluation

The authors evaluated DAEGC on three standard citation datasets: Cora, Citeseer, and Pubmed. In these networks, nodes represent documents with bag-of-words features, and edges represent citations.

DAEGC consistently outperformed ten state-of-the-art baselines, including K-means, Spectral Clustering, DeepWalk, and Variational Graph Autoencoders (VGAE). Notable results include:

  • Cora: DAEGC achieved an accuracy (ACC) of 0.704, significantly higher than VGAE's 0.592.
  • Citeseer: The model reached an ACC of 0.672, outperforming most baselines which typically scored below 0.550.

Visualization using t-SNE confirmed that DAEGC produces more distinct and well-separated clusters compared to models that lack the joint optimization module.

Conclusion and Future Directions

DAEGC demonstrates that joint optimization of graph embeddings and clustering objectives leads to superior performance. The use of attention and high-order proximity allows the model to effectively balance topological structure and node attributes. Future research may focus on improving the model's scalability for massive graphs and extending the attentional mechanism to heterogeneous or dynamic network structures.

Summary updated

BibTeX
@inproceedings{wang2019attributed,
  author = {Chun Wang and Shirui Pan and Ruiqi Hu and Guodong Long and Jing Jiang and Chengqi Zhang},
  title = {{Attributed Graph Clustering: A Deep Attentional Embedding Approach}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/509},
}
Figure