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

How Graph Structure and Label Dependencies Contribute to Node Classification in a Large Network of Documents

Pirmin Lemberger, Antoine Saillenfest · DOI

Abstract: We introduce a new dataset named WikiVitals which contains a large graph of 48k mutually referred Wikipedia articles classified into 32 categories and connected by 2.3M edges. Our aim is to rigorously evaluate the contributions of three distinct sources of information to the label prediction in a semi-supervised node classification setting, namely the content of the articles, their connections with each other and the correlations among their labels. We perform this evaluation using a Graph Markov Neural Network which provides a theoretically principled model for this task and we conduct a detailed evaluation of the contributions of each sources of information using a clear separation of model selection and model assessment. One interesting observation is that including the effect of label dependencies is more relevant for sparse train sets than it is for dense train sets.

Introduction

In semi-supervised node classification, the goal is often to predict the category of a document based on its features and its position within a network. Most standard Graph Neural Networks (GNNs) operate under a simplifying assumption: once the graph structure and node features are considered, the labels are assumed to be independent.

However, real-world labels are highly correlated. In a network of Wikipedia articles, a neighbor of a "Quantum Mechanics" article is statistically far more likely to be "Physics" than "Gardening." While standard GNNs capture feature propagation, they often overlook these direct label-to-label dependencies. Furthermore, existing benchmarks like Cora or Citeseer are small and highly assortative, meaning neighbors almost always share the same label. This makes them poor proxies for complex, real-world networks where connections are more diverse.

Methodology

To disentangle the various sources of information, this study employs the Graph Markov Neural Network (GMNN). The GMNN framework allows for the separate modeling of:

  1. Content: Document text features (modeled via an MLP).
  2. Structure: Inter-document links (modeled via a GNN).
  3. Label Dependencies: Statistical correlations between neighboring labels (modeled via a Conditional Random Field approach).

The GMNN utilizes a two-step architecture where one GNN predicts labels based on features, and a second GNN refines these predictions by analyzing neighborhood label consistency. These components are trained via an Expectation-Maximization (EM) algorithm. To ensure statistical rigor, the authors implement a "Fair Comparison" procedure, performing model selection and assessment across multiple random data splits rather than reporting single-run results.

The WikiVitals Dataset

The paper introduces WikiVitals, a large-scale benchmark designed to challenge modern GNNs. Compared to traditional datasets, WikiVitals offers a significant increase in complexity and scale.

Comparison of dataset statistics, highlighting the scale and low assortativity of WikiVitals.

As shown in the table above, WikiVitals contains over 48,000 nodes and 2.3 million edges. Crucially, its assortativity is significantly lower (0.204) than that of Cora (0.771) or Pubmed (0.686). This "disassortative" nature creates a noisier environment where a node’s neighbors are frequently from different categories, providing a more realistic test for classification algorithms.

Key Insights: Information Sources and Sparsity

Analysis of the GMNN on WikiVitals reveals several critical insights into how information is processed in graph networks:

  • The Sparsity Dividend: Label dependencies provide the most significant performance boost when training data is sparse. When few labeled examples are available, the "social pressure" or statistical context provided by neighboring labels compensates for the lack of direct feature-label evidence.
  • Architecture and Heterophily: On WikiVitals, a simple MLP (ignoring graph structure) can sometimes outperform a standard Graph Convolutional Network (GCN). This suggests that in heterophilic (disassortative) graphs, standard smoothing operations can actually degrade performance unless the architecture is specifically designed to handle diverse neighborhoods (e.g., FAGCN).

Experimental Results

The experimental results demonstrate the efficacy of the GMNN approach, particularly in data-constrained scenarios.

Accuracy results on sparse training sets across different datasets, showing the boost provided by GMNN.

On the WikiVitals dataset with sparse training sets, adding the GMNN label dependency layer improved accuracy from 70.64% to 74.80%, a substantial absolute gain of over 4%. In contrast, in "dense" settings where 80% of the graph is labeled, the marginal benefit of label dependencies decreases, as the model already possesses sufficient content-based evidence for accurate classification.

Conclusion and Future Work

This research highlights that accounting for label dependencies is a vital, yet often neglected, component of node classification, especially when training data is scarce. The WikiVitals dataset serves as a more rigorous benchmark for the field, reflecting the complexities of large-scale, low-assortativity networks.

Future work will address the limitations of the current single-label approach. Real-world documents are frequently multi-label and organized into hierarchies. Extending the GMNN framework to handle hierarchical labels and multi-label correlations remains a promising direction for improving classification in open-world document networks.

Summary updated

BibTeX
@misc{lemberger2023how,
  author = {Pirmin Lemberger and Antoine Saillenfest},
  title = {{How Graph Structure and Label Dependencies Contribute to Node Classification in a Large Network of Documents}},
  year = {2023},
  eprint = {2304.01235},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.01235},
}
Figure