Knowledge-Enhanced Attentive Recommendation: A Graph Neural Network Approach for Context-Aware User Preference Modeling
Abstract
This paper presents a knowledge-enhanced attentive recommendation framework that addresses critical challenges in personalized recommendation systems through the integration of knowledge graphs with graph neural networks. Traditional recommendation approaches face limitations in capturing complex user preferences and contextual factors, resulting in suboptimal performance particularly in sparse data and cold-start scenarios. We propose a novel architecture that leverages semantic knowledge to enrich user and item representations while employing a context-aware attention mechanism to dynamically weight information based on situational factors. The framework consists of three primary components: knowledge graph construction and embedding, graph neural network architecture for preference propagation, and context-aware attention mechanism for adaptive information aggregation. Comprehensive experiments on MovieLens-1M, Amazon-Book, and Yelp-2018 datasets demonstrate significant performance improvements, with our model achieving 7.2% higher precision and 9.1% better recall compared to state-of-the-art baselines. The approach demonstrates particular effectiveness in cold-start scenarios, with 27.8% improvement for users and items with minimal interaction history. Ablation studies confirm the substantial contribution of knowledge graph integration and attention mechanisms to recommendation quality. The framework maintains computational efficiency suitable for real-time applications while providing interpretable recommendations through traceable attention weights and semantic paths in the knowledge graph.
Keywords
Knowledge Graph, Graph Neural Networks, Context-Aware Recommendation, User Preference Modeling
References
- Fan, J., Trinh, T. K., & Zhang, H. (2024). Deep Learning-Based Transfer Pricing Anomaly Detection and Risk Alert System for Pharmaceutical Companies: A Data Security-Oriented Approach. Journal of Advanced Computing Systems, 4(2), 1-14.
- Bi, W., Trinh, T. K., & Fan, S. (2024). Machine Learning-Based Pattern Recognition for Anti-Money Laundering in Banking Systems. Journal of Advanced Computing Systems, 4(11), 30-41.
- Zhang, S., Feng, Z., & Dong, B. (2024). LAMDA: Low-Latency Anomaly Detection Architecture for Real-Time Cross-Market Financial Decision Support. Academia Nexus Journal, 3(2).
- Wang, Z., Wang, X., & Wang, H. (2024). Temporal Graph Neural Networks for Money Laundering Detection in Cross-Border Transactions. Academia Nexus Journal, 3(2).
- Kang, A., Xin, J., & Ma, X. (2024). Anomalous Cross-Border Capital Flow Patterns and Their Implications for National Economic Security: An Empirical Analysis. Journal of Advanced Computing Systems, 4(5), 42-54.
- Liang, J., Zhu, C., & Zheng, Q. (2023). Developing Evaluation Metrics for Cross-lingual LLM-based Detection of Subtle Sentiment Manipulation in Online Financial Content. Journal of Advanced Computing Systems, 3(9), 24-38.
- Wang, Z., & Liang, J. (2024). Comparative Analysis of Interpretability Techniques for Feature Importance in Credit Risk Assessment. Spectrum of Research, 4(2).
- Dong, B., & Zhang, Z. (2024). AI-Driven Framework for Compliance Risk Assessment in Cross-Border Payments: Multi-Jurisdictional Challenges and Response Strategies. Spectrum of Research, 4(2).
- Wang, J., Guo, L., & Qian, K. (2025). LSTM-Based Heart Rate Dynamics Prediction During Aerobic Exercise for Elderly Adults.
- Ma, D., Shu, M., & Zhang, H. (2025). Feature Selection Optimization for Employee Retention Prediction: A Machine Learning Approach for Human Resource Management.
- Li, M., Ma, D., & Zhang, Y. (2025). Improving Database Anomaly Detection Efficiency Through Sample Difficulty Estimation.
- Yu, K., Chen, Y., Trinh, T. K., & Bi, W. (2025). Real-Time Detection of Anomalous Trading Patterns in Financial Markets Using Generative Adversarial Networks.
- Ju, C., & Trinh, T. K. (2023). A Machine Learning Approach to Supply Chain Vulnerability Early Warning System: Evidence from US Semiconductor Industry. Journal of Advanced Computing Systems, 3(11), 21-35.
- Rao, G., Trinh, T. K., Chen, Y., Shu, M., & Zheng, S. (2024). Jump Prediction in Systemically Important Financial Institutions' CDS Prices. Spectrum of Research, 4(2).
- Xiao, X., Chen, H., Zhang, Y., Ren, W., Xu, J., & Zhang, J. (2025). Anomalous Payment Behavior Detection and Risk Prediction for SMEs Based on LSTM-Attention Mechanism. Academic Journal of Sociology and Management, 3(2), 43-51.
- Xiao, X., Zhang, Y., Chen, H., Ren, W., Zhang, J., & Xu, J. (2025). A Differential Privacy-Based Mechanism for Preventing Data Leakage in Large Language Model Training. Academic Journal of Sociology and Management, 3(2), 33-42.
- Zhang, J., Xiao, X., Ren, W., & Zhang, Y. (2024). Privacy-Preserving Feature Extraction for Medical Images Based on Fully Homomorphic Encryption. Journal of Advanced Computing Systems, 4(2), 15-28.
- Dong, B., & Trinh, T. K. (2025). Real-time Early Warning of Trading Behavior Anomalies in Financial Markets: An AI-driven Approach. Journal of Economic Theory and Business Management, 2(2), 14-23.
- Ren, W., Xiao, X., Xu, J., Chen, H., Zhang, Y., & Zhang, J. (2025). Trojan Virus Detection and Classification Based on Graph Convolutional Neural Network Algorithm. Journal of Industrial Engineering and Applied Science, 3(2), 1-5.
- Trinh, T. K., & Wang, Z. (2024). Dynamic Graph Neural Networks for Multi-Level Financial Fraud Detection: A Temporal-Structural Approach. Annals of Applied Sciences, 5(1).
- Ji, S., Liang, Y., Xiao, X., Li, J., & Tian, Q. (2007, July). An attitude-adaptation negotiation strategy in electronic market environments. In Eighth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing (SNPD 2007) (Vol. 3, pp. 125-130). IEEE.
- Xiao, X., Zhang, Y., Xu, J., Ren, W., & Zhang, J. (2025). Assessment Methods and Protection Strategies for Data Leakage Risks in Large Language Models. Journal of Industrial Engineering and Applied Science, 3(2), 6-15.
- Trinh, T. K., & Zhang, D. (2024). Algorithmic Fairness in Financial Decision-Making: Detection and Mitigation of Bias in Credit Scoring Applications. Journal of Advanced Computing Systems, 4(2), 36-49.
- Liu, X., Chen, Z., Hua, K., Liu, M., & Zhang, J. (2017, August). An adaptive multimedia signal transmission strategy in cloud-assisted vehicular networks. In 2017 IEEE 5th international conference on future internet of things and cloud (FiCloud) (pp. 220-226). IEEE.
- McNichols, H., Zhang, M., & Lan, A. (2023, June). Algebra error classification with large language models. In International Conference on Artificial Intelligence in Education (pp. 365-376). Cham: Springer Nature Switzerland.
- Zhang, M., Heffernan, N., & Lan, A. (2023). Modeling and Analyzing Scorer Preferences in Short-Answer Math Questions. arXiv preprint arXiv:2306.00791.
- Zhang, M., Baral, S., Heffernan, N., & Lan, A. (2022). Automatic short math answer grading via in-context meta-learning. arXiv preprint arXiv:2205.15219.
- Zhang, M., Mathew, T., & Juba, B. (2017, February). An improved algorithm for learning to perform exception-tolerant abduction. In Proceedings of the AAAI Conference on Artificial Intelligence (Vol. 31, No. 1).
- Wang, H., Qian, K., Ni, C., & Wu, J. (2025). Distributed Batch Processing Architecture for Cross-Platform Abuse Detection at Scale. Pinnacle Academic Press Proceedings Series, 2, 12-27.
- Jiang, C., Wang, H., & Qian, K. (2025). AI-Enhanced Cultural Resonance Framework for Player Experience Optimization in AAA Games Localization. Pinnacle Academic Press Proceedings Series, 2, 75-87.
- Yan, L., Wang, Y., Guo, L., & Qian, K. (2025). Enhanced Spatio-Temporal Attention Mechanism for Video Anomaly Event Detection.
- Chen, Y., Ni, C., & Wang, H. (2024). AdaptiveGenBackend A Scalable Architecture for Low-Latency Generative AI Video Processing in Content Creation Platforms. Annals of Applied Sciences, 5(1).
- Wu, J., Wang, H., Qian, K., & Feng, E. (2023). Optimizing Latency-Sensitive AI Applications Through Edge-Cloud Collaboration. Journal of Advanced Computing Systems, 3(3), 19-33.
- Wang, Z., Trinh, T. K., Liu, W., & Zhu, C. (2025). Temporal Evolution of Sentiment in Earnings Calls and Its Relationship with Financial Performance. Applied and Computational Engineering, 141, 195-206.
- Wang, H., Wu, J., Ni, C., & Qian, K. (2025). Automated Compliance Monitoring: A Machine Learning Approach for Digital Services Act Adherence in Multi-Product Platforms. Applied and Computational Engineering, 147, 14-25.
- Zhu, C., Xin, J., & Trinh, T. K. (2025). Data Quality Challenges and Governance Frameworks for AI Implementation in Supply Chain Management. Pinnacle Academic Press Proceedings Series, 2, 28-43.
- Ni, C., Qian, K., Wu, J., & Wang, H. (2025). Contrastive Time-Series Visualization Techniques for Enhancing AI Model Interpretability in Financial Risk Assessment.
- Trinh, T. K., Jia, G., Cheng, C., & Ni, C. (2025). Behavioral Responses to AI Financial Advisors: Trust Dynamics and Decision Quality Among Retail Investors. Applied and Computational Engineering, 144, 69-79.