Graph Neural Networks for Social Recommendation
Wenqi FanYao MaQing LiYuan HeEric ZhaoJiliang TangDawei Yin
Develops GraphRec, a graph neural network framework that captures user-item interactions, rating opinions, and social ties with varying relationship strengths to improve social recommendation accuracy.
Online platforms increasingly rely on recommender systems to guide user choices, and incorporating social connections has become a primary way to refine these recommendations. However, existing social recommendation methods struggle to effectively combine user-to-user social networks with user-to-item interaction networks. They also frequently overlook the specific opinions (such as rating scores) expressed during interactions and treat all social relationships as having equal influence, despite real-world social ties varying widely in strength.
This article introduces GraphRec, a graph neural network framework designed to improve rating prediction accuracy by coherently modeling social graphs and user-item interaction graphs. The article sets out to demonstrate how graph neural networks can jointly integrate user opinions and distinguish between varying strengths of social relationships.
To evaluate this framework, the authors conducted experimental evaluations on two real-world benchmark datasets from online consumer platforms: Ciao (comprising over 7,300 users and 283,000 ratings) and Epinions (comprising over 18,000 users and 764,000 ratings). GraphRec was tested across varying training data splits against eight baseline models, spanning standard matrix factorization, conventional social recommendation models, and advanced deep learning systems. Performance was assessed using standard predictive error metrics, specifically Mean Absolute Error and Root Mean Square Error.
The findings establish that GraphRec consistently outperforms all baseline models across both datasets. For instance, in 80% training data splits, GraphRec achieved the lowest error rates on Ciao (RMSE of 0.9794, MAE of 0.7387) and Epinions (RMSE of 1.0631, MAE of 0.8168). Component analysis revealed that removing explicit opinion embeddings caused performance to drop significantly, increasing prediction error by roughly 2.6% to 5.8% across metrics. Furthermore, eliminating attention mechanisms—which assign individualized weights to strong versus weak social ties and varying item interactions—noticeably degraded accuracy. Finally, testing embedding sizes showed that performance peaked around a moderate dimension (size 64), whereas overly large embeddings increased computational complexity and reduced accuracy.
These results demonstrate that accurately capturing social tie strength and explicit user feedback is critical for recommendation performance. In practical terms, even marginal reductions in prediction error translate to substantially higher quality in top recommendations. This improved accuracy can drive user engagement, enhance conversion rates, and optimize algorithmic decision-making across e-commerce and social platforms without requiring cumbersome external data sources.
Organizations operating social or e-commerce platforms should consider adopting graph neural network architectures that utilize attention mechanisms to capture diverse interaction weights and relationship strengths. Technical teams should carefully tune embedding dimensions to balance recommendation accuracy against computational and infrastructure overhead. Before full deployment, stakeholders should conduct pilot testing to determine the ideal operational parameters for their specific workload.
The main limitations of the article are its evaluation on static datasets and its exclusive focus on user ratings and social links, omitting dynamic temporal changes and richer metadata such as user demographics or item text descriptions. Nonetheless, given the rigorous benchmarking across standard datasets, confidence in the reported performance advantages remains high for comparable static recommendation environments.
- Paper: Neural Graph Collaborative Filtering, Xiang Wang et al. (2019). Neural Graph Collaborative Filtering establishes the foundational user-item graph embedding propagation mechanism upon which GraphRec directly builds.
- Paper: LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation, Xiangnan He et al. (2020). LightGCN simplifies graph convolutional network architectures specifically for collaborative filtering, offering essential architectural context for recommendation systems.
- Paper: Semi-Supervised Classification with Graph Convolutional Networks, Thomas N. Kipf et al. (2017). Semi-Supervised Classification with Graph Convolutional Networks introduces the core spectral approximation techniques for graph convolutions adopted in modern recommender models.
No sufficiently relevant recommendations were found.
