Topology-Imbalance Learning for Semi-Supervised Node Classification

Deli Chen, Yankai Lin, Guangxiang Zhao, Xuancheng Ren, Peng Li, Jie Zhou, Xu Sun

TL;DR

While traditional machine learning focuses on the quantity of labels per class, this paper reveals that in graph data, the position of those labels matters just as much. The authors introduce ReNode, a model-agnostic framework that identifies "topology imbalance"—where labeled nodes are awkwardly placed relative to class boundaries—and adaptively re-weights them to produce more accurate and robust node classifications.

What Problem Does This Paper Address?

In semi-supervised node classification, we often have a massive graph but only a tiny handful of labeled nodes to train our models. Researchers have long studied "Quantity Imbalance" (e.g., having 100 labels for Class A but only 5 for Class B). However, this paper argues that graph data suffers from a unique, overlooked problem: Topology Imbalance (TINL).

Even if every class has the same number of labels, the structural roles of those labeled nodes aren't equal. Some labeled nodes sit deep within a "class center," while others sit right on the border between two communities. If your training labels are mostly "border" nodes, the model's decision boundary shifts, leading to "influence conflict" or "influence insufficiency."

Illustration of Topology Imbalance and ReNode re-weighting

This paper is the first to formally define TINL and provide a way to measure and fix it, ensuring that models aren't led astray by poorly positioned training examples.

Methods

The authors propose a two-step solution to combat topology imbalance:

  1. Totoro (Topology Relative Location): This is a new metric used to measure a node's "conflict level." Using Personalized PageRank (PPR), the authors calculate how much influence a labeled node receives from other classes. A high Totoro score means a node is likely near a topological boundary (high conflict), while a low score suggests it is a "class center" node.
  2. ReNode: This is a training schedule that re-weights nodes based on their Totoro scores. Instead of treating all training nodes equally, ReNode uses a cosine annealing mechanism to give higher weights to nodes near class centers and lower weights to those near boundaries. This ensures the model learns from the most representative examples and minimizes the noise from ambiguous boundary nodes.

Crucially, ReNode is model-agnostic, meaning it can be plugged into almost any Graph Neural Network (GNN) like GCN, GAT, or GraphSAGE.

Datasets

The researchers evaluated their method across several standard and large-scale benchmarks:

  • Citation Networks: Cora, CiteSeer, and PubMed.
  • Co-purchase Graphs: Amazon Photo and Amazon Computers.
  • Large-scale/Inductive Graphs: Reddit and the massive MAG-Scholar (which contains millions of nodes).

They specifically created "imbalance" versions of these datasets by varying the topological conflict levels of the training sets to test how ReNode performs under high-stress conditions.

Key Insights and Ideas

  • Orthogonality: Topology imbalance is independent of quantity imbalance. You can have a perfectly balanced number of labels and still have a "broken" model because of where those labels are placed.
  • Ubiquity: Because graphs are naturally asymmetric, it is almost impossible to pick a "perfectly symmetric" set of labels, making TINL a universal problem in graph learning.
Negative correlation between topological conflict and F1 score
  • Performance Degradation: As demonstrated empirically, there is a clear negative correlation between the level of topological conflict in the training set and the resulting model's performance (F1 score).
  • GNN Sensitivity: Not all GNNs are created equal. The authors found that GCN is highly sensitive to topology imbalance because its neighborhood averaging lacks a noise-filtering mechanism. In contrast, GAT (Graph Attention Networks) is more robust because it can dynamically adjust its weights to ignore "noisy" boundary influence.
  • The "Cold Start" Problem: On extremely large graphs with very sparse labels, the influence conflict between labeled nodes becomes negligible, making it harder for the Totoro metric to accurately locate boundaries.

Key Results

  • Performance Boost: ReNode consistently improved performance across all 6 GNN architectures tested. On the Cora dataset, it improved GCN's Macro-F1 score significantly, especially in high-conflict scenarios.
  • Synergy: When combined with existing quantity-imbalance methods (like Reweighting or Class Balanced Loss), ReNode provided an additive benefit, proving that solving for position helps even when you've already solved for count.
  • Scalability: Using an estimation method for PageRank, the authors showed that ReNode scales to graphs with millions of nodes (MAG-Scholar) without a massive computational overhead.

Limitations and Future Work

The authors acknowledge a few key limitations:

  • Homogeneous Assumption: ReNode is currently designed for "homophilous" graphs (where neighbors are expected to be similar). It may need significant updates to work on "heterophilous" graphs (like protein-protein interaction networks where different types of nodes connect).
  • Connectivity Dependence: If a graph is poorly connected or the labeling ratio is extremely low, the "influence conflict" signal becomes too weak for Totoro to work effectively.

Future work could involve extending these topological insights to other graph-related tasks beyond simple node classification, such as link prediction or graph-level anomaly detection.

Summary updated

BibTeX
@inproceedings{chen2021topology,
  author = {Deli Chen and Yankai Lin and Guangxiang Zhao and Xuancheng Ren and Peng Li and Jie Zhou and Xu Sun},
  title = {{Topology-Imbalance Learning for Semi-Supervised Node Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure