Quantum-Enhanced Federated Learning for Realtime Consumer Sentiment Analysis: a Privacypreserving Hybrid Framework
Hongzhen Yu, Hazirah Bee Binti Yusof Ali, M. Kazem Chamran
As real-time data processing becomes central to industries like retail, e-commerce, and entertainment, ensuring both computational efficiency and data privacy is increasingly vital. This study proposes a novel hybrid framework that integrates quantum-enhanced transformers within a Federated Learning (FL) system to perform real-time consumer sentiment analysis. While FL ensures data privacy by decentralizing model training across edge devices, it struggles with issues like high communication overhead and slow convergence in non-IID environments. On the other hand, quantum-enhanced models offer computational acceleration but often lack sufficient privacy safeguards, especially during quantum circuit operations. This research addresses these challenges by developing a quantumenhanced transformer optimized for sentiment analysis and embedding it into a privacy-preserving FL architecture. Advanced encryption techniques such as differential privacy and quantum homomorphic encryption are incorporated to mitigate data leakage risks. The study adopts a four-phase methodology: model development using quantum simulation platforms (e.g., IBM Qiskit), FL integration using FedAvg protocols, system validation through benchmarking against classical models, and real-time deployment simulations across industry-specific datasets. Results show that the proposed system achieves superior performance in latency, model accuracy, and privacy metrics compared to traditional FL models. Despite challenges related to quantum noise and heterogeneity in client data, the system demonstrates robustness and scalability under real-time conditions. This research contributes to the field by providing a viable, secure, and scalable solution for deploying quantum-AI in decentralized environments. It opens pathways for future research in hybrid quantum-classical architectures and domain-specific AI applications that require enhanced privacy and speed.
International Conference on Artificial Intelligence, Robotics, and Communication (ICAIRC)•Nov 7, 2025•0 citations