Every Node Is Different: Dynamically Fusing Self-Supervised Tasks for Attributed Graph Clustering

Pengfei Zhu, Qian Wang, Yu Wang, Jialu Li, Qinghua Hu

Introduction

Attributed Graph Clustering (AGC) is a fundamental task in network analysis, aiming to partition nodes into disjoint groups based on both topological connections and node-specific attributes. In real-world scenarios, such as social networks or citation indices, ground-truth labels are rarely available, leading researchers to rely on Self-Supervised Learning (SSL). SSL utilizes "pretext tasks"—such as predicting graph structure or reconstructing attributes—to learn informative node representations without manual supervision.

While multi-task learning has become a popular approach to improve AGC performance, existing methods typically apply a global weighting strategy to these tasks. This "one-size-fits-all" approach assumes that every node in the graph benefits equally from the same combination of SSL objectives. However, nodes in a graph are inherently heterogeneous; for instance, a paper in a citation network might be best categorized by its text content, while another is better defined by its citation patterns. This paper introduces DyFSS (Dynamically Fusing Self-Supervised Learning), a framework that addresses this limitation by assigning unique, node-specific task weights through a Mixture of Experts (MoE) architecture.

The DyFSS Framework

DyFSS shifts the paradigm from global task weighting to node-level dynamic fusion. The architecture is built upon two primary components: a Dynamic Fusion Network and a Dual-Level Self-Supervised Strategy.

1. Dynamic Fusion Network (Mixture of Experts)

To capture the nuances of different nodes, DyFSS treats various SSL tasks as specialized "experts." The model incorporates five distinct SSL tasks, including Graph Partitioning, Attribute Clustering, and Deep Graph Infomax. Each task is associated with a specific Graph Convolutional Network (GCN) layer that extracts task-specific features.

A central Gating Network serves as the decision-maker. By analyzing a node's initial embedding, the gating network calculates a unique set of weights for that specific node. These weights determine how much the model should trust each expert's output, allowing for a customized fusion of features that reflects the node's individual characteristics.

2. Dual-Level Self-Supervised Strategy

Training a complex fusion network without labels requires a robust optimization strategy. DyFSS employs a two-pronged approach to guide the learning process:

  • Pseudo-label Level: The model identifies "easy" nodes—those for which it has high clustering confidence—and uses their predicted clusters as temporary labels. This provides a target for the model to refine its representations.
  • Graph Structure Level: To ensure the learned embeddings remain faithful to the underlying network, the model uses the original adjacency matrix. This ensures that physically connected nodes remain close to one another in the embedding space, providing a necessary constraint during the early stages of training.

Experimental Results

The authors evaluated DyFSS against thirteen baseline methods across five benchmark datasets: Cora, Citeseer, Photo, Computers, and CS. The results demonstrate that DyFSS consistently outperforms state-of-the-art multi-task learning models like ParetoGNN and AUTOSSL.

Performance Highlights

  • Accuracy (ACC): On the Amazon Photo dataset, DyFSS achieved an accuracy of 79.81%, representing an 8.66% improvement over the previous best multi-task method.
  • Normalized Mutual Information (NMI): The model showed significant gains on the Computers dataset, increasing NMI from 47.09% (ParetoGNN) to 53.68%.
  • Ablation Studies: Experiments confirmed that both the dynamic gating mechanism and the dual-level supervision are critical. Removing either component led to a measurable decline in clustering performance, validating the MoE approach.

Key Insights

The success of DyFSS highlights the importance of node-level granularity in graph representation learning. By visualizing similarity matrices, the authors demonstrated that global weighting often defaults to favoring topology, which can blur the boundaries between communities for nodes that are more attribute-dependent. DyFSS successfully recovers these intrinsic structures by allowing the gating network to adapt to the specific needs of each node.

Furthermore, the dual-level supervision strategy acts as a vital stabilizer. In the early stages of training, when clustering results are often unreliable, the combination of pseudo-labels and raw graph structure prevents the model from converging on suboptimal solutions, allowing the gating network time to learn effective weighting strategies.

Conclusion and Future Work

DyFSS represents a significant step forward in Attributed Graph Clustering by recognizing and leveraging node heterogeneity. While the model achieves superior performance, it introduces higher computational complexity due to the multi-expert architecture. Future research may focus on optimizing this overhead or developing methods to automatically select the most relevant SSL tasks for a specific graph before the fusion process begins. Additionally, exploring the impact of different pre-training methods on the final fusion quality remains a promising avenue for further study.

Summary updated

BibTeX
@inproceedings{zhu2024every,
  author = {Pengfei Zhu and Qian Wang and Yu Wang and Jialu Li and Qinghua Hu},
  title = {{Every Node Is Different: Dynamically Fusing Self-Supervised Tasks for Attributed Graph Clustering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i15.29664},
}
Figure