Research on knowledge graph-based personalized recommendation algorithms and privacy protection in distributed networks

Authors

DOI:

https://doi.org/10.4108/eetsis.11735

Keywords:

knowledge graph, attention mechanism, deep learning, recommendation algorithm, distributed network, privacy protection, federated learning

Abstract

To improve the personalized recommendation performance of online platforms in a distributed environment while also considering user privacy protection, this paper proposes a hyperbolic attention knowledge graph recommendation algorithm for distributed architectures, integrating contextual information and privacy protection mechanisms.  First, In the design of the recommendation model, a hyperbolic attention model is employed to organically integrate semantic features with an attention mechanism, thereby fully capturing the inter-relationships between products. Next, a context-aware model is designed by combining an LSTM-based memory model with AFM-based feature crossing. Furthermore, to address the aforementioned security threats, differential privacy techniques are introduced to inject noise into user features, and collaborative model training across multiple nodes is implemented within a federated learning framework. Experimental results show that, under distributed and privacy-preserving constraints, knowledge graph recommendation algorithms can achieve better precision, recall, ACC, and AUC under the same conditions. Comparing our algorithm with other algorithms, our proposed algorithm improves the ACC by 2.9 to 11 percentage points and the AUC by 3.2 to 9.1 percentage points. Similarly, our proposed algorithm achieves RMSE and MAE of 0.960 and 0.858, respectively, which can demonstrate a significant advantage. It also performs well in terms of privacy protection (such as ε-differential privacy parameters) and communication efficiency. Furthermore, system security evaluation experiments demonstrate that when the privacy budget ε ≥ 2.0, the model effectively reduces the success rate of membership inference attacks and significantly degrades the reconstruction quality of gradient inversion attacks; it also exhibits a mitigating effect against model poisoning attacks under certain conditions, thereby validating the algorithm's security and practicality in real-world distributed recommendation scenarios. Comparative results across the various algorithms show that the proposed algorithm remains the best among all models in terms of precision and recall.

References

[1] Zhang Y, Cai J, Li C, Li T, Wang H. KMPR-AEP: Knowledge-enhanced multi-task parallelized recommendation algorithm incorporating attention-embedded propagation. International Journal of Computational Intelligence Systems. 2024;17(1):213. Doi: https://doi.org/10.1007/s44196-024-00625-2

[2] Shen B, Zhang Y. Research on personalised knowledge graph recommendation algorithm based on self-supervised learning. Discover Applied Sciences. 2024 Aug 7;6(8):434. Doi: https://doi.org/10.1007/s42452-024-06135-2

[3] Sankar JG, David A, Valan P. Examining user understanding and perceptions of e-commerce data privacy, security, and protection. In Confronting security and privacy challenges in digital marketing 2023 (pp. 159-185). IGI Global Scientific Publishing. Doi: https://doi.org/10.4018/978-1-6684-8958-1.ch008

[4] Lu P, Liu P. Product recommendation system based on deep learning. International Journal of Advanced Network, Monitoring and Controls. 2023;8(1):1-9. Doi: https://doi.org/10.2478/ijanmc-2023-0041

[5] Tang Hong, Fan Sen, Tang Fan. Recommendation Algorithm Integrating Collaborative Knowledge Graph and Optimizing Graph Attention Network, Computer Engineering and Applications, 2022; 58(19): 98-106(in chinese). Doi: https://doi.org/10.3778/j.issn.1002-8331.2201-0183

[6] Hongwei Wang, Fuzheng Zhang, Miao Zhao, Wenjie Li, Xing Xie, and Minyi Guo. 2019. Multi-Task Feature Learning for Knowledge Graph Enhanced Recommendation. In The World Wide Web Conference (WWW '19). Association for Computing Machinery, New York, NY, USA, 2019; 2000–2010. Doi: https://doi.org/10.1145/3308558.3313411

[7] Peng P, Moghimi MM. Hash-based lightweight recommendation in edge computing for privacy-preserving sport communities. Journal of Cloud Computing. 2025 6;15(1):7. Doi: https://doi.org/10.1186/s13677-025-00809-x

[8] Kang Wei, Jun Li, Ming Ding, Chuan Ma, Howard H. Yang, Farhad Farokhi. Federated learning with differential privacy: Algorithms and performance analysis. IEEE Transactions on Information Forensics and Security, 2020, 15: 3454-3469. Doi: https://doi.org/10.1109/TIFS.2020.2988575

[9] Li Y, Hou L, Li J. Towards knowledge-aware and deep reinforced cross-domain recommendation over collaborative knowledge graph. IEEE Transactions on Knowledge and Data Engineering. 2024 Apr 19;36(11):7171-87. Doi: 10.1109/TKDE.2024.3391268

[10] Huang W, Wu J, Song W, Wang Z. Cross attention fusion for knowledge graph optimized recommendation. Applied Intelligence. 2022;52(9):10297-306. Doi: https://doi.org/10.1007/s10489-021-02930-1

[11] Zhao N, Long Z, Wang J, Zhao ZD. AGRE: A knowledge graph recommendation algorithm based on multiple paths embeddings RNN encoder. Knowledge-Based Systems. 2023; 259:110078. Doi: https://doi.org/10.1016/j.knosys.2022.110078

[12] Chen L, Bi X, Fan G, Sun H. A multitask recommendation algorithm based on DeepFM and Graph Convolutional Network. Concurrency and computation: practice and experience. 2023;35(2):e7498. Doi: https://doi.org/10.1002/cpe.7498

[13] Ghojogh B, Ghodsi A. Attention mechanism and transformers. In Elements of deep learning 2026 Jun 2 (pp. 231-257). Cham: Springer Nature Switzerland. Doi: https://doi.org/10.1007/978-3-032-10738-1_9

[14] Wu C, Liu S, Zeng Z, Chen M, Alhudhaif A, Tang X, Alenezi F, Alnaim N, Peng X. Knowledge graph-based multi-context-aware recommendation algorithm. Information Sciences. 2022; 595:179-94. Doi: https://doi.org/10.1016/j.ins.2022.02.054

[15] Yao C, Zhao C. Knowledge graph and GNN-based news recommendation algorithm with edge computing support. International Journal of Distributed Systems and Technologies (IJDST). 2022;13(2):1-1. Doi: https://doi.org/10.4018/IJDST.291080

[16] Ye PG, Wang W, Mi B, Chen K. EdgeStreaming: Secure computation intelligence in distributed edge networks for streaming analytics. ACM Transactions on Multimedia Computing, Communications and Applications. 2025 Aug 13;21(8):1-5. Doi: https://doi.org/10.1145/3686161

[17] Hammoudeh Z, Lowd D. Training data influence analysis and estimation: A survey. Machine Learning. 2024; 113(5):2351-403. Doi: https://doi.org/10.1007/s10994-023-06495-7

[18] Chicaiza J, Valdiviezo-Diaz P. A comprehensive survey of knowledge graph-based recommender systems: Technologies, development, and contributions. Information. 2021, 12(6):232. Doi: https://doi.org/10.3390/info12060232

[19] Shankar A, Perumal P, Subramanian M, Ramu N, Natesan D, Kulkarni VR, Stephan T. An intelligent recommendation system in e-commerce using ensemble learning. Multimedia Tools and Applications. 2024 May;83(16):48521-37. Doi: https://doi.org/10.1007/s11042-023-17415-1

[20] Wu L, Zheng Z, Qiu Z, Wang H, Gu H, Shen T, Qin C, Zhu C, Zhu H, Liu Q, Xiong H. A survey on large language models for recommendation. World Wide Web. 2024;27(5):60. Doi: https://doi.org/10.1007/s11280-024-01291-2

[21] Li T, Kou G, Peng Y. Learning user’s dynamic and personalized interests from e-commerce reviews of verified purchases: a time series based framework. Journal of the Operational Research Society. 2025;76(12):2464-73. Doi: https://doi.org/10.1080/01605682.2025.2476076

Downloads

Published

23-10-2026

Issue

Section

Data Security and Privacy Protection in New Distributed Networks and System

How to Cite

1.
Li J. Research on knowledge graph-based personalized recommendation algorithms and privacy protection in distributed networks. EAI Endorsed Scal Inf Syst [Internet]. 2026 Oct. 23 [cited 2026 Oct. 23];13(7). Available from: https://publications.eai.eu/index.php/sis/article/view/11735