Node Embedding using Mutual Information and Self-Supervision based Bi-level Aggregation

Kashob Kumar Roy, Amit Roy, A K M Mahbubur Rahman, M Ashraful Amin, Amin Ahsan AliarXiv 2021

TL;DR

LnL-GNN introduces a bi-level aggregation scheme that uses Mutual Information (MI) and self-supervision to overcome two classic Graph Neural Network (GNN) pitfalls: local neighborhood noise and the inability to capture long-range dependencies. By dynamically defining "Local" and "Non-Local" neighborhoods based on feature correlation rather than just graph topology, the model achieves state-of-the-art performance across both assortative and disassortative datasets.

What Problem Does This Paper Address?

Traditional GNNs rely on a local $l$-hop aggregation strategy, assuming that a node’s immediate neighbors are the most relevant for learning its representation (the homophily assumption). However, this leads to two major issues:

  1. Neighborhood Noise: In many real-world graphs—especially "disassortative" ones where connected nodes often belong to different classes—local aggregation pulls in irrelevant or "noisy" information. This degrades the quality of node embeddings.
  2. Missing Long-Range Dependencies: Informative nodes might be graphically distant but share high structural or feature similarity. Standard GNNs struggle to reach these distant nodes without stacking many layers, which often leads to the "over-smoothing" problem where all node embeddings become indistinguishable.
Fig. 1: Two weaknesses of classic GNNs: i) incompetent to distinguish between relevant (enclosed by green boundary) and irrelevant nodes in l-hop local-neighborhood; ii) less effective in capturing feature information from distant but similar nodes (two green center points).

Methods

The authors propose LnL-GNN, which operates in two main stages:

Stage 1: Self-Embedding and MI Estimation

The model first generates "Self-Embeddings" (SE) using a simple MLP on raw node features. To capture non-linear relationships, they train a Mutual Information Estimator (MIE). Because labeled data is often scarce, they introduce Multi-stage Self-Supervised Sampling (M3S). This algorithm iteratively assigns pseudo-labels to unlabeled nodes with high MI relative to class centroids, expanding the training set for the MI estimator.

Fig. 3: MLP embeds node features into SEs. M3S assign pseudo-labels to unlabeled nodes and include them into the set of labeled nodes. Next it draws positive and negative samples. MIE attempts to estimate MI between these samples. Finally, the parameters will be learned through optimizing the loss function in Eq. 2.

Stage 2: Bi-level Neighborhood Aggregation

Using the trained MI estimator, the model defines two distinct neighborhoods:

  • Local Neighborhood: Instead of a fixed $l$-hop radius, they use the Louvain algorithm for community detection on a graph where edges are weighted by MI. This filters out noisy neighbors and focuses on densely connected, correlated nodes.
  • Non-Local Neighborhood: They use MI-based clustering to group nodes that are graphically distant but highly correlated in their feature space.

Finally, the model performs Attentive Aggregation on both neighborhoods and combines them with the original node features to produce the final classification.

Fig. 2: Flow chart of LnL-GNN. At the first stage, MLP, to compute SEs, and MI Estimator, E, are trained using the estimation loss L. At next stage, obtained SEs and trained E are used to define local and non-local neighborhood followed by performing the local and non-local aggregation to compute the final embeddings of nodes. And, it updates the parameters of aggregation modules by optimizing the classification cross-entropy loss. Here, M3S denotes Multi-stage Self-Supervised Sampling. Dashed Line(- - -): Pre-processed Input Propagation, Solid Line (—) : Weight Update.

Datasets

The model was evaluated on ten diverse graph datasets, categorized by their Homophily Ratio (HR):

  • Assortative (High HR): Cora, Citeser, and Pubmed (citation networks).
  • Disassortative (Low HR): Texas, Cornell, Wisconsin, Washington (WebKB co-occurrence); Squirrel, Actor, and Chameleon (Wikipedia networks).

Key Insights and Ideas

  • MI over Euclidean Distance: Unlike previous attempts (like GEOM-GCN) that used simple distance metrics in latent space, MI captures complex, non-linear dependencies, making it a more robust measure for defining neighborhoods.
  • Data-Specific Receptive Fields: By integrating community detection with MI, the model creates a flexible receptive field. It doesn't just look "two steps away"; it looks at the "natural community," which significantly reduces the noise ratio (as shown in Figure 5).
  • Bridging the Gap: The bi-level approach allows the model to excel in both assortative graphs (where local info dominates) and disassortative graphs (where non-local info is vital).
Fig. 5: Effectiveness of Local Neighborhood: Comparisons of noise ratio between 2-hop neighborhood of existing GNNs and local neighborhood of our model.

Key Results

LnL-GNN consistently outperformed baseline models (GCN, GAT, GraphSAGE) and specialized architectures (GEOM-GCN, NL-GNN) across all ten datasets.

  • Accuracy Gains: On disassortative datasets like Texas and Cornell, LnL-GNN achieved accuracies of 91.2% and 90.3%, respectively—a massive jump over standard GCN (~56%).
  • Homophily Improvement: The non-local neighborhood discovery was highly effective; for the Texas dataset, the homophily ratio of the discovered non-local neighborhood was 0.83, compared to just 0.06 in the original graph (Figure 6).
  • Ablation Study: The authors confirmed that combining both local and non-local aggregation is superior to using either one in isolation.

Limitations and Future Work

  • Computational Complexity: The clustering step for non-local neighborhoods adds overhead ($O(|L| * |V|)$ per iteration). While the authors use sampling and label-based initialization to mitigate this, scaling to massive graphs with millions of nodes remains a challenge.
  • Centrality Sampling: To handle large datasets, the model samples nodes based on centrality measures. While efficient, this might inadvertently filter out informative nodes with low centrality.
  • Future Directions: The authors suggest that exploring different MI estimation techniques or more efficient clustering algorithms could further enhance the model's scalability and performance.

Summary updated

BibTeX
@misc{roy2021node,
  author = {Kashob Kumar Roy and Amit Roy and A K M Mahbubur Rahman and M Ashraful Amin and Amin Ahsan Ali},
  title = {{Node Embedding using Mutual Information and Self-Supervision based Bi-level Aggregation}},
  year = {2021},
  eprint = {2104.13014},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.13014},
}
Figure