TL;DR
GraphSB addresses the "majority-class dominance" problem in graph neural networks by fixing the underlying graph structure before synthesizing new data. By combining hard-sample mining with a novel relation diffusion strategy, it prevents minority classes from being "assimilated" into the majority, boosting classification accuracy by an average of 4.57% as a plug-and-play module.
What Problem Does This Paper Address?
In the real world, graph data is rarely balanced. Think of a social network where a few "influencers" (majority) have millions of connections while most users (minority) have very few. When we train Graph Neural Networks (GNNs) on these imbalanced datasets, the minority classes often get "drowned out."
Existing solutions usually try to fix this at the data level (creating fake minority nodes) or the algorithm level (changing loss functions). However, the authors argue these are just "palliative" measures. The root cause is structural imbalance: minority nodes have sparser neighborhoods, meaning that during the GNN's "message passing" phase, they receive mostly majority-class information. This leads to minority-class assimilation, where the unique features of a minority node are progressively compressed until they look exactly like the majority class in the embedding space.
Methods
The authors introduce GraphSB (Graph Structural Balance), a framework designed to balance the graph's structure before applying traditional over-sampling techniques. It consists of two main stages:
- Structure Enhancement (SE):
- Hard Sample Mining: The model looks for "conflicted" nodes—nodes where the raw features suggest they belong to the majority, but their neighbors suggest they belong to the minority. These are the "hard samples" near the decision boundary.
- Adaptive Augmentation: Once these hard samples are identified, the model strategically adds edges between them and "anchor" minority nodes. To ensure the graph stays realistic (maintaining homophily), it only adds edges if the nodes are sufficiently similar in the latent space.
- Relation Diffusion (RD):
- Adding a few edges isn't enough to fix a global imbalance. RD uses a sparse iterative propagation strategy (similar to a low-pass filter) to spread the newly strengthened minority context across the graph. This allows the model to capture higher-order structural dependencies without the massive computational cost of traditional matrix inversions.
Finally, GraphSB uses an existing technique (GraphMixup) to handle Quantity Balance, creating synthetic nodes on this now structurally-sound foundation.
Datasets
The framework was evaluated on eight diverse benchmark datasets:
- Citation Networks: Cora, Citeseer, PubMed.
- E-commerce Networks: Amazon-Photo, Amazon-Computers.
- Co-authorship Network: Wiki-CS.
- Large-scale Graphs: ogbn-arxiv (169K nodes) and CoraFull.
The authors tested both "step-imbalanced" versions (where they manually downsampled classes) and naturally imbalanced datasets.
Key Insights and Ideas
- The "Assimilation" Proof: The authors provide a mathematical proof showing that as GNNs get deeper, the distance between minority and majority class centroids decays exponentially. Essentially, the deeper the network, the more the minority class disappears.
- Structure First, Quantity Second: Most researchers focus on how many nodes are in a class. This paper argues that how those nodes are connected is more important. If a minority node is only connected to majority nodes, adding ten more isolated minority nodes won't help much.
- Dual-View Analysis: By comparing a node's "internal" view (its own features) against its "external" view (its neighbors), the model can precisely identify which nodes are being "bullied" by majority-class neighbors and need structural support.
Key Results
- Superior Performance: GraphSB consistently outperformed 11 state-of-the-art baselines across all datasets. For example, it achieved 80.82% accuracy on PubMed, a 3.71% lead over the next best method.
- Plug-and-Play Utility: One of the most impressive results is that the "Structural Balance" module can be added to other existing GNN models. When integrated into four different SOTA baselines, it increased their accuracy by an average of 4.57%.
- Extreme Imbalance: On the
ogbn-arxivdataset, which has an extreme imbalance ratio ($\rho_0 = 0.001$), GraphSB showed significant gains, proving it scales well to massive, highly skewed real-world graphs.
Limitations and Future Work
While GraphSB is highly effective, the authors note a few areas for further exploration:
- Hyperparameter Sensitivity: The performance of the Relation Diffusion stage is sensitive to the diffusion coefficient ($\alpha$) and the number of steps ($K$). Too much diffusion can lead to "over-smoothing," where all nodes start looking the same.
- Computational Overhead: Although the authors optimized the diffusion to be linear in complexity, the two-stage optimization process (Structure Enhancement followed by Quantity Balance) naturally takes more training time than a "vanilla" GNN.
- Dependency on Quantity Balancers: Currently, GraphSB relies on GraphMixup for the final node synthesis. Future work could explore how different synthetic generation techniques interact with the structurally balanced graph.
Summary updated