Abstract
How can we model node representations to accurately infer the signs of missing edges in a signed social graph? Signed social graphs have attracted considerable attention to model trust relationships between people. Various representation learning methods such as network embedding and graph convolutional network (GCN) have been proposed to analyze signed graphs. However, existing network embedding models are not end-to-end for a specific task, and GCN-based models exhibit a performance degradation issue when their depth increases. In this paper, we propose Signed Diffusion Network (SidNet), a novel graph neural network that achieves end-to-end node representation learning for link sign prediction in signed social graphs. We propose a new random walk based feature aggregation, which is specially designed for signed graphs, so that SidNet effectively diffuses hidden node features and uses more information from neighboring nodes. Through extensive experiments, we show that SidNet significantly outperforms state-of-the-art models in terms of link sign prediction accuracy.
Introduction
Most graph learning research focuses on "unsigned" graphs, where edges represent simple connections like a "follow" on social media. However, many real-world relationships are signed, representing trust (+) or distrust (-). Modeling these graphs is challenging due to two primary factors:
- Heterophily: Standard Graph Neural Networks (GNNs) assume connected nodes are similar. In signed graphs, a negative edge explicitly indicates that nodes are dissimilar.
- The Over-smoothing Trap: As GNNs grow deeper to capture information from distant neighbors, node representations often converge and become indistinguishable. Previous signed GNNs typically fail when attempting to look beyond three "hops."
The SidNet Architecture
SidNet (Signed Diffusion Network) is an end-to-end representation learning model designed specifically for signed social graphs. It overcomes the limitations of previous models by integrating task-specific learning directly into the network architecture.
As shown in the architecture overview, SidNet consists of multiple layers ($L$) that process graph information $\mathcal{G}$ and node features $\mathbf{X}$ to produce hidden representations $\mathbf{H}$ for link sign prediction.
Signed Random Walk Diffusion and Local Feature Injection
The core innovation of SidNet is its two-pronged approach to feature aggregation:
- Signed Random Walk Diffusion: The model simulates a "signed surfer" moving through the graph. If the surfer traverses a positive edge, they maintain their sign; if they traverse a negative edge, the sign flips (following the logic that an enemy of an enemy is a friend). This allows the model to aggregate features while respecting social balance theory.
- Local Feature Injection: Inspired by the APPNP algorithm, SidNet "injects" a portion of a node’s original features at every step of the diffusion process. This acts as an anchor, preventing the representation from washing out into a generic average of its neighbors.
Each layer utilizes multiple diffusion steps ($K$) and skip connections to maintain gradient flow and model complex patterns without succumbing to over-smoothing.
Experimental Results
The authors evaluated SidNet on five real-world directed signed graphs, including Bitcoin-Alpha, Bitcoin-OTC, Wikipedia, Slashdot, and Epinions. Since these datasets lack intrinsic node features, Singular Value Decomposition (SVD) was used to generate initial feature vectors.
Key Insights
- Depth as a Benefit: While competitors saw performance drop after 3 hops, SidNet’s performance improved and stabilized when looking 20–30 hops away, proving that depth can be an advantage if over-smoothing is controlled.
- Performance Boost: SidNet consistently outperformed state-of-the-art models (like SGCN and SNEA), achieving a 3.3% to 6.6% improvement in AUC and significant gains in Macro F1 scores.
- Scalability: The model’s time complexity is linear with respect to the number of edges ($O(m)$), making it viable for large-scale social networks.
Conclusion
SidNet demonstrates that effective representation learning in signed graphs requires a specialized approach to feature diffusion. By combining signed random walks with local feature injection, the model successfully captures long-range dependencies while maintaining node identity. Future work may involve testing SidNet on graphs with rich intrinsic attributes and expanding its application to tasks like community detection and multi-view network analysis.
Summary updated