Research Article

Large-Scale User Relationship Modeling Based on Graph Neural Network Combined with SimCLR Self-Supervised Learning

Zice Gao*
University of Rochester

* Corresponding author: [email protected]

Abstract

In large-scale user relationships, social network users have huge data scale, complex and diverse user relationships, and too sparse connections between them, which makes it difficult to automatically determine user relationships and recommend friends in a short time. This study proposes a self-supervised learning framework based on hierarchical negative sampling and dynamic weight optimization. By designing a lightweight graph enhancement strategy based on edge sampling, decoupling SimCLR's contrast loss and graph structure reconstruction goals, it combines a memory queue-driven negative sample dynamic update mechanism and a multi-task loss function that integrates contrastive learning and node attribute prediction. Further introducing a distributed heterogeneous graph training strategy to achieve end-to-end joint optimization of SimCLR and GNN. The effectiveness of the model is verified in three typical user relationship graphs. This method reduced the training time by 28.6%~38.7%, which means that user relationships can be determined in a shorter time; at the same time, the node classification F1 score increased by 2.1%~5.4%, which can make friend recommendations more accurate. This verifies the collaborative optimization advantages of the SimCLR framework and graph neural networks and the improvement in comparative learning efficiency, but there is still room for improvement. This framework can efficiently and automatically build social network user relationship models to better understand user behavior and promote social applications.

Keywords: Large-scale Modeling; Self-supervised Learning; SimCLR; Lightweight; GNN
Published: August 6, 2025
DOI: 10.54254/2755-2721/2025.25846
Volume: ACE Vol.173
pp. 150-159
Download PDF

References

  1. Sharma A, Singh S, Ratna S. Graph neural network operators: a review [J]. Multimedia Tools and Applications, 2024, 83(8): 23413-23436.
  2. Lin H, Yan M, Yang X, et al. Characterizing and understanding distributed GNN training on GPUs [J]. IEEE Computer Architecture Letters, 2022, 21(1): 21-24.
  3. Xia J, Lin H, Xu Y, et al. Gnn cleaner: Label cleaner for graph structured data [J]. IEEE ]Transactions on Knowledge and Data Engineering, 2023, 36(2): 640-651.
  4. Richter T, Bahrami M, Xia Y, et al. Delineating the effective use of self-supervised learning in single-cell genomics [J]. Nature Machine Intelligence, 2025, 7(1): 68-78.
  5. Fırıldak K, Çelik G, Talu M F. SimCLR-based Self-Supervised Learning Approach for Limited Brain MRI and Unlabeled Images [J]. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, 2024, 13(4): 1304-1313.
  6. Wang C, Chen B, Li G, et al. Automated graph neural network search under federated learning framework [J]. IEEE Transactions on Knowledge and Data Engineering, 2023, 35(10): 9959-9972.
  7. Liu W, Zhang Y, Wang J, et al. Item relationship graph neural networks for e-commerce [J]. IEEE Transactions on Neural Networks and Learning Systems, 2021, 33(9): 4785-4799.
  8. Tu Y, Li W, Song X, et al. Using graph neural network to conduct supplier recommendation based on large-scale supply chain [J]. International Journal of Production Research, 2024, 62(24): 8595-8608.
  9. Zeng L, Yang C, Huang P, et al. GNN at the edge: Cost-efficient graph neural network processing over distributed edge servers [J]. IEEE Journal on Selected Areas in Communications, 2022, 41(3): 720-739.
  10. Wan X, Xu K, Liao X, et al. Scalable and efficient full-graph gnn training for large graphs [J]. Proceedings of the ACM on Management of Data, 2023, 1(2): 1-23.
  11. Miao R, Yang Y, Ma Y, et al. Negative samples selecting strategy for graph contrastive learning [J]. Information Sciences, 2022, 613: 667-681.
  12. Tang D, Wang J, Chen R, et al. Xgnn: Boosting multi-gpu gnn training via global gnn memory store [J]. Proceedings of the VLDB Endowment, 2024, 17(5): 1105-1118.
  13. Wan B, Zhao J, Wu C. Adaptive message quantization and parallelization for distributed full-graph gnn training [J]. Proceedings of Machine Learning and Systems, 2023, 5: 203-218.
  14. Wang X, Yen K, Hu Y, et al. DeepGD: A deep learning framework for graph drawing using GNN [J]. IEEE computer graphics and applications, 2021, 41(5): 32-44.
  15. Gao J, Chen J, Li Z, et al. ICS-GNN: lightweight interactive community search via graph neural network [J]. Proceedings of the VLDB Endowment, 2021, 14(6): 1006-1018.