TL;DR
This paper introduces geometric imbalance, a phenomenon where message passing in Graph Neural Networks (GNNs) causes minority-class nodes to drift toward class boundaries in the embedding space, leading to high prediction uncertainty. The authors propose UNREAL, a unified self-training framework that mitigates this by aligning clustering with classification, adaptively reordering nodes for pseudo-labeling, and filtering out geometrically ambiguous samples.
What Problem Does This Paper Address?
Class imbalance—where some classes have significantly fewer examples than others—is a major hurdle for GNNs. While standard machine learning faces this issue, GNNs have a unique complication: message passing. In an imbalanced graph, minority nodes are frequently surrounded by majority-class neighbors. As the GNN aggregates information, the features of these minority nodes get "pulled" toward the majority classes.
The authors argue that this creates a specific type of geometric imbalance in the embedding space (specifically on a Riemannian manifold). Unlike "topology imbalance," which deals with the raw graph structure, geometric imbalance describes the positional ambiguity of nodes after they've been processed by the GNN. Minority nodes end up in "no-man's land" between class centers, making them prone to incorrect pseudo-labels during self-training.
Methods
The authors propose a framework called UNREAL to detect and mitigate geometric imbalance during the self-training process. It consists of three modular components:
- DualPath PseudoLabeler (DPAM): Traditional self-training relies on the classifier's confidence. UNREAL adds a second path: unsupervised clustering (k-means) in the embedding space. DPAM only accepts a pseudo-label if both the supervised classifier and the unsupervised clustering agree, acting as a high-quality filter.
- Node-Reordering (NR): Instead of just picking the most "confident" nodes, UNREAL uses a dynamic ranking strategy. It fuses Confidence Rankings (CR) with Geometric Rankings (GR) (proximity to class centroids). Early in training, when the classifier is biased, the geometric perspective dominates to stabilize the process. As the model matures, confidence plays a larger role. This fusion is managed via Rank-Biased Overlap (RBO).
- Discarding Geometrically Imbalanced Nodes (DGIS): This is a lightweight filtering mechanism. It identifies nodes that are nearly equidistant from their two closest class centers—the most "ambiguous" spots in the geometry—and discards them from the pseudo-labeling pool to prevent noise injection.
Datasets
The authors evaluated UNREAL on nine benchmark datasets across various scales and imbalance types:
- Citation Networks: Cora, Citeseer, and Pubmed (with synthetic imbalance ratios $\rho$ ranging from 10 to 100).
- Co-purchase Networks: Amazon-Computers.
- Naturally Imbalanced Datasets: Computers-Random and CS-Random.
- Large-Scale Graphs: Flickr and Ogbn-arxiv (where $\rho$ reaches a staggering 775.4).
- Ogbn-Products: Used to further validate scalability.
Key Insights and Ideas
- The Geometry of Uncertainty: The paper mathematically establishes that geometric imbalance (measured by intra-class compactness vs. inter-class separation) is directly proportional to prediction entropy. If a node is geometrically ambiguous, the model will be uncertain about it.
- GNNs vs. MLPs: A fascinating finding is that MLPs are much less susceptible to geometric imbalance because they lack the neighborhood aggregation that causes minority nodes to "drift" toward majority clusters. This highlights that geometric imbalance is a GNN-specific headache.
- Clustering as a Regularizer: By requiring agreement between a biased classifier and an unbiased clustering algorithm, the DualPath approach effectively "de-biases" the pseudo-labeling process.
- Dynamic Ranking: The use of RBO to shift importance from geometric proximity to classifier confidence reflects the reality of training: geometry is more reliable when the classifier is still "learning" the imbalance.
Key Results
UNREAL consistently outperformed state-of-the-art baselines (like GraphSMOTE, GraphENS, and TAM) across nearly all settings.
- Severe Imbalance: On Cora with an imbalance ratio of 100, UNREAL improved balanced accuracy by +5.72% and Macro-F1 by +3.62% over the best baseline.
- Scalability: Unlike many over-sampling methods that crash on large graphs due to memory issues, UNREAL remained computationally feasible on Ogbn-arxiv and Flickr, achieving superior performance.
- Robustness: The framework showed stable gains regardless of the underlying GNN backbone (GCN, GAT, or GraphSAGE).
Limitations and Future Work
The authors acknowledge a few areas for improvement:
- Clustering Quality: The framework's success partially depends on the quality of the unsupervised clustering. While k-means is efficient, more sophisticated manifold-aware clustering might yield even better results.
- Computational Overhead: While more efficient than node-synthesis methods, the iterative clustering and ranking do add some overhead compared to vanilla GNN training.
- Task Expansion: The current work focuses on node classification. The authors suggest that extending these geometric insights to link prediction in imbalanced graphs is a promising future direction.
Summary updated