TL;DR
Graph Neural Networks (GNNs) often struggle with imbalanced datasets because their message-passing mechanism inadvertently "blurs" minority classes into majority ones within the embedding space. This paper introduces the concept of Geometric Imbalance (GI) to quantify this ambiguity and proposes UNREAL, a unified framework that uses dual-path pseudo-labeling and geometric filtering to dramatically improve classification for rare nodes.
What Problem Does This Paper Address?
In the real world, graph data is rarely perfectly balanced. Consider a social network where "fraudulent" accounts make up a tiny fraction of the total user base, or a citation network where one research niche is significantly smaller than others. This is known as class imbalance.
While GNNs are powerful, they suffer from a "neighborhood bias." Because they learn by aggregating information from neighbors (message passing), a minority-class node is highly likely to be surrounded by majority-class neighbors. This topological reality pulls the minority node’s representation toward the majority cluster in the embedding space.
The authors identify this phenomenon as Geometric Imbalance: a state where minority nodes become "geometrically ambiguous." They end up sitting right on the boundaries between classes or even closer to the wrong class center. This makes standard self-training (where the model labels its own data) highly unreliable, as the model confidently assigns wrong labels to these "lost" nodes.
Methods: The UNREAL Framework
To detect and fix these geometric distortions, the authors propose a framework called UNREAL. It consists of three main modules designed to filter out ambiguity and align predictions:
- DualPath PseudoLabeler (DPAM): Instead of blindly trusting the GNN’s classifier, UNREAL runs a "dual-path" check. It compares the GNN's supervised prediction with an unsupervised clustering (like K-means) of the embedding space. A pseudo-label is only accepted if both paths agree, effectively filtering out nodes that are semantically or geometrically confusing.
- Node-Reordering (NR): Standard self-training picks nodes based solely on classifier confidence. UNREAL instead uses a dynamic ranking that fuses classifier confidence with geometric proximity (how close a node is to its class center). Early in training, it relies more on geometry to stabilize the process; as the model matures, it shifts toward confidence.
- Discarding Geometrically Imbalanced Samples (DGIS): This acts as a lightweight "ambiguity filter." It calculates a Geometric Imbalance index for each node based on the ratio of distances to the closest and second-closest class centroids. If a node is nearly equidistant from two classes, it’s discarded as too risky for training.
The entire approach is grounded in rigorous theoretical analysis using the von Mises-Fisher (vMF) distribution, which models how data points cluster on a hypersphere (the common shape of normalized GNN embeddings).
Key Insights and Ideas
- The GNN Curse: Interestingly, the authors found that Multi-Layer Perceptrons (MLPs) suffer less from geometric imbalance than GNNs. This confirms that the very mechanism that makes GNNs great—message passing—is exactly what causes geometric "smearing" in imbalanced scenarios.
- Entropy as a Signal: The paper mathematically proves that higher geometric imbalance directly leads to higher prediction uncertainty (information entropy). This provides a principled reason to use geometric distance as a proxy for label reliability.
- Alignment is Key: The "aha moment" of the framework is recognizing that supervised classifiers are often biased toward majority classes, but unsupervised clustering isn't. By forcing them to align (via DPAM), the framework can effectively "cancel out" the majority bias.
Key Results
UNREAL consistently outperformed state-of-the-art baselines (like GraphSMOTE and GraphENS) across diverse benchmarks, including citation networks (Cora, Citeseer, Pubmed), co-purchase/social graphs (Amazon-Computers, Flickr), and large-scale datasets (Ogbn-arxiv, Ogbn-products).
- Accuracy Boost: On the Cora dataset with a severe imbalance ratio ($\rho=100$), UNREAL improved balanced accuracy by +10.6% over the next best method.
- Robustness & Scalability: While many oversampling methods (which "hallucinate" new nodes) struggled with noise or hit memory limits on large graphs, UNREAL remained stable. On the massive Ogbn-arxiv dataset, UNREAL achieved superior performance while remaining computationally feasible, whereas some complex baselines suffered from Out-of-Memory (OOM) errors.
Limitations and Future Work
The authors acknowledge a few hurdles:
- Clustering Sensitivity: The performance of the DPAM module depends heavily on the quality of the unsupervised clustering. If the initial embeddings are extremely poor, K-means might not provide a helpful second opinion.
- Hyperparameters: The framework introduces a few new knobs to turn, such as the number of clusters and the filtering threshold, which require careful tuning.
- Beyond Classification: The current work focuses strictly on node classification. Extending these geometric insights to link prediction (predicting connections between nodes) is highlighted as a promising next step for future research.
Summary updated