TL;DR
Graph Neural Networks often break down when real-world graph structures contain noisy or incorrect links. While homogeneous graphs can use node feature similarity to clean up this noise, heterogeneous graphs (with multiple node and edge types) violate the basic homogeneity assumption. This paper introduces NoiseHGNN, a novel framework that bridges feature similarity and heterogeneous structures via a similarity-aware encoder and metapath-target contrastive learning, achieving state-of-the-art robustness against structural noise.
What Problem Does This Paper Address?
Real-world graph data is inherently messy, often riddled with spurious or incorrect links (structural noise). In homogeneous graphs—where all nodes are of the same type, such as a paper citation network—researchers typically fix this using the homogeneity assumption: similar nodes are more likely to connect. If an edge exists between highly dissimilar nodes, it is flagged as noise and corrected.
However, in Heterogeneous Graphs (HGs)—which contain multiple node and edge types (e.g., Authors, Papers, Venues)—this assumption completely fails. For instance, two highly similar authors do not directly link to each other; they link to papers. Directly applying feature-similarity matching to correct an HG structure leads to incorrect modifications and degraded performance, as illustrated below:
Methods
The authors propose NoiseHGNN, which avoids direct graph-to-graph structure correction and instead uses feature similarity to guide attention and contrastive learning.
The framework consists of four main components:
- Similarity Graph Synthesizer: Projects multi-modal node features into a unified space, calculates pairwise cosine similarities, and applies $k$-nearest neighbors ($k\text{NN}$) sparsification to build a high-order similarity graph ($G^\theta$).
- Graph Augmentation: Uses a Bernoulli-distribution-based masking mechanism to randomly drop edges from both the noisy graph and the synthesized similarity graph, creating distinct structural views.
- Similarity-Aware HGNN Encoder: A shared-parameter encoder that uses the synthesized similarity graph to modulate attention weights. If a node pair has zero similarity, message passing along that potentially noisy link is intercepted.
- Metapath-Target Contrastive Learning: Instead of directly contrasting the mismatched semantics of the raw HG and the similarity graph, the model extracts a metapath-based graph (from the noisy HG) and a target-based graph (from the similarity graph). Because these two subgraphs share the same higher-order semantics, they can be effectively aligned using a scaled cosine contrastive loss.
Datasets
The model was evaluated on five standard heterogeneous graph benchmarks, injected with a simulated 30% error link rate (randomly modifying target nodes while preserving edge types):
- DBLP: Academic network (Author, Paper, Term, Venue).
- ACM: Academic network (Paper, Author, Subject).
- IMDB: Movie network (Movie, Director, Actor, Keyword).
- Freebase: Knowledge graph (Book, Film, Music, Sports, etc.).
- PubMed_NC: Biomedical literature network (Gene, Disease, Chemical, Species).
Key Insights and Ideas
- Indirect Guidance over Direct Correction: Instead of trying to force the noisy heterogeneous graph to look like a feature-similarity graph, NoiseHGNN uses the similarity graph as a soft constraint to guide attention and intercept bad messages.
- Semantic Alignment via Metapaths: The true "aha" moment is realizing that while raw HGs and similarity graphs speak different structural languages, their higher-order projections (metapaths vs. target graphs) share the same semantic space, making contrastive learning viable.
- Sensitivity to Feature Quality: The method is incredibly potent for noise-sensitive datasets like IMDB and PubMed, where node features are simple one-hot encodings. In these cases, preserving and cleaning the topology is paramount.
Key Results
- SOTA in Noisy Environments: NoiseHGNN consistently outperformed all baselines (including SlotGAT, simpleHGN, and HAN) on 4 out of 5 datasets under 30% noise, achieving an average improvement of +4.2% on Macro-F1 and +2.6% on Micro-F1 compared to the runner-up.
- Massive Boosts on Noise-Sensitive Data: It achieved an average improvement of +5.9% on IMDB and PubMed, where features lack rich semantics and topology is everything.
- Robustness to High Noise: When testing noise ratios from 0% up to 50%, NoiseHGNN's performance degraded much more gracefully than competitors, showing wider margins of improvement as noise increased (see Figure 5 in the paper).
- Clustering Quality: t-SNE visualizations confirmed that NoiseHGNN produces much tighter, more distinct clusters, achieving a Silhouette score of 0.215 on DBLP compared to 0.12 for simpleHGN.
Limitations and Future Work
- Insensitivity to Rich Semantic Features: On the ACM dataset, NoiseHGNN slightly underperformed SlotGAT (-0.48%). The authors note that ACM nodes contain rich bag-of-words text embeddings, making it noise-insensitive because classification can rely purely on features rather than graph structure.
- Future Directions: The authors plan to extend the framework to handle more complex real-world noise scenarios simultaneously, such as missing features, missing links, and edge perturbations combined.
Summary updated