Abstract
Attributed Graph Clustering (AGC) aims to partition nodes in a graph by integrating structural information and node attributes. While contrastive learning has advanced this field, existing methods often suffer from a "node-only" bias and a lack of sensitivity to sample difficulty. This paper introduces the Robust Attributed Graph Clustering (RAGC) framework, which utilizes Hybrid-Collaborative Augmentation (HCA) to integrate edge-level representations and Contrastive Sample Adaptive-Differential Awareness (CSADA) to dynamically weight sample pairs. Experimental results across six benchmark datasets demonstrate that RAGC achieves state-of-the-art performance and superior resilience against data noise.
1. Introduction
Attributed Graph Clustering (AGC) is a fundamental task in network analysis, with applications ranging from social network community detection to citation analysis. The core challenge lies in effectively fusing the graph's topological structure with the high-dimensional attributes of its nodes. Recent advancements have pivoted toward Contrastive Learning (CL), which learns discriminative representations by maximizing similarity between different views of the same node (positives) and minimizing similarity between different nodes (negatives).
Despite its success, CL-based AGC faces two primary limitations. First, most frameworks prioritize node-level perturbations, treating edges as secondary structural constraints rather than primary features for augmentation. Second, standard contrastive loss functions treat all sample pairs equally, failing to distinguish between "easy" pairs (which the model distinguishes easily) and "hard" pairs (which are critical for defining cluster boundaries).
2. The RAGC Framework
To address these limitations, we propose the Robust Attributed Graph Clustering (RAGC) framework, consisting of two innovative modules: Hybrid-Collaborative Augmentation (HCA) and Contrastive Sample Adaptive-Differential Awareness (CSADA).
2.1 Hybrid-Collaborative Augmentation (HCA)
Unlike traditional methods that focus solely on node-feature augmentation, HCA establishes two parallel tracks:
- Node-Level Track: Applies standard augmentation techniques, such as attribute masking and the addition of Gaussian noise, to generate diverse node views.
- Edge-Level Track: Employs Multi-Layer Perceptrons (MLPs) to encode the graph's adjacency structure directly into edge-level embeddings.
The "collaborative" nature of HCA stems from the interaction between these tracks. Node embeddings are used to refine the augmented structure matrix ($A_{aug}$), while edge embeddings provide structural context to the node views. This cross-pollination ensures that the resulting similarity metrics are grounded in both local attributes and global topology.
2.2 Contrastive Sample Adaptive-Differential Awareness (CSADA)
The CSADA module introduces a dynamic weighting mechanism to the contrastive loss function. The process involves:
- Pseudo-Labeling: The model periodically performs K-means clustering on current embeddings to generate temporary cluster assignments.
- Confidence Selection: To mitigate the influence of outliers and noise, the model prioritizes "high-confidence" samples—those located closest to their respective cluster centroids.
- Weight Modulation: A specialized weighting function ($W$) is applied to sample pairs. "Positive-hard" pairs (nodes in the same cluster that appear dissimilar) are up-weighted to encourage tighter clustering, while "negative-hard" pairs (nodes in different clusters that appear similar) are prioritized to sharpen cluster boundaries.
3. Experimental Evaluation
RAGC was evaluated on six benchmark datasets: CORA, CITESEER (CITE), AMAP, BAT, EAT, and UAT. These datasets represent a variety of domains, including citation networks, product graphs, and air traffic networks.
3.1 Performance and Robustness
RAGC consistently outperformed eleven state-of-the-art baselines, including HSAN and CCGC. Notable results include:
- Accuracy Gains: RAGC achieved a 2.65% improvement in accuracy over the previous best method (HSAN) on the BAT dataset and a 1.67% improvement on CORA.
- Noise Resilience: When subjected to high attribute noise ($\sigma_N = 0.3$), RAGC’s performance degraded by only 11.36%. In contrast, competing methods like DCRN and CCGC saw degradations of 19.03% and 21.36%, respectively.
3.2 Generalizability
The CSADA weighting strategy proved to be highly adaptable. When integrated into other existing models, such as SCGC, it provided an immediate performance boost, suggesting that the "differential awareness" approach is a broadly applicable enhancement for contrastive graph learning.
4. Discussion and Conclusion
The RAGC framework demonstrates that treating edges as first-class citizens in the augmentation process and focusing on "hard" samples significantly enhances clustering robustness. The reinforcing cycle between embedding quality and pseudo-label accuracy creates a self-improving system capable of handling significant data noise.
While RAGC is highly effective for static graphs, future work will explore its application to dynamic and streaming graph data, where connections evolve over time. Additionally, optimizing the computational cost of iterative K-means and weight modulation will be essential for scaling the framework to massive networks with millions of nodes.
Summary updated