Explainable Artificial Intelligence Driven Context-Aware Recommendation Engine for Smart City Services
Sayantani DeAssistant Professor, Department of Computer Science & IT, Arka Jain University, Jamshedpur, Jharkhand, India. sayantani.de@arkajainuniversity.ac.in0000-0001-5047-0762
Dr. Ponmurugan Panneer SelvamProfessor, Department of Research, Meenakshi Academy of Higher Education and Research, Chennai, Tamil Nadu, India. ponmurugan@maher.ac.in0000-0003-2212-8219
C. PadmajaAssistant Professor, Department of Mathematics, Dayananda Sagar college of Engineering Bengaluru, Karnataka, India. padmaja-maths@dayanandasagar.edu0000-0003-1259-9818
Sandhya Damodar PandaoDepartment of Artificial Intelligence and Data science, Vishwakarma Institute of Technology, Pune, Maharashtra, India. sandhya.pandao@vit.edu0009-0005-0188-149X
Dr. Vimal BibhuDepartment of Computer Science & Engineering, Noida international University, Greater Noida, Uttar Pradesh, India. vimal.bhibu@niu.edu.in0009-0009-9620-1213
Dr. M. NithyaProfessor, Department of Computer Science and Engineering, Vinayaka Mission’s Kirupananda Variyar Engineering College, Vinayaka Mission’s Research Foundation (DU), Salem, Tamil Nadu, India. nithyam@vmkvec.edu.in0000-0001-7233-5916
P. Uma MageswariAssistant Professor, Department of Computer Applications (DCA), Presidency College, Bangalore, Karnataka, India. uma.mageswari@presidency.edu.in0009-0004-2127-6097
Karan PandreCentre for Multidisciplinary Research, Anurag University, Hyderabad, Telangana, India. karanpandre2024@protonmail.com0009-0001-0631-4006
Keywords: Explainable AI, Context-Aware Recommender Systems, Smart Cities, IoT Data Analytics, Personalized Recommendations, Machine Learning, User Satisfaction.
Abstract
As smart cities become increasingly complex, there is a need for adaptive, interpretable, and intelligent recommendation systems that can manage many types of urban data. Traditional recommendation methods such as collaborative filtering, deep learning, rule-based, and context-ignorant techniques do not provide the necessary levels of real-time adaptability, transparency, or personalization to support this type of data-driven decision-making. To address the limitations, a new Explainable AI-driven Context-aware Recommendation Engine (XCA-REC), specifically designed to optimize the services of smart cities. This XCA-REC framework merges multiple sources of data including user behavior logs, IoT-based sensory data, location-based services, and patterns of movement into a single dataset that can be used to generate accurate and context-specific recommendations. The XCA-REC framework was implemented using Python, TensorFlow and Scikit-learn, with data preprocessing performed in Pandas and NumPy. The study evaluated the XCA-REC framework on both real and synthetic smart city datasets at a range of environmental conditions. The results showed an overall recommendation accuracy of 95.6% for the XCA-REC, compared to 85.9% for collaborative filtering, 90.2% for deep learning, and 81.5% for context-ignorant systems. The XCA-REC was context-aware, with an accuracy of 94.3%, demonstrating the system's adaptability to constantly changing urban environments. The interpretability module achieved 93.8% interpretability, providing transparent recommendations to end-users, which improves user trust. The maximum user satisfaction score was 96.2%, indicating an increase in personalization and system usability. The scalability metric achieved a score of 95.1%, demonstrating effective handling of large-scale smart city datasets. The statistical validation process provided support for the XCA-REC framework with an accuracy of 95.6 ± 0.4 (CI: 95.2–96.0), verifying its stability and reproducibility across multiple replications. Results from ablation studies establish the significance of both the context-aware components and the explainable AI components, as removal of any key component resulted in decreased performance as compared to its original state. In conclusion, the XCA-REC represents a scalable, accurate, and interpretable recommendation system for future smart city services.