Hybrid spam message detection using convolutional neural network and long short-term memory techniques
Abstract
Short Message Service (SMS) is a feature of a mobile phone that enable convenient and instant way of sending electronic messages between users. As SMS usage increases fraudulent text messages, known as spam, are becoming more common. Spam SMS may result in leaking personal information, invasion of privacy or accessing unauthorized data from mobile devices. Users of mobile phones can mistakingly give away personal information with the assumption that they are sharing it with the right recipients. This work propose a SMS spam detection method that combines convolutional neural network (CNN) and long short term memory (LSTM) deep learning algorithms. The CNN is used for feature extraction while the LSTM classifies the message. The SMS spam dataset, collected from online repository, is used to train the model. Word embeddings is used to vectorize the words in the message to make it suitable for the model. The result obtained from the implementation outperforms other machine learning algorithms with an accuracy of 99.77%.
References
- Kemp, S.: Digital 2021 - Global Overview Report. Datareportal (2021).
- Brown, J., Shipman, B., & Vetter, R.: SMS: The short message service. Computer, 40(12), 106-110 (2007).
- Chandra, A., Khatri, S. K.: Spam SMS Filtering using Recurrent Neural Network and Long Short Term Memory. International Conference on Information Systems and Computer Networks (ISCON), pp. 118–122 (2019).
- Gupta, M., Bakliwal, A., Agarwal, S., Mehndiratta, P.: A Comparative Study of Spam SMS Detection Using Machine Learning Classifiers. 11th International Conference on Contemporary Computing (IC3), pp. 1-7 (2018).
- Akbari, F., Sajedi, H.: SMS spam detection using selected text features and Boosting Classifiers. 7th Conference on Information and Knowledge Technology (IKT), pp. 1-5 (2015).
- Jalal Mussa, D., M. Jameel, N. G.: Relevant SMS Spam Feature Selection Using Wrapper Approach and XGBoost Algorithm. Kurdistan Journal of Applied Research, 4(2), 110-120 (2019).
- Choudhary, N., Jain, A. K.: Towards filtering of SMS spam messages using machine learning based technique. In: International Conference on Advanced Informatics for Computing Research, pp. 18-30. Springer, Singapore (2017).
- Sjarif, N. N. A., Azmi, N. F. M., Chuprat, S., Sarkan, H. M., Yahya, Y., Sam, S. M.: SMS spam message detection using term frequency-inverse document frequency and random forest algorithm. Procedia Computer Science. 161, 509–515 (2019).
- Sjarif, N. N. A., Yahya, Y., Chuprat, S., Azmi, N. H. F. M.: Support vector machine algorithm for SMS spam classification in the telecommunication industry. International Journal on Advanced Science Engineering Information Technology. 10, 635–639 (2020).
- Navaney, P., Dubey, G., Rana, A.: SMS Spam Filtering Using Supervised Machine Learning Algorithms. In: 8th International Conference on Cloud Computing, Data Science & Engineering (Confluence) pp. 43-48. IEEE (2018).
- Gupta, V., Mehta, A., Goel, A., Dixit, U., Pandey, A. C.: Spam detection using ensemble learning. Harmony search and nature inspired optimization algorithms, 661-668 (2019).
- Tekerek, A.: Support vector machine based spam SMS detection. Politeknik Dergisi, 22(3), 779-784 (2018).
- Jain, A. R., Joshi, K. K.: Optimal solution on vehicular Ad-hoc Network for congestion control by short message transmission. International Research Journal of Engineering and Technology (IRJET), 4, 1963–1967 (2017).
- Popovac, M., Karanovic, M., Sladojevic, S., Arsenovic, M., Anderla, A.: Convolutional Neural Network Based SMS Spam Detection. 26th Telecommunications Forum (TELFOR), 1–4 (2018).
- Huang, T. A CNN model for SMS spam detection. 4th International Conference on Mechanical, Control and Computer Engineering (ICMCCE), 851–861 (2019).
- Roy, P. K., Singh, J. P., Banerjee, S.: Deep Learning to Filter SMS Spam. Future Generation Computer Systems 102, 524-533 (2020).
- Barushka, A., Hajek, P.: Spam filtering using integrated distribution-based balancing approach and regularized deep neural networks. Applied Intelligence, 48(10), 3538-3556 (2018).
- Gomaa, W. H.: The impact of deep learning techniques on SMS spam filtering. International Journal of Advanced Computer Science and Applications, 11(1), 536-543 (2020).
- Jain, G., Sharma, M., Agarwal, B.: Spam detection in social media using convolutional and long short term memory neural network. Annals of Mathematics and Artificial Intelligence, 85(1), 21-44 (2019).
- Baaqeel, H., Zagrouba, R.: Hybrid SMS spam filtering system using machine learning techniques. In 2020 21st International Arab Conference on Information Technology (ACIT), pp. 1-8 (2020).