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

N2GON: Neural Networks for Graph-of-Net with Position Awareness

Yejiang Wang, Yuhai Zhao, Zhengkui Wang, Wen Shan, Ling Li, Qian Li, Miaomiao Huang, Meixia Wang, Shirui Pan, Xingwei Wang

TL;DR

The N2GON paper introduces a hierarchical graph structure called Graph-of-Net (GON), where every node in a network is itself a complete graph. To navigate this "graphs-within-graphs" complexity, the authors developed N2GON, a position-aware neural network that uses dual encoders and a specialized constraint system to outperform state-of-the-art models across citation, social, and biomedical datasets.

The Challenge: Graphs Within Graphs

In traditional graph machine learning, we usually treat nodes as simple points with features. However, real-world entities are often complex systems. For example, in a protein-protein interaction network, each "node" is a protein—which is actually a complex graph of atoms and chemical bonds.

Visualization of a Graph-of-Net (GON) structure where nodes are themselves graphs.

Existing methods usually take one of two flawed paths:

  1. The Myopic Approach: They treat small graphs (like individual proteins) independently, ignoring the broader network they belong to.
  2. The Flattening Approach: They squash everything into one giant, flat graph, losing the distinct internal structure of the individual components.

The authors propose the Graph-of-Net (GON) framework to bridge this gap, allowing models to "see" both the internal (intra-graph) details and the global (inter-graph) dependencies simultaneously.

The N2GON Architecture

The core of the paper is the N2GON model, which processes data through a sophisticated multi-stage pipeline designed to handle hierarchical graph data.

The N2GON architecture featuring dual encoders and a constraint network.
  • Dual Encoders:
    • Encoder I focuses on the "micro" level, embedding the internal structure of each node-graph into a vector.
  • Encoder II looks at the "macro" level, using the outputs from Encoder I to update representations based on how these node-graphs connect to each other in the larger "Net."
  • The Constraint Network (Position Awareness): This is the "secret sauce." The model doesn't just rely on explicit edges; it builds an implicit "constraint network" using two components:
  • Grapher I: Connects nodes that share the same labels.
  • Grapher II: Uses Personalized PageRank (PPR) to calculate the "topological influence" of nodes. This ensures that nodes are embedded closer together if they are both similar in label and strategically positioned near each other in the network.
  • The Constrainer: A specialized loss function that pulls similar, well-connected nodes together in the embedding space while pushing dissimilar or distant nodes apart.

Empirical Evaluation and Key Results

The researchers evaluated N2GON on two main fronts: network benchmarks (9 datasets, including citation and heterophily networks) and biomedical datasets (7 datasets focusing on molecular interactions like Drug-Target and Protein-Protein interactions). To make standard network benchmarks fit the GON format, they sampled $k$-hop neighbors for each node to create sub-graphs.

N2GON consistently outperformed a wide array of baselines, including standard GNNs (GCN, GAT) and specialized heterophilic models (H2GCN, GGCN).

  • Accuracy Gains: On the CiteSeer dataset, N2GON showed a 3.94% improvement over GCNII. On the Actor dataset, it beat the previous best (GGCN) by 5.03%.
  • Biomedical Superiority: In the KIBA drug-target interaction task, N2GON achieved a 2.66% improvement in ROC-AUC over the top-performing encoder-based baseline.
  • Visual Evidence: Dimensionality reduction (t-SNE) plots demonstrated that N2GON creates much tighter, more distinct clusters of node classes compared to standard models like GCN, proving the efficacy of its adaptive arrangement.

Key Insights and Future Directions

The paper argues that "flat" graph models are inherently limited. By explicitly modeling the "node-as-a-graph" hierarchy, N2GON captures nuances that standard GNNs miss. Furthermore, the use of PPR in Grapher II allows the model to realize that "interactive proximity" should diminish as topological distance increases—proving that labels alone aren't enough for optimal node representation.

Limitations: The authors identify a few areas for improvement. Because the model uses dual encoders, errors or "noise" in the initial node attributes or edges can propagate and amplify through the layers. Additionally, the performance of the model is sensitive to how the GON is constructed (e.g., how many "hops" are used to create the sub-graphs).

Future Work: The current model is static. The authors suggest that future versions could use Reinforcement Learning to "rewire" the network dynamically, which would be particularly useful in fields like drug discovery or evolving recommender systems.

Summary updated

BibTeX
@inproceedings{wang2025n,
  author = {Yejiang Wang and Yuhai Zhao and Zhengkui Wang and Wen Shan and Ling Li and Qian Li and Miaomiao Huang and Meixia Wang and Shirui Pan and Xingwei Wang},
  title = {{N2GON: Neural Networks for Graph-of-Net with Position Awareness}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=rTcK6oq0On},
}
Figure