Abstract
The application of deep learning techniques in federated learning environments has shown remarkable performance across various domains. This has enabled the development of large-scale systems that enhance responsiveness, reduce processing costs and complexity, and maintain data privacy. In this research paper, we propose a federated deep learning model specifically designed for Arabic sentiment analysis using a Twitter-based benchmark dataset. Our approach leverages the effectiveness of fine-tuning the BERT model as a global learning model to extract discriminating embeddings from Arabic tweets. Through the efficient federated environment, we successfully learn the text patterns and train a classifier with the ability to accurately categorize tweets as positive, negative, or neutral. Despite the inherent complexity of Arabic language processing, extensive experiments were conducted to evaluate the performance of the federated approach in Arabic sentiment analysis. The results demonstrated significant advantages over centralized learning, particularly in terms of training time. Furthermore, our proposed model achieved a weighted average accuracy of 90% across various training and aggregation setups.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Cao, K., Liu, Y., Meng, G., Sun, Q.: An overview on edge computing research. IEEE Access 8, 85714–85728 (2020)
Shi, W., Cao, J., Zhang, Q., Li, Y., Xu, L.: Edge computing: vision and challenges. IEEE Internet Things J. 3(5), 637–646 (2016)
Bonomi, F., Milito, R., Zhu, J., Addepalli, S.: Fog computing and its role in the internet of things. In: Proceedings of the First Edition of the MCC Workshop on Mobile Cloud Computing, pp. 13–16 (2012)
Farooq, M., Jan, M.S., Liu, Y.: A survey on edge computing for sentiment analysis: recent advances and future trends. IEEE Access, 9, 45317–45337 (2021)
Huang, Y., Shen, L., Li, P., Li, J., Wu, J.: GPU-enabled real-time sentiment analysis at the network edge. Futur. Gener. Comput. Syst. 97, 249–259 (2019)
Hasan, M.A., Mohammad, R.T., Rahim, M.S.: Distributed sentiment analysis at the edge and cloud for social media big data. J. Ambient. Intell. Humaniz. Comput. 10(1), 45–56 (2019)
Sun, X., Chen, Z., Yu, Y., Yang, X.: Towards efficient edge-based sentiment analysis with federated learning. Inf. Sci. 573, 180–194 (2021)
Ruiz-Millán, J.A., Martínez-Cámara, E., Victoria Luzón, M., Herrera, F.: Personalised federated learning with BERT fine tuning. Case study on twitter sentiment analysis. In: Advances in Deep Learning, Artificial Intelligence and Robotics: Proceedings of the 2nd International Conference on Deep Learning, Artificial Intelligence and Robotics (ICDLAIR), pp. 193–202. Springer International Publishing (2022)
Alharbi, B., Alamro, H., Alshehri, M., Khayyat, Z., Kalkatawi, M., Jaber, I.I., Zhang, X.: ASAD: a twitter-based benchmark Arabic sentiment analysis dataset. arXiv:2011.00578 (2020)
Ran, X., Chen, H., Zhu, X., Liu, Z., Chen, J.: Deepdecision: a mobile deep learning framework for edge video analytics. In: IEEE INFOCOM 2018-IEEE Conference on Computer Communications, pp. 1421–1429. IEEE (2018)
Li, H., Ota, K., Dong, M.: Learning IoT in edge: deep learning for the internet of things with edge computing. IEEE Netw. 32(1), 96–101 (2018)
Corcoran, C.M., Benavides, C., Cecchi, G.: Natural language processing: opportunities and challenges for patients, providers, and hospital systems. Psychiatr. Ann. 49(5), 202–208 (2019)
Talagala, N., Sundararaman, S., Sridhar, V., Arteaga, D., Luo, Q., Subramanian, S., Roselli, D.: ECO: harmonizing edge and cloud with ML/DL Orchestration. In: USENIX Workshop on Hot Topics in Edge Computing (HotEdge 18) (2018)
Basu, P., Roy, T.S., Naidu, R., Muftuoglu, Z.: Privacy enabled financial text classification using differential privacy and federated learning. arXiv:2110.01643 (2021)
Liu, M., Ho, S., Wang, M., Gao, L., Jin, Y., Zhang, H.: Federated learning meets natural language processing: a survey. arXiv:2107.12603 (2021)
Naranjo, P.G.V., Pooranian, Z., Shojafar, M., Conti, M., Buyya, R.: FOCAN: a fog-supported smart city network architecture for management of applications in the internet of everything environments. J. Parallel Distrib. Comput. 132, 274–283 (2019)
Deshpande, A., Sultan, M.A., Ferritto, A., Kalyan, A., Narasimhan, K., Sil, A.: SPARTAN: sparse hierarchical memory for parameter-efficient transformers. arXiv:2211.16634 (2022)
Ding, Q., Zhu, R., Liu, H., Ma, M.: An overview of machine learning-based energy-efficient routing algorithms in wireless sensor networks. Electronics 10(13), 1539 (2021)
Singh, M., Madhulika, Bansal, S.: A proposed federated learning model for vaccination tweets. In: International Conference on Computational Intelligence in Pattern Recognition, pp. 383–392. Springer Nature Singapore, Singapore (2022)
Nagy, B., Hegedűs, I., Sándor, N., Egedi, B., Mehmood, H., Saravanan, K., Loki, G., Kiss, Á.: Privacy-preserving federated learning and its application to natural language processing. Knowl. Based Syst. 268, 110475 (2023)
Zhou, Y., Pu, G., Ma, X., Li, X., Wu, D.: Distilled one-shot federated learning. arXiv:2009.07999 (2020)
McMahan, B., Moore, E., Ramage, D., Hampson, S., Arcas, B.A.: Communication-efficient learning of deep networks from decentralized data. In Artificial Intelligence and Statistics, pp. 1273–1282. PMLR (2017)
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Chintala, S.: Pytorch: an imperative style, high-performance deep learning library. Adv. Neural Inf. Process. Syst. 32 (2019)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Al-refai, M., Alzu’bi, A., Yaseen, N.B., Obeidat, T. (2024). Arabic Sentiment Analysis with Federated Deep Learning. In: Naik, N., Jenkins, P., Grace, P., Yang, L., Prajapat, S. (eds) Advances in Computational Intelligence Systems. UKCI 2023. Advances in Intelligent Systems and Computing, vol 1453. Springer, Cham. https://doi.org/10.1007/978-3-031-47508-5_3
Download citation
DOI: https://doi.org/10.1007/978-3-031-47508-5_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-47507-8
Online ISBN: 978-3-031-47508-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)