journal article·2022-07-12Open access

A Novel Fuzzy-Logic-Based Multi-Criteria Metric for Performance Evaluation of Spam Email Detection Algorithms

Salman A. Khan, Kashif Iqbal, Nazeeruddin Mohammad, Rehan Akbar, Syed Saad Azhar Ali, Ammar Ahmed Siddiqui

Applied Sciences· Volume 12· Issue 14

Abstract

The increasing volume of unsolicited bulk emails has become a major threat to global security. While a significant amount of research has been carried out in terms of proposing new and better algorithms for email spam detection, relatively less attention has been given to evaluation metrics. Some widely used metrics include accuracy, recall, precision, and F-score. This paper proposes a new evaluation metric based on the concepts of fuzzy logic. The proposed metric, termed μO, combines accuracy, recall, and precision into a multi-criteria fuzzy function. Several possible evaluation rules are proposed. As proof of concept, a preliminary empirical analysis of the proposed scheme is carried out using two models, namely BERT (Bidirectional Encoder Representations from Transformers) and LSTM (Long short-term memory) from the domain of deep learning, while utilizing three benchmark datasets. Results indicate that for the Enron and PU datasets, LSTM produces better results of μO, with the values in the range of 0.88 to 0.96, whereas BERT generates better values of μO in the range of 0.94 to 0.96 for Lingspam dataset. Furthermore, extrinsic evaluation confirms the effectiveness of the proposed fuzzy logic metric.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Spam and Phishing Detection · Sentiment Analysis and Opinion Mining · Network Security and Intrusion Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Computing and Information Sciences, Karachi Institute of Economics and Technology, Karachi 75190, Pakistan

Cyber Security Center, Prince Mohammad Bin Fahd University, Dhahran 34754, Saudi Arabia

Computer and Information Sciences Department, Universiti Teknologi PETRONAS, Seri Iskandar 32610, Malaysia

Center for Intelligent Signal and Imaging Research (CISIR), Department of Electrical and Electronics Engineering, Universiti Teknologi PETRONAS, Seri Iskandar 32610, Malaysia

Department of Business Administration, Iqra University, Karachi 75500, Pakistan

Funding

The Cybersecurity Center at Prince Mohammad bin Fahd University

References (59)

Show source-provided references
1. Feng, W., Sun, J., Zhang, L., Cao, C., and Yang, Q. (2016, January 9–11). A support vector machine based naive Bayes algorithm for spam filtering. Proceedings of the 2016 IEEE 35th International Performance Computing and Communications Conference (IPCCC), Las Vegas, NV, USA.10.1109/PCCC.2016.7820655 ↗
2. Machine learning for email spam filtering: Review, approaches and open research problems10.1016/j.heliyon.2019.e01802 ↗
3. (2022, April 11). Available online: https://www.statista.com/statistics/456500/daily-number-of-e-mails-worldwide/.
4. Measuring, characterizing, and avoiding spam traffic costs10.1109/MIC.2016.53 ↗
5. The effect of spam and privacy concerns on e-mail users’ behavior
6. An exploratory study of the application of mindsight in email communication10.1016/j.heliyon.2020.e04305 ↗
7. Cook, D., Hartnett, J., Manderson, K., and Scanlan, J. Catching spam before it arrives: Domain specific dynamic blacklists. Proceedings of the 2006 Australasian workshops on Grid Computing and E-Research-Volume 54, Hobart, Australia, 16–19 January 2006.
8. Kshirsagar, D., and Patil, A. (2013, January 4–6). Blackhole attack detection and prevention by real time monitoring. Proceedings of the 2013 Fourth International Conference on Computing, Communications and Networking Technologies (ICCCNT), Tiruchengode, India.10.1109/ICCCNT.2013.6726597 ↗
9. Wang, B., and Pan, W. (2005). A survey of content-based anti-spam email filtering. J. Chin. Inf. Process., 5.
10. Spam Email Detection Using Deep Learning Techniques10.1016/j.procs.2021.03.107 ↗
11. Islam, M.K., Al Amin, M., Islam, M.R., Mahbub, M.N.I., Showrov, M.I.H., and Kaushal, C. (2021, January 3–4). Spam-Detection with Comparative Analysis and Spamming Words Extractions. Proceedings of the 2021 9th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Noida, India.10.1109/ICRITO51393.2021.9596218 ↗
12. Machine Learning-Based Detection of Spam Emails
13. Comparison of Deep and Traditional Learning Methods for Email Spam Filtering
14. A Machine Learning Based Email Spam Classification Framework Model: Related Challenges and Issues10.35940/ijitee.D1561.029420 ↗
15. Srinivasan, S., Ravi, V., Alazab, M., Ketha, S., Al-Zoubi, A.M., and Kotti Padannayil, S. (2021). Spam emails detection based on distributed word embedding with deep learning. Machine Intelligence and Big Data Analytics for Cybersecurity Applications, Springer.10.1007/978-3-030-57024-8_7 ↗
16. Kumar, N., and Sonowal, S. (2020, January 15–17). Email spam detection using machine learning algorithms. Proceedings of the 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), Coimbatore, India.10.1109/ICIRCA48905.2020.9183098 ↗
17. Email Spam Filtering Using Machine Learning Based Xgboost Classifier Method
18. Email Spam Detection using Machine Learning and Neural Networks
19. Machine Learning and Deep Learning for Phishing Email Classification using One-Hot Encoding10.3844/jcssp.2021.610.623 ↗
20. Nayak, R., Jiwani, S.A., and Rajitha, B. (2021). Spam email detection using machine learning algorithm. Mater. Today Proc.10.1016/j.matpr.2021.03.147 ↗
21. Euna, N.J., Hossain, S.M.M., Anwar, M.M., and Sarker, I.H. (2021). Content-based Spam Email Detection Using N-gram Machine Learning Approach. Preprints, 2021090236.10.20944/preprints202109.0236.v1 ↗
22. Spam mail filtering technique using different decision tree classifiers through data mining approach-a comparative performance analysis
23. Analysis of Naïve Bayes algorithm for email spam filtering across multiple datasets10.1088/1757-899X/226/1/012091 ↗
24. Spam mail scanning using machine learning algorithm10.17706/jcp.15.2.73-84 ↗
25. Guo, Z., Yu, K., Jolfaei, A., Ding, F., and Zhang, N. (2021). Fuz-spam: Label smoothing-based fuzzy detection of spammers in internet of things. IEEE Trans. Fuzzy Syst.10.1109/TFUZZ.2021.3130311 ↗
26. A Preliminary Study on Personalized Spam E-mail Filtering Using Bidirectional Encoder Representations from Transformers (BERT) and TensorFlow 2.010.12785/ijcds/110173 ↗
27. Kaddoura, S., Alfandi, O., and Dahmani, N. (2020, January 10–13). A spam email detection mechanism for english language text emails using deep learning approach. Proceedings of the 2020 IEEE 29th International Conference on Enabling Technologies: Infrastructure for Collaborative Enterprises (WETICE), Online.10.1109/WETICE49692.2020.00045 ↗
28. A feature-centric spam email detection model using diverse supervised machine learning algorithms10.1108/EL-07-2019-0181 ↗
29. Sakkis, G., Androutsopoulos, I., Paliouras, G., Karkaletsis, V., Spyropoulos, C.D., and Stamatopoulos, P. (2001). Stacking classifiers for anti-spam filtering of e-mail. Empirical Methods in Natural Language Processing, Carnegie Mellon University.
30. A survey of image spamming and filtering techniques10.1007/s10462-011-9280-4 ↗
31. An evaluation of statistical spam filtering techniques10.1145/1039621.1039625 ↗
32. (2021, December 22). Available online: https://www.cs.cmu.edu/~enron/.
33. Learning to classify e-mail10.1016/j.ins.2006.12.005 ↗
34. Online supervised spam filter evaluation10.1145/1247715.1247717 ↗
35. Androutsopoulos, I., Koutsias, J., Chandrinos, K.V., Paliouras, G., and Spyropoulos, C.D. (June, January 31). An evaluation of naive bayesian anti-spam filtering. Proceedings of the 11th European Conference on Machine Learning (ECML 2000), Barcelona, Spain.
36. Androutsopoulos, I., Paliouras, G., Karkaletsis, V., Sakkis, G., Spyropoulos, C.D., and Stamatopoulos, P. (2000, January 20–24). Learning to filter spam e-mail: A comparison of a naive bayesian and a memory-based approach. Proceedings of the 4th European Conference on Principles and Practice of Knowledge Discovery in Databases, Pisa, Italy.
37. DeBarr, D., and Wechsler, H. (2009, January 16–17). Spam detection using clustering, random forests, and active learning. Proceedings of the Sixth Conference on Email and Anti-Spam, Mountain View, CA, USA.
38. (2021, December 17). Available online: http://www.aueb.gr/users/ion/data/lingspam_public.tar.gz.
39. (2021, December 19). Available online: http://www.aueb.gr/users/ion/data/PU123ACorpora.tar.gz.
40. Enhancing representation in the context of multiple-channel spam filtering10.1016/j.ipm.2021.102812 ↗
41. A pipeline and comparative study of 12 machine learning models for text classification10.1016/j.eswa.2022.117193 ↗
42. Deep graph neural network-based spammer detection under the perspective of heterogeneous cyberspace10.1016/j.future.2020.11.028 ↗
43. Venkateswarlu, B., and Shenoi, V. (2021). Optimized generative adversarial network with fractional calculus based feature fusion using Twitter stream for spam detection. Inf. Secur. J. Glob. Perspect.
44. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
45. Long short-term memory10.1162/neco.1997.9.8.1735 ↗
46. Information and control
47. Rehman, S., Khan, S.A., and Alhems, L.M. (2020). A rule-based fuzzy logic methodology for multi-criteria selection of wind turbines. Sustainability, 12.10.1115/GT2020-15177 ↗
48. Rehman, S., Khan, S.A., and Alhems, L.M. (2020). Application of TOPSIS approach to multi-criteria selection of wind turbines for on-shore sites. Appl. Sci., 10.10.3390/app10217595 ↗
49. A new fuzzy operator and its application to topology design of distributed local area networks10.1016/j.ins.2007.01.031 ↗
50. Khan, S.A. (2009). Design and Analysis of Evolutionary and Swarm Intelligence Techniques for Topology Design of Distributed Local Area Networks. [Ph.D. Thesis, University of Pretoria].10.1109/SIS.2008.4668303 ↗
51. A STRIDE Model based Threat Modelling using Unified and-Or Fuzzy Operator for Computer Network Security10.12785/ijcnt/050103 ↗
52. Fuzzy preferences based STRIDE threat model for network intrusion detection10.12785/ijcnt/050302 ↗
53. Simulated evolution and simulated annealing algorithms for solving multi-objective open shortest path first weight setting problem10.1007/s10489-014-0523-3 ↗
54. Fuzzy particle swarm optimization algorithms for the open shortest path first weight setting problem10.1007/s10489-016-0776-0 ↗
55. Fuzzy quantifiers in sensitivity analysis of OWA operator10.1016/j.cie.2007.11.012 ↗
56. Granular risk-based design optimization10.1109/TFUZZ.2014.2312205 ↗
57. Multi-objective optimization and fuzzy evaluation of a horizontal axis wind turbine composite blade10.1063/1.4936296 ↗
58. E-mail spam filtering: A review of techniques and trends10.1007/978-981-10-4765-7_61 ↗
59. (2022, May 28). Baledung. Available online: https://www.baeldung.com/cs/spam-filter-training-sets.