TL;DR
This paper introduces Node-Guided Contrastive Encoding (NGCE), a novel framework for multi-view graph clustering that effectively handles both homophilic (similar nodes connect) and heterophilic (dissimilar nodes connect) graphs. By using node features to adaptively guide the graph encoding process and employing a denoising-style contrastive learning mechanism, NGCE seamlessly integrates structural and feature information, achieving state-of-the-art performance across diverse graph types.
What Problem Does This Paper Address?
Multi-view graph clustering (MVGC) aims to group nodes by combining information from multiple graph "views" (e.g., different types of relationships between the same set of entities). Graph Neural Networks (GNNs) are the standard tool for this, often paired with contrastive learning to build robust representations without requiring labels.
However, existing methods suffer from a major blind spot: the homophily assumption. They assume connected nodes are inherently similar. When applied to heterophilic graphs—where connected nodes are often dissimilar, such as a network of predator-prey interactions or certain web links—these models fail. While some recent approaches try to fix this by explicitly separating homophilic and heterophilic information into different streams, this artificial decoupling can destroy the interactive essence of the graph. The authors tackle the challenge of encoding both types of information within a unified framework without compromising either.
Methods
The authors propose NGCE, which shifts the paradigm by using the nodes' own features to guide how the graph structure is processed.
- Adaptive Graph Joint Process: Instead of relying solely on the original graph structure (adjacency matrix), NGCE computes a node correlation matrix based on the cosine similarity of the nodes' features. It then dynamically blends the original adjacency matrix with this similarity matrix. The blending weight is determined by a learned "homophily degree" (estimated using pseudo-labels from previous clustering iterations).
- Node-Guided Contrastive Encoding (The "Denoising" Engine): NGCE adds random mask noise to the original node features (dropping some out entirely). It then uses a parameter-free GNN to aggregate neighborhood information over the blended graph to recover the masked features. A custom contrastive loss forces the network to accurately reconstruct the masked features while preserving the unmasked ones.
- Cross-View Contrast Module: To fuse the different views, NGCE calculates a consensus embedding using an attention-like weighting scheme (views more similar to the consensus get higher weights). It then applies a cross-view contrastive loss that uses high-confidence cluster centroids as negative samples, pushing different clusters further apart in the latent space.
Datasets
The authors evaluated NGCE on six benchmark datasets, split by their homophily characteristics:
- Homophilous Graphs: ACM (paper network), DBLP (author/conference network), and IMDB (movie network).
- Heterophilous Graphs: Texas, Chameleon, and Wisconsin (webpage networks). Note: Because these are originally single-view datasets, the authors duplicated the graph to simulate a multi-view environment for testing.
Key Insights and Ideas
- Unified Processing Beats Decoupling: Treating homophilic and heterophilic information as a unified whole—rather than explicitly separating them—preserves the natural structure of the graph and yields much richer representations.
- Features Can Guide Structure: By using node features to build a similarity matrix and adaptively blending it with the structural adjacency matrix, the model can dynamically adjust to the graph's true level of homophily on the fly.
- Denoising as a Contrastive Signal: Masking node features and forcing a parameter-free GNN to recover them acts as a powerful self-supervised signal. In this setup, the graph structure itself acts as the "parameters" of an autoencoder, forcing the embeddings to capture highly meaningful local neighborhood dynamics.
Key Results
NGCE achieved State-of-the-Art (SOTA) results across all six datasets, with particularly massive gains on the notoriously difficult heterophilic graphs.
- Homophilous Performance: On the ACM dataset, NGCE achieved 94.7% Accuracy (ACC) and 80.5% NMI, edging out strong recent baselines like BMGC (94.1% ACC).
- Heterophilous Performance: The improvements here were staggering. On the Texas dataset, NGCE hit 77.6% ACC, obliterating the next best baseline (AGCN at 61.8%). On Wisconsin, it reached 73.7% ACC compared to the runner-up's 56.6%.
- Ablation Studies: Removing the feature reconstruction loss caused massive performance drops (e.g., a 7.9% ACC drop on the ACM dataset and a 9.1% drop on Chameleon), proving that the denoising-recovery mechanism is the primary engine driving the model's success.
Limitations and Future Work
- Limitation: NGCE strictly requires node features to function. If a graph dataset only contains structural data (edges) and lacks node attributes, the model cannot be applied out-of-the-box.
- Future Work: To bypass this limitation, the authors suggest using random walk techniques (like DeepWalk) to generate synthetic node features from the topology when attributes are missing. They also propose developing a dedicated encoder capable of learning node features directly from the graph's raw topology, which would significantly broaden the framework's applicability.
Summary updated