NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Node Representation Learning in Graph via Node-to-Neighbourhood Mutual Information Maximization

Wei Dong, Junsheng Wu, Yi Luo, Zongyuan Ge, Peng Wang

Abstract

Traditional Graph Neural Networks (GNNs) rely on recursive neighborhood aggregation, which introduces significant computational overhead and scalability challenges. This paper presents a novel framework that shifts structural awareness from the model architecture to the learning objective. By maximizing the mutual information (MI) between a node and its neighborhood using a simple Multi-layer Perceptron (MLP) encoder, the proposed Node-to-Neighbourhood (N2N) approach achieves superior performance. Central to this method is Topology-Aware Positive Sampling (TAPS), which identifies high-dependency neighbors to stabilize training. Experimental results across six benchmarks demonstrate that N2N outperforms state-of-the-art GNNs and contrastive learning methods while providing up to a 47x speedup in training efficiency.

Introduction

In the current landscape of graph representation learning, the "message passing" paradigm—characterized by recursive layers of neighborhood aggregation—is the dominant standard. While effective at capturing structural dependencies, this approach is computationally expensive and often requires extensive labeled data. Furthermore, the reliance on complex aggregation layers creates a bottleneck for scalability in large-scale applications.

This research proposes a radical shift: instead of building neighborhood awareness into the architecture of the network (as GNNs do), it should be integrated directly into the learning objective. By doing so, we can replace complex GNNs with simple, high-speed Multi-layer Perceptrons (MLPs) without sacrificing the structural insights necessary for graph-based tasks.

The Node-to-Neighbourhood (N2N) Framework

The core of the proposed method is the Node-to-Neighbourhood (N2N) mutual information maximization framework. This approach utilizes a contrastive learning strategy to train an MLP encoder.

1. MI Maximization as a Learning Objective

Rather than using a GNN to aggregate features, the model uses an MLP to generate node representations. To ensure these representations capture the graph's topology, the authors employ an InfoNCE loss function. This loss forces the representation of a specific node to be similar to the representation of its neighborhood, effectively embedding the graph structure into the latent space of the MLP.

2. Topology-Aware Positive Sampling (TAPS)

Standard contrastive learning often treats all neighbors equally, which can introduce noise from low-dependency or "weak" connections. To mitigate this, the authors introduce Topology-Aware Positive Sampling (TAPS). TAPS ranks neighbors based on their "graph-structural dependency"—a metric derived from the overlap between two nodes' respective neighborhoods. By focusing on the most structurally relevant neighbors, the model achieves higher stability and accuracy.

3. Theoretical Justification: Graph Smoothing

The authors provide a theoretical link between N2N MI maximization and the concept of graph smoothing. They demonstrate that maximizing the mutual information between a node and its neighborhood is mathematically equivalent to reducing noise and emphasizing structural consistency across the graph. This explains why the resulting representations are highly informative despite the simplicity of the encoder.

Experimental Setup

The N2N framework was evaluated on six real-world benchmark datasets:

  • Citation Networks: Cora, Pubmed, and Citeseer.
  • Co-purchase Graphs: Amazon Photo.
  • Co-authorship Graphs: Coauthor CS and Coauthor Physics.

The model was compared against standard GNNs (GCN, GAT) and leading Self-Supervised Learning (SSL) methods, including Deep Graph Infomax (DGI) and Multi-View Graph Representation Learning (MVGRL).

Key Results and Discussion

Superior Performance

N2N models consistently outperformed both supervised GNNs and state-of-the-art contrastive methods across all six datasets. In several instances, N2N improved accuracy by margins of up to 3% over established baselines.

Efficiency and Scalability

By bypassing the neighborhood aggregation phase during encoding, N2N achieves massive speedups. On the Coauthor Physics dataset, the N2N-TAPS-1 variant (which samples only the single most informative neighbor) was approximately 47x faster per epoch than a standard GCN. It also significantly outperformed other MLP-based competitors like Graph-MLP in terms of both speed and accuracy.

The Power of One

One of the most striking findings is the effectiveness of N2N-TAPS-1. Even when the model only considers the single most relevant neighbor as a positive pair, it achieves competitive results. This suggests that the quality of the structural context is far more important than the quantity of neighbors sampled.

Conclusion and Future Work

The N2N framework demonstrates that structural awareness can be successfully offloaded from the model architecture to the loss function. This shift enables the use of efficient MLP encoders that outperform traditional GNNs in both accuracy and speed.

While the current study focuses on homogeneous graphs, future research could extend the N2N and TAPS strategies to heterogeneous graphs containing multiple node and edge types. Additionally, exploring the synergy between N2N loss and more specialized non-GNN architectures remains a promising avenue for further optimization in graph representation learning.

Summary updated

BibTeX
@inproceedings{dong2022node,
  author = {Wei Dong and Junsheng Wu and Yi Luo and Zongyuan Ge and Peng Wang},
  title = {{Node Representation Learning in Graph via Node-to-Neighbourhood Mutual Information Maximization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure