A Discrete Hidden Markov Model for SMS Spam Detection
Source abstract
Abstract
Many machine learning methods have been applied for short messaging service (SMS) spam detection, including traditional methods such as naïve Bayes (NB), vector space model (VSM), and support vector machine (SVM), and novel methods such as long short-term memory (LSTM) and the convolutional neural network (CNN). These methods are based on the well-known bag of words (BoW) model, which assumes documents are unordered collection of words. This assumption overlooks an important piece of information, i.e., word order. Moreover, the term frequency, which counts the number of occurrences of each word in SMS, is unable to distinguish the importance of words, due to the length limitation of SMS. This paper proposes a new method based on the discrete hidden Markov model (HMM) to use the word order information and to solve the low term frequency issue in SMS spam detection. The popularly adopted SMS spam dataset from the UCI machine learning repository is used for performance analysis of the proposed HMM method. The overall performance is compatible with deep learning by employing CNN and LSTM models. A Chinese SMS spam dataset with 2000 messages is used for further performance evaluation. Experiments show that the proposed HMM method is not language-sensitive and can identify spam with high accuracy on both datasets.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Spam and Phishing Detection · Network Security and Intrusion Detection · Text and Document Classification Technologies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Computer and Information Engineering, Shanghai Polytechnic University, Shanghai 201209, China
Department of Engineering, Texas Southern University, Houston, TX 77004, USA
Funding
National Science Foundation · Soft Engineering of Key Subjects Construction in Shanghai Polytechnic University
References (59)
Show source-provided references
1. (2014). PortioResearch Worldwide A2P SMS Markets 2014–2017: Understanding and Analysis of Application to-Person Text Messaging Markets Worldwide, Portio Research Limited.
2. Ezpeleta, E. (2017). Short Messages Spam Filtering Combining Personality Recognition and Sentiment Analysis. Int. J. Uncertain. Fuzziness Knowl.-Based Syst., 175–189.10.1142/S0218488517400177 ↗
3. (2020, July 09). Statista A2P and P2P SMS Market Revenue Worldwide from 2017 to 2022 (in Billion U.S. Dollars). Available online: https://www.statista.com/statistics/485153/a2p-sms-market-size-worldwide/.
4. A Review on Mobile SMS Spam Filtering Techniques10.1109/ACCESS.2017.2666785 ↗
5. Spam: Its past, present, and future10.3103/S0147688213040060 ↗
6. Deep feature weighting for naive Bayes and its application to text classification10.1016/j.engappai.2016.02.002 ↗
7. SMS Classification Based on Naive Bayes Classifier and Semi-Supervised Learning
8. Content-based SMS Classification: Statistical Analysis for the Relationship between Number of Features and Classification Performance
9. Support vector machine based spam SMS detection
10. SMS Spam Detection Based on Long Short-Term Memory and Gated Recurrent Unit10.18178/ijfcc.2019.8.1.532 ↗
11. Deep learning to filter SMS Spam10.1016/j.future.2019.09.001 ↗
12. Development of content based SMS classification application by using Word2Vec based feature extraction
13. Spam filtering using integrated distribution-based balancing approach and regularized deep neural networks10.1007/s10489-018-1161-y ↗
14. An improvement to TF: Term distribution based term weight algorithm10.4304/jsw.6.3.413-420 ↗
15. An Introduction to Hidden Markov Models10.1109/MASSP.1986.1165342 ↗
16. What is a hidden Markov model?10.1038/nbt1004-1315 ↗
17. Group, T.A.S. (2020, June 02). The First Enterprise Open-Source Spam Filter. Available online: http://spamassassin.apache.org/.
18. Effective scheduling strategies for boosting performance on rule-based spam filtering frameworks10.1016/j.jss.2013.07.036 ↗
19. Wirebrush4SPAM: A novel framework for improving efficiency on spam filtering services10.1002/spe.920 ↗
20. A Constant Time Complexity Spam Detection Algorithm for Boosting Throughput on Rule-Based Filtering Systems10.1109/ACCESS.2020.2991328 ↗
21. Factorial design analysis applied to the performance of SMS anti-spam filtering systems10.1016/j.eswa.2016.08.038 ↗
22. Classification Spam Email with Elimination of Unsuitable Features with Hybrid of GA-Naive Bayes
23. Arifin, D.D., and Bijaksana, M.A. (2016, January 13–15). Enhancing spam detection on mobile phone Short Message Service (SMS) performance using FP-growth and Naive Bayes Classifier. Proceedings of the 2016 IEEE Asia Pacific Conference on Wireless and Mobile (APWiMob), Bandung, Indonesia.
24. Expert Systems with Applications Enhanced Topic-based Vector Space Model for semantics-aware spam filtering10.1016/j.eswa.2011.07.034 ↗
25. Spam filtering for short messages in adversarial environment10.1016/j.neucom.2014.12.034 ↗
26. Zhang, W., Bu, C., Yoshida, T., and Zhang, S. (2016). CoSpa: A co-training approach for spam review identification with support vector machine. Information, 7.10.3390/info7010012 ↗
27. Zhang, W., Bu, C., Yoshida, T., and Zhang, S. (2016). CoFea: A novel approach to spam review identification based on entropy and co-training. Entropy, 18.10.3390/e18120429 ↗
28. Detection of Spam Email by Combining Harmony Search Algorithm and Decision Tree10.48084/etasr.1171 ↗
29. The Impact of Feature Extraction and Selection on SMS Spam Filtering10.5755/j01.eee.19.5.1829 ↗
30. Latent Semantic Indexing Based SVM Model for Email Spam Classification
31. Chandra, A. (2019, January 21–22). Spam SMS Filtering using Recurrent Neural Network and Long Short Term Memory. Proceedings of the 2019 4th International Conference on Information Systems and Computer Networks (ISCON), Mathura, India.10.1109/ISCON47742.2019.9036269 ↗
32. Yang, H., Liu, Q., Zhou, S., and Luo, Y. (2019). A spam filtering method based on multi-modal fusion. Appl. Sci., 9.10.3390/app9061152 ↗
33. Zhao, C., Xin, Y., Li, X., Yang, Y., and Chen, Y. (2020). A Heterogeneous Ensemble Learning Frameworkfor Spam Detection in Social Networks with Imbalanced Data. Appl. Sci., 10.10.3390/app10030936 ↗
34. An Effective Model for SMS Spam Detection Using Content-based Features and Averaged Neural Network
35. Spam Short Messages Detection via Mining Social Networks10.1007/s11390-012-1239-7 ↗
36. Saleh, A.J., Karim, A., Shanmugam, B., Azam, S., Kannoorpatti, K., Jonkman, M., and De Boer, F. (2019). An intelligent spam detection model based on artificial immune system. Information, 10.10.3390/info10060209 ↗
37. Consensus of Hybrid Multi-Agent Systems with Malicious Nodes
38. Real-time performance-driven finger motion synthesis10.1016/j.cag.2017.03.001 ↗
39. Mousas, C. (2017). Full-body locomotion reconstruction of virtual characters using a single inertial measurement unit. Sensors, 17.10.3390/s17112589 ↗
40. Nakagawa, S., and Zhang, W. (2003, January 1–4). Text-independent speaker recognition by speaker-specific GMM and speaker adapted syllable-based HMM. Proceedings of the EUROSPEECH 8th European Conference on Speech Communication and Technology, Geneva, Switzerland.10.21437/Eurospeech.2003-773 ↗
41. Niina, G., and Dozono, H. (2012, January 11–14). The Spherical Hidden Markov Self Organizing Map for Learning Time Series Data. Proceedings of the Artificial Neural Networks and Machine Learning—ICANN 2012, Lausanne, Switzerland.10.1007/978-3-642-33269-2_71 ↗
42. Procedia Computer A Hidden Markov Model for Persian Part-of-Speech Tagging10.1016/j.procs.2010.12.160 ↗
43. Expert Systems with Applications Part-of-speech tagger for Ainu language based on higher order Hidden Markov Model10.1016/j.eswa.2012.04.031 ↗
44. Enhancing HMM-based biomedical named entity recognition by studying special phenomena10.1016/j.jbi.2004.08.005 ↗
45. Hussain, N., Mirza, H.T., Rasool, G., Hussain, I., and Kaleem, M. (2019). Spam review detection techniques: A systematic literature review. Appl. Sci., 9.10.3390/app9050987 ↗
46. A review of soft techniques for SMS spam classification: Methods, approaches and applications10.1016/j.engappai.2019.08.024 ↗
47. Rafique, M., and Farooq, M. (October, January 29). SMS Spam Detection by Operating on Byte-Level Distributions Using Hidden Markov Models (HMMs). Proceedings of the 20th Virus Bulletin International Conference, Vancouver, BC, Canada.
48. An HMM for detecting spam mail10.1016/j.eswa.2006.06.016 ↗
49. An HMM-based approach for automatic detection and classification of duplicate bug reports10.1016/j.infsof.2019.05.007 ↗
50. A Topic-Based Hidden Markov Model for Real-Time Spam Tweets Filtering10.1016/j.procs.2017.08.075 ↗
51. Detection and prevention of spam over Internet telephony in Voice over Internet Protocol networks using Markov chain with incremental SVM
52. Towards SMS Spam Filtering: Results under a New Dataset
53. SMSAD: A framework for spam message and spam account detection10.1007/s11042-017-5018-x ↗
54. Simple SMS spam filtering on independent mobile phone10.1002/sec.577 ↗
55. Spam detection in social media using convolutional and long short term memory neural network10.1007/s10472-018-9612-z ↗
56. SMS spam filtering and thread identification using bi-level text classification and clustering techniques10.1177/0165551515616310 ↗
57. Almeida, T.A., Hidalgo, J.M.G., and Yamakami, A. (2011, January 19–22). Contributions to the study of SMS spam filtering: New Collection and Results. Proceedings of the 11th ACM Symposium on Document Engineering, Mountain View, CA, USA.10.1145/2034691.2034742 ↗
58. Tagg, C. (2009). A Corpus Linguistic Study of SMS Texting. [Ph.D. Thesis, University of Birmingham].
59. An Extensive Empirical Study of Feature Selection Metrics for Text Classification George