International Peer-Reviewed JournalOpen AccessISSN 2456-8880
irejournals@gmail.com+91-7433024337

Home / Current Issue / Paper 1715458

1715458PublishedVol 9 · Issue 9

Bidirectional LSTM for Spam Detection and Sentimental Analysis

Sadineni Gopichand Sontineni Jaswanth Siva Sai Shaik Khaja Afrid Ali Dr. S J R K Padminivalli V

Subject area: Science,Engineering and Technology  ·  Area of research: Machine learning

DOI: https://doi.org/10.64388/IREV9I9-1715458

Abstract

Short Message Service (SMS) and email communication have become primary vectors for spam, placing heavy burdens on users and mobile network operators. This paper proposes a Bidirectional Long Short-Term Memory (BiLSTM) deep learning model for spam detection and sentiment analysis, evaluated on three benchmark datasets: SpamAssassin, SMS, and Email. The model is compared against a Hybrid K-Nearest Neighbors and Support Vector Machine (Hybrid KNN-SVM) classifier from the prior literature. Preprocessing involves stemming, tokenization, and stop-word removal, followed by Word2Vec-based feature extraction. The BiLSTM network captures both past and future contextual information in text sequences, substantially outperforming the hybrid baseline. On the SpamAssassin dataset, BiLSTM achieves an accuracy of 98.77%, and on the Email dataset it reaches 99.11%. Sentiment polarity is classified using AFINN and SentiWordNet lexicons. Experimental results confirm that the proposed BiLSTM model yields superior accuracy, recall, F1-score, Kappa statistics, MAE, and RMSE across all three datasets.

Keywords

Spam Detection, BiLSTM, Deep Learning, SMS, Sentiment Analysis, Word2Vec, SpamAssassin

How to cite this paper

Sadineni Gopichand, Sontineni Jaswanth Siva Sai , Shaik Khaja Afrid Ali, Dr. S J R K Padminivalli V "Bidirectional LSTM for Spam Detection and Sentimental Analysis" Iconic Research And Engineering Journals Volume 9 Issue 9 2026 Page 2410-2417 https://doi.org/10.64388/IREV9I9-1715458
Sadineni Gopichand, Sontineni Jaswanth Siva Sai , Shaik Khaja Afrid Ali, Dr. S J R K Padminivalli V "Bidirectional LSTM for Spam Detection and Sentimental Analysis" Iconic Research And Engineering Journals, vol. 9, no. 9, Mar. 2026, doi: https://doi.org/10.64388/IREV9I9-1715458
Sadineni Gopichand, Sontineni Jaswanth Siva Sai , Shaik Khaja Afrid Ali, Dr. S J R K Padminivalli V (2026). Bidirectional LSTM for Spam Detection and Sentimental Analysis. Iconic Research And Engineering Journals, 9(9). doi: https://doi.org/10.64388/IREV9I9-1715458
Sadineni Gopichand, Sontineni Jaswanth Siva Sai , Shaik Khaja Afrid Ali, Dr. S J R K Padminivalli V "Bidirectional LSTM for Spam Detection and Sentimental Analysis" Iconic Research And Engineering Journals, vol. 9, no. 9, Mar. 2026. Crossref, https://doi.org/10.64388/IREV9I9-1715458
@article{1715458,
      author = {Sadineni Gopichand, Sontineni Jaswanth Siva Sai , Shaik Khaja Afrid Ali, Dr. S J R K Padminivalli V},
      title = {Bidirectional LSTM for Spam Detection and Sentimental Analysis},
      journal = {Iconic Research And Engineering Journals},
      year = {2026},
      volume = {9},
      number = {9},
      pages = {2410-2417},
      issn = {2456-8880},
      url = {https://www.irejournals.com/formatedpaper/1715458.pdf},
      abstract = {Short Message Service (SMS) and email communication have become primary vectors for spam, placing heavy burdens on users and mobile network operators. This paper proposes a Bidirectional Long Short-Term Memory (BiLSTM) deep learning model for spam detection and sentiment analysis, evaluated on three benchmark datasets: SpamAssassin, SMS, and Email. The model is compared against a Hybrid K-Nearest Neighbors and Support Vector Machine (Hybrid KNN-SVM) classifier from the prior literature. Preprocessing involves stemming, tokenization, and stop-word removal, followed by Word2Vec-based feature extraction. The BiLSTM network captures both past and future contextual information in text sequences, substantially outperforming the hybrid baseline. On the SpamAssassin dataset, BiLSTM achieves an accuracy of 98.77%, and on the Email dataset it reaches 99.11%. Sentiment polarity is classified using AFINN and SentiWordNet lexicons. Experimental results confirm that the proposed BiLSTM model yields superior accuracy, recall, F1-score, Kappa statistics, MAE, and RMSE across all three datasets.},
      keywords = {Spam Detection, BiLSTM, Deep Learning, SMS, Sentiment Analysis, Word2Vec, SpamAssassin},
      month = {March},
      doi = {https://doi.org/10.64388/IREV9I9-1715458}
  }