Skip to main content

Arabic Sentiment Analysis with Federated Deep Learning

  • Conference paper
  • First Online:
Advances in Computational Intelligence Systems (UKCI 2023)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1453))

Included in the following conference series:

  • 118 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Cao, K., Liu, Y., Meng, G., Sun, Q.: An overview on edge computing research. IEEE Access 8, 85714–85728 (2020)

    Article  Google Scholar 

  2. Shi, W., Cao, J., Zhang, Q., Li, Y., Xu, L.: Edge computing: vision and challenges. IEEE Internet Things J. 3(5), 637–646 (2016)

    Article  Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. Sun, X., Chen, Z., Yu, Y., Yang, X.: Towards efficient edge-based sentiment analysis with federated learning. Inf. Sci. 573, 180–194 (2021)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

  10. 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)

    Google Scholar 

  11. 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)

    Article  Google Scholar 

  12. 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)

    Article  Google Scholar 

  13. 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)

    Google Scholar 

  14. Basu, P., Roy, T.S., Naidu, R., Muftuoglu, Z.: Privacy enabled financial text classification using differential privacy and federated learning. arXiv:2110.01643 (2021)

  15. Liu, M., Ho, S., Wang, M., Gao, L., Jin, Y., Zhang, H.: Federated learning meets natural language processing: a survey. arXiv:2107.12603 (2021)

  16. 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)

    Article  Google Scholar 

  17. 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)

  18. 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)

    Article  Google Scholar 

  19. 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)

    Google Scholar 

  20. 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)

    Article  Google Scholar 

  21. Zhou, Y., Pu, G., Ma, X., Li, X., Wu, D.: Distilled one-shot federated learning. arXiv:2009.07999 (2020)

  22. 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)

    Google Scholar 

  23. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ahmad Alzu’bi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics