Abstract
Real-world heterogeneous graphs (HGs) often contain "noisy" links—erroneous connections that degrade the performance of representation learning models. While homogeneous graphs can rely on feature similarity to correct structures, HGs present a significant challenge due to the semantic gap between different node types. This paper introduces NoiseHGNN, a framework that synthesizes a feature-based similarity graph to guide a dual-branch HGNN encoder. By employing a novel Metapath-Target contrastive learning objective, NoiseHGNN effectively filters structural noise, achieving significant performance improvements on benchmark datasets like IMDB and PubMed.
Introduction
In real-world applications, graph data is frequently corrupted by "noisy" links—erroneous connections between nodes that do not reflect true relationships. In simple homogeneous graphs, where all nodes share the same type, the "homogeneity assumption" allows for structure correction: similar nodes should be connected. However, this logic is difficult to apply to heterogeneous graphs (HGs). In an HG, nodes of different types (e.g., authors and papers) are fundamentally distinct in their feature spaces, yet they must be linked. Conversely, similar nodes (e.g., two authors) may not have direct links. This semantic gap makes identifying noise in HGs a complex task.
NoiseHGNN addresses this by bridging the semantic gap through higher-order structures. The core insight is that while raw features and direct links differ, their metapaths (e.g., Author-Paper-Author) can be aligned with feature-based similarities to identify valid structural patterns despite the presence of noise.
Methodology
The NoiseHGNN framework consists of four primary components designed to filter noise and learn robust representations:
- Similarity Graph Synthesizer: Nodes are projected into a unified feature space to calculate cosine similarity. A "synthesized similarity graph" is then constructed using top-$k$ connections.
- Similarity-Aware HGNN Encoder: A dual-branch encoder with shared parameters processes both the noisy original graph and the synthesized similarity graph. The similarity graph guides the attention mechanism, effectively "muting" links that lack feature-based support.
- Metapath-Target Contrastive Learning: To align the different semantics of the similarity and heterogeneous graphs, the model extracts metapaths from the noisy graph and compares them against target graphs from the similarity graph. Maximizing mutual information between these structures allows the model to learn noise-invariant patterns.
- Synchronous Supervision: The model utilizes embeddings from both branches for label prediction, ensuring the final representations are robust to structural errors.
Experiments and Results
The model was evaluated on five benchmark datasets (DBLP, ACM, IMDB, PubMed, and Freebase) modified with a 30% error link rate to simulate noisy real-world conditions.
NoiseHGNN demonstrated state-of-the-art performance, outperforming baselines on four out of five datasets. Notably, on noise-sensitive datasets like IMDB and PubMed, the model achieved a +5.9% average improvement over the previous best method, SlotGAT. Even on cleaner datasets like ACM, the model remained highly competitive, proving it does not sacrifice standard performance for noise resistance.
Visual analysis via t-SNE confirms these quantitative gains. NoiseHGNN produces significantly tighter and more distinct clusters compared to models like SimpleHGN, as evidenced by its superior Silhouette score of 0.21 compared to 0.12 for SimpleHGN.
Conclusion
NoiseHGNN provides a robust solution for representation learning on noisy heterogeneous graphs. By leveraging synthesized similarity graphs and metapath-based contrastive learning, it effectively filters structural errors and bridges the semantic gap inherent in HGs. Future work will explore extending this framework to handle missing data (links or features) and optimizing for large-scale dynamic environments.
Summary updated