Home / Current Issue / Paper 1715458
Bidirectional LSTM for Spam Detection and Sentimental Analysis
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
@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}
}