Cross-Platform Social Relationship Prediction (CPSRP) aims to utilize users’ data information on multiple platforms to enhance the performance of social relationship prediction, thereby promoting socio-economic development. Due to the highly sensitive nature of users’ data in terms of privacy, CPSRP typically introduces various privacy-preserving mechanisms to safeguard users’ confidential information. Although the introduction mechanism guarantees the security of the users’ private information, it tends to degrade the performance of the social relationship prediction. Additionally, existing social relationship prediction schemes overlook the interdependencies among items invoked in a user behavior sequence. For this purpose, we propose a novel privacy-preserve Federated Social Relationship Prediction with Contrastive Learning framework called FSRPCL, which is a multi-task learning framework based on vertical federated learning. Specifically, the users’ rating information is perturbed with a bounded differential privacy technology, and then the users’ sequential representation information acquired through Transformer is applied for social relationship prediction and contrastive learning. Furthermore, each client uploads their respective weight information to the server, and the server aggregates the weight information and distributes it purposes to each client for updating. Numerous experiments on real-world datasets prove that FSRPCL delivers exceptional performance in social relationship prediction and privacy preservation, and effectively minimizes the impact of privacy-preserving technology on social relationship prediction accuracy.


Edge computing platforms enable application developers and content providers to provide context-aware services (such as service recommendations) using real-time wireless access network information. How to recommend the most suitable candidate from these numerous available services is an urgent task. Click-through rate (CTR) prediction is a core task of traditional service recommendation. However, many existing service recommender systems do not exploit user mobility for prediction, particularly in an edge computing environment. In this paper, we propose a model named long and short-term user preferences modeling with a multi-interest network based on user behavior. It uses a logarithmic network to capture multiple interests in different fields, enriching the representations of user short-term preferences. In terms of long-term preferences, users’ comprehensive preferences are extracted in different periods and are fused using a nonlocal network. Extensive experiments on three datasets demonstrate that our model relying on user mobility can substantially improve the accuracy of service recommendation in edge computing compared with the state-of-the-art models.