Abstract
Signed Graph Neural Networks (SGNNs) are vital for analyzing complex patterns in real-world signed graphs containing positive and negative links. However, three key challenges hinder current SGNN-based signed graph representation learning: sparsity in signed graphs leaves latent structures undiscovered, unbalanced triangles pose representation difficulties for SGNN models, and real-world signed graph datasets often lack supplementary information like node labels and features. These constraints limit the potential of SGNN-based representation learning. We address these issues with data augmentation techniques. Despite many graph data augmentation methods existing for unsigned graphs, none are tailored for signed graphs. Our paper introduces the novel Signed Graph Augmentation framework (SGA), comprising three main components. First, we employ the SGNN model to encode the signed graph, extracting latent structural information for candidate augmentation structures. Second, we evaluate these candidate samples (edges) and select the most beneficial ones for modifying the original training set. Third, we propose a novel augmentation perspective that assigns varying training difficulty to training samples, enabling the design of a new training strategy. Extensive experiments on six real-world datasets demonstrate that SGA significantly improves performance across multiple benchmarks.
Introduction
Signed graphs are ubiquitous in social media and financial platforms, where interactions can be supportive (positive) or antagonistic (negative). However, learning from these graphs is notoriously difficult due to extreme sparsity, structural complexity (such as unbalanced triangles that defy simple social balance theories), and a general scarcity of node-level information.
While data augmentation is a staple in other domains, standard graph augmentation techniques—such as randomly adding or flipping edges—often degrade performance in signed networks. This is because random perturbations disrupt the delicate balance of positive and negative relationships. To overcome these limitations, we propose SGA, the first data augmentation framework specifically designed to respect and leverage the unique properties of signed graphs.
The SGA Framework
The SGA framework treats augmentation as a refined structural refinement process consisting of three integrated stages:
- Candidate Generation: Using a backbone SGNN (e.g., SGCN), nodes are projected into an embedding space. The framework posits that nodes in close proximity are likely to share positive links, while those further apart are candidates for negative links.
- Beneficial Selection: To prevent the introduction of noise, SGA filters candidates using a Local Balance Degree metric. Only edges that maintain or improve the structural consistency of the graph are merged, ensuring the model is not confused by an influx of unbalanced triangles.
- Curriculum Training Plan: SGA introduces the concept of Edge Difficulty. Edges involved in balanced structures are classified as "easy," while those in unbalanced cycles are "difficult." The model follows a curriculum learning approach—starting with easy samples and gradually introducing harder ones—to stabilize and optimize the training process.
Experimental Evaluation
We evaluated SGA on six diverse, real-world signed graph datasets: Bitcoin-Alpha and Bitcoin-OTC (trading trust networks), Wiki-elec and Wiki-RfA (voting networks), Epinions (consumer trust), and Slashdot (social tagging).
Our experiments compared SGA-enhanced models against standard SGNN baselines across metrics including AUC and F1-scores (binary, micro, and macro). The results consistently showed that SGA provides a substantial performance boost, particularly in link sign prediction tasks.
Results and Discussion
SGA consistently outperformed baseline models across all datasets, often by massive margins. For instance, SGA boosted the AUC of the SGCN model by up to 22.2% on the Wiki-RfA dataset. For the GAT model on Bitcoin-alpha, SGA improved F1-binary by 33.3%, F1-micro by 48.8%, and F1-macro by 36.3%.
A critical insight from our analysis is that randomness is the enemy in signed graph augmentation. As shown in the figure above, random structural perturbations (c) lead to a significant drop in AUC across all datasets. In contrast, the targeted modifications enabled by SGA (a and b) allow the model to discover latent structures without introducing destructive noise. By bridging deep learning with classical social psychology theories like Heider’s Balance Theory, SGA ensures that augmentation is theory-driven and beneficial.
Conclusion
SGA addresses the fundamental challenges of sparsity and complexity in signed graph representation learning. By intelligently mining latent structures and employing an "easy-to-hard" curriculum training strategy, it significantly enhances the robustness and accuracy of SGNNs. Future work will involve exploring more sophisticated difficulty metrics and applying the SGA framework to broader tasks such as node classification and community detection in signed networks.
Summary updated