Research Article

A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content

Volume: 9 Number: 4 October 8, 2025

A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content

Abstract

Sentiment analysis (SA) is an influential task in natural language processing that aims to understand and categorize the underlying sentiment expressed in text. Due to the fast growth of technology, social media is becoming more familiar in human daily life. Social media is a platform for people to share and express their opinions, experiences, attitudes, reactions, etc. The purpose of sentiment analysis is to identify whether the emotion conveyed in a classified text is positive, negative, neutral, or any other individual sentiment to understand the emotional context of the text. Deep learning techniques have shown remarkable performance in sentiment analysis tasks, outperforming traditional machine learning algorithms. This article presents a comparative analysis of three deep learning models, including multilayer perceptron (MLP), 1-dimensional convolutional neural networks (1D-CNN), and long short-term memory (LSTM) networks, for sentiment analysis of social media contents (SMC). The experiments are conducted on publicly available benchmark datasets of US airlines (sentiment tweets) for binary and ternary classes. Likewise, we explore the impact of various pre-processing techniques, such as punctuation elimination, erasing special symbols, stop word removal, strange word removal, converting a lowercase, stemming, lemmatization, and tokenization in improving the performance of deep learning models for sentiment analysis. The results demonstrate that the LSTM network for binary class dataset achieves a high accuracy rate of 94.67%, F1-S value of 95.26% and a low error rate of 5.33% in sentiment analysis tasks, followed by 1D-CNN and MLP. Besides, the MLP technique gains better results in comparison to other methods for the ternary class datasets. The findings of this study contribute to the existing literature by providing insights into the comparative performance of different deep-learning architectures for sentiment analysis and highlighting the importance of pre-processing techniques in achieving accurate sentiment classification.

Keywords

Supporting Institution

NO

Project Number

NO

Ethical Statement

The authors declare no conflicts of interest.

Thanks

I am interested in sending a research article to your reputed journal.

References

  1. Rodríguez-Ibánez, M., Casánez-Ventura, A., Castejón-Mateos, F., & Cuenca-Jiménez, P.-M. (2023). A Review on Sentiment Analysis from Social Media Platforms. Expert Systems with Applications, 223, 119862. doi:https://doi.org/10.1016/j.eswa.2023.1198 62.
  2. Shayaa, S., Jaafar, N. I., Bahri, S., Sulaiman, A., Seuk Wai, P., Wai Chung, Y., Piprani, A. Z., & Al-Garadi, M. A. (2018). Sentiment Analysis of Big Data: Methods, Applications, and Open Challenges. IEEE Access, 6, 37807–37827. https://doi.org/10.1109/access.2018.2851311.
  3. Agüero-Torales, M. M., Abreu Salas, J. I., & López-Herrera, A. G. (2021). Deep learning and multilingual sentiment analysis on social media data: An overview. Applied Soft Computing, 107, 107373. https://doi.org/10.1016/j.asoc.2021.107373.
  4. Ghazala Nasreen, Muhammad Murad Khan, Younus, M., Zafar, B., & Muhammad Kashif Hanif. (2024). Email spam detection by deep learning models using novel feature selection technique and BERT. Egyptian Informatics Journal/Egyptian Informatics Journal, 26, 100473–100473. https://doi.org/10.1016/j.eij.2024.100473.
  5. Hayat, M. K., Daud, A., Alshdadi, A. A., Banjar, A., Abbasi, R. A., Bao, Y., & Dawood, H. (2019). Towards Deep Learning Prospects: Insights for Social Media Analytics. IEEE Access, 7, 36958–36979. https://doi.org/10.1109/ACCESS.2019.2905101.
  6. Nwafor, E. O., & Akintayo, F. O. (2024). Predicting Trip Purposes of Households in Makurdi Using Machine Learning: A Comparative Analysis of Decision Tree, CatBoost, and XGBoost Algorithms. Engineering Applications, 3(3), 260-274.
  7. Dang, C. N., Moreno-García, M. N., & De la Prieta, F. (2021). Hybrid Deep Learning Models for Sentiment Analysis. Complexity, 2021, 1–16. https://doi.org/10.1155/2021/9986920.
  8. Agüero-Torales, M. M., Abreu Salas, J. I., & López-Herrera, A. G. (2021). Deep learning and multilingual sentiment analysis on social media data: An overview. Applied Soft Computing, 107, 107373. https://doi.org/10.1016/j.asoc.2021.107373.

Details

Primary Language

English

Subjects

Automated Software Engineering, Reinforcement Learning

Journal Section

Research Article

Publication Date

October 8, 2025

Submission Date

May 13, 2025

Acceptance Date

July 9, 2025

Published in Issue

Year 2025 Volume: 9 Number: 4

APA
Sıngh, S., Kumar, K., Kumar, B., Kumar, R., & Singh, N. (2025). A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content. Turkish Journal of Engineering, 9(4), 754-767. https://doi.org/10.31127/tuje.1698748
AMA
1.Sıngh S, Kumar K, Kumar B, Kumar R, Singh N. A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content. TUJE. 2025;9(4):754-767. doi:10.31127/tuje.1698748
Chicago
Sıngh, Satyendra, Krishan Kumar, Brajesh Kumar, Raj Kumar, and Nipur Singh. 2025. “A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content”. Turkish Journal of Engineering 9 (4): 754-67. https://doi.org/10.31127/tuje.1698748.
EndNote
Sıngh S, Kumar K, Kumar B, Kumar R, Singh N (October 1, 2025) A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content. Turkish Journal of Engineering 9 4 754–767.
IEEE
[1]S. Sıngh, K. Kumar, B. Kumar, R. Kumar, and N. Singh, “A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content”, TUJE, vol. 9, no. 4, pp. 754–767, Oct. 2025, doi: 10.31127/tuje.1698748.
ISNAD
Sıngh, Satyendra - Kumar, Krishan - Kumar, Brajesh - Kumar, Raj - Singh, Nipur. “A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content”. Turkish Journal of Engineering 9/4 (October 1, 2025): 754-767. https://doi.org/10.31127/tuje.1698748.
JAMA
1.Sıngh S, Kumar K, Kumar B, Kumar R, Singh N. A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content. TUJE. 2025;9:754–767.
MLA
Sıngh, Satyendra, et al. “A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content”. Turkish Journal of Engineering, vol. 9, no. 4, Oct. 2025, pp. 754-67, doi:10.31127/tuje.1698748.
Vancouver
1.Satyendra Sıngh, Krishan Kumar, Brajesh Kumar, Raj Kumar, Nipur Singh. A Comparative Analysis of Deep Learning Techniques for Sentiment Analysis Using Social Media Content. TUJE. 2025 Oct. 1;9(4):754-67. doi:10.31127/tuje.1698748

Cited By

Flag Counter