Abstract
Deep node clustering in graph data often suffers from "cluster collapse" and a lack of end-to-end differentiability. We present Hyperspherical Prototype Node Clustering (HPNC), a novel framework that treats clustering as a geometric alignment problem. By mapping node embeddings onto a unit-hypersphere and aligning them with fixed, maximally separated prototypes via a learnable rotation matrix, HPNC achieves superior cluster separability and state-of-the-art performance across benchmark datasets.
Introduction
Node clustering is a fundamental task in graph analysis, aiming to partition nodes into groups based on structural and feature similarity without supervision. While deep learning methods, particularly Graph Neural Networks (GNNs), have advanced the field by learning powerful representations, they face two primary hurdles. First, the standard K-means clustering step is non-differentiable, preventing seamless end-to-end training. Second, GNNs often lack explicit incentives to separate clusters, leading to overlapping embeddings—a phenomenon known as cluster collapse.
Methodology
HPNC addresses these issues by leveraging the geometric properties of a unit-hypersphere. The framework consists of several key components:
- Hyperspherical Mapping: A Graph Autoencoder (GAE) encodes nodes into a latent space, which is then normalized to project embeddings onto a unit-hypersphere. This bounded space prevents scale-related instabilities and provides a natural setting for angular similarity.
- Fixed Prototypes: To ensure maximum separability, the model pre-calculates $c$ prototypes on the hypersphere by solving the Tammes problem—placing points such that the minimum distance between any two is maximized. These prototypes remain fixed throughout training.
- Learnable Rotation Matrix: To bridge the gap between initial random embeddings and fixed prototypes, HPNC introduces a learnable rotation matrix ($R$). This allows the prototypes to rotate as a rigid body, aligning with emerging node clusters without compromising their relative separation.
- Optimization Objectives: The model can be trained using Information Maximization (HPNC-IM) to ensure sharp, balanced cluster assignments, or a Deep Embedding Clustering loss (HPNC-DEC) adapted for the hyperspherical domain.
Experiments and Results
The effectiveness of HPNC was evaluated on five benchmark datasets: Cora, CiteSeer, PubMed, ACM, and DBLP. HPNC consistently outperformed or matched state-of-the-art methods across metrics such as Accuracy, Normalized Mutual Information (NMI), and Adjusted Rand Index (ARI).
For instance, on the Cora dataset, HPNC-DEC achieved an NMI of 59.4, significantly surpassing GraphMAE (57.6) and SDCN (24.6). Visual analysis using t-SNE confirms that HPNC produces tighter and more distinct clusters compared to traditional Graph Autoencoders, where cluster boundaries are often ambiguous. Furthermore, the model demonstrates high consistency; the internal cluster assignments align closely with post-hoc K-means results, indicating that the hyperspherical guidance successfully shapes the embedding space for clustering.
Conclusion
Hyperspherical Prototype Node Clustering introduces a robust, end-to-end differentiable pipeline for graph node clustering. By combining fixed geometric prototypes with a learnable rotation mechanism, it effectively mitigates cluster collapse and improves separability. While currently requiring a predefined number of clusters, the HPNC paradigm offers a generalizable framework that can be integrated with various unsupervised backbones for enhanced graph representation learning.
Summary updated