Skip to main content

Spam Classification Based on Supervised Learning Using Grasshopper Optimization Algorithm and Artificial Neural Network

  • Conference paper
  • First Online:
Advances in Cyber Security (ACeS 2020)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1347))

Included in the following conference series:

Abstract

The electronic mailing system has in recent years become a timely and convenient way for the exchange of multimedia messages across the cyberspace and computer networks in the global sphere. This proliferation has prompted most (if not all) inboxes receiving junk email messages on numerous occasions every day. Due to these surges in spam attacks, a number of approaches have been proposed to lessen the attacks across the globe significantly. The effect of previous detection techniques has been weakened due to the adaptive nature of unsolicited email spam. Hence, resolving spam detection (SD) problem is a challenging task. A regular class of the Artificial Neural Network (ANN) called Multi-Layer Perceptron (MLP) was proposed in this study for email SD. The main idea of this research is to train a neural network by leveraging a new nature-inspired metaheuristic algorithm referred to as a Grasshopper Optimization Algorithm (GOA) to categorize emails as ham and spam. Evaluation of its performance was performed on an often-used standard dataset. The results showed that the proposed MLP model trained by GOA achieves high accuracy of up to 94.25% performance compared to other optimization.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Mohammad, R.M.A.: A lifelong spam emails classification model. Appl. Comput. Inf., 1–10 (2020, in press)

    Google Scholar 

  2. Kwak, Y., Lee, S., Damiano, A., Vishwanath, A.: Why do users not report spear phishing emails? Telematics Inform. 48, 101343 (2020)

    Article  Google Scholar 

  3. Singh, M.: User-centered spam detection using linear and non-linear machine learning models. Dspace.library.uvic.ca. (2019)

    Google Scholar 

  4. Vidya Kumari, K.R., Kavitha, C.R.: Spam detection using machine learning in R. In: Smys, S., Bestak, R., Chen, J.Z., Kotuliak, I. (eds.) International Conference on Computer Networks and Communication Technologies. Lecture Notes on Data Engineering and Communications Technologies, vol. 15, pp. 55–64. Springer, Singapore (2019). https://doi.org/10.1007/978-981-10-8681-6_7

  5. Wijaya, A., Bisri, A.: Hybrid decision tree and logistic regression classifier for email SD. In: 2016 8th International Conference on Information Technology and Electrical Engineering (ICITEE), pp. 1–4. IEEE, October 2016

    Google Scholar 

  6. Taylor, O.E., Ezekiel, P.S.: A Model to Detect Spam Email Using Support Vector Classifier and Random Forest Classifier. Int. J. Comput. Sci. Math. Theory 6, 1–11 (2020)

    Google Scholar 

  7. Ren, Y., Ji, D.: Neural networks for deceptive opinion spam detection: an empirical study. Inf. Sci. 385, 213–224 (2017)

    Article  Google Scholar 

  8. Idris, I., Selamat, A., Nguyen, N.T., Omatu, S., Krejcar, O., Kuca, K., Penhaker, M.: A combined negative selection algorithm–particle swarm optimization for an email spam detection system. Eng. Appl. Artif. Intell. 39, 33–44 (2015)

    Article  Google Scholar 

  9. Renuka, D.K., Visalakshi, P., Sankar, T.: Improving E-mail spam classification using ant colony optimization algorithm. Int. J. Comput. Appl. ICICT 2015(2), 22–26 (2015)

    Google Scholar 

  10. Dada, E.G., Bassi, J.S., Chiroma, H., Abdulhamid, S.M., Adetunmbi, A.O., Aji-buwa, O.E.: Machine learning for email spam filtering: review, approaches and open research problems. Heliyon 5(6), e01802 (2019)

    Article  Google Scholar 

  11. Bibi, A., Latif, R., Khalid, S., Ahmed, W., Shabir, R.A., Shahryar, T.: Spam mail scanning using machine learning algorithm. JCP 15(2), 73–84 (2020)

    Article  Google Scholar 

  12. Idris, I.: E-mail spam classification with artificial neural network and negative selection algorithm. Int. J. Comput. Sci. Commun. Netw. 1(3), 227–231 (2011)

    Google Scholar 

  13. Faris, H., Aljarah, I., Alqatawna, J.F.: Optimizing feedforward neural networks using krill herd algorithm for e-mail SD. In: 2015 IEEE Jordan Conference on Applied Electrical Engineering and Computing Technologies (AEECT), pp. 1–5. IEEE, November 2015

    Google Scholar 

  14. Rodan, A., Faris, H., Alqatawna, J.F.: Optimizing feedforward neural networks using biogeography based optimization for e-mail spam identification. Int. J. Commun. Netw. Syst. Sci. 9(01), 19 (2016)

    Google Scholar 

  15. Jantan, A., Ghanem, W.A.H.M., Ghaleb, S.A.A.: Using modified bat algorithm to train neural networks for spam detection. J. Theoret. Appl. Inf. Technol. (JATIT) 95(24), 1–12 (2017)

    Google Scholar 

  16. Singh, S., Chand, A., Lal, S.P.: Improving SD using neural networks trained by memetic algorithm. In: 2013 Fifth International Conference on Computational Intelligence, Modelling and Simulation, pp. 55–60. IEEE, September 2013

    Google Scholar 

  17. Manjusha, K., Kumar, R.: Spam mail classification using combined approach of Bayesian and neural network. In 2010 International Conference on Computational Intelligence and Communication Networks, pp. 145–149. IEEE, November 2010

    Google Scholar 

  18. Mohammad, A.H., Zitar, R.A.: Application of genetic optimized artificial immune system and neural networks in SD. Appl. Soft Comput. 11(4), 3827–3845 (2011)

    Article  Google Scholar 

  19. Park, J., Sandberg, I.W.: Approximation and radial-basis-function networks. Neural Comput. 5(2), 305–316 (1993)

    Article  Google Scholar 

  20. Ghanem, W.A.H., Jantan, A.: Swarm intelligence and neural network for data classification. In: 2014 IEEE International Conference on Control System, Computing and Engineering (ICCSCE 2014), pp. 196–201. IEEE, November 2014

    Google Scholar 

  21. Saremi, S., Mirjalili, S., Lewis, A.: Grasshopper Optimisation algorithm: theory and application. Adv. Eng. Softw. 105, 30–47 (2017)

    Article  Google Scholar 

  22. Ghanem, W.A., Jantan, A.: Training a Neural Network for Cyberattack Classification Applications Using Hybridization of an Artificial Bee Colony and Monarch Butterfly Optimization. Neural Process. Lett. 51(1), 905–946 (2020). https://doi.org/10.1007/s11063-019-10120-x

    Article  Google Scholar 

  23. Ghanem, W.A., Jantan, A.: A cognitively inspired hybridization of artificial bee colony and dragonfly algorithms for training multi-layer perceptrons. Cognitive Computation 10(6), 1096–1134 (2018). https://doi.org/10.1007/s12559-018-9588-3

    Article  Google Scholar 

  24. Ghanem, W.A., Jantan, A.: A new approach for intrusion detection system based on training multilayer perceptron by using enhanced Bat algorithm. Neural Comput. Appl., 1–34 (2019). https://doi.org/10.1007/s00521-019-04655-2

  25. Hopkins, M., et al.: UCI Machine Learning Repository: SpamAssassin Data Set. https://www.kaggle.com/beatoa/spamassassin-public-corpus

  26. Heidari, A.A., Faris, H., Aljarah, I., Mirjalili, S.: An efficient hybrid multilayer perceptron neural network with grasshopper optimization. Soft. Comput. 23(17), 7941–7958 (2019). https://doi.org/10.1007/s00500-018-3424-2

    Article  Google Scholar 

  27. Idris, I., Selamat, A.: Improved email SD model with negative selection algorithm and particle swarm optimization. Appl. Soft Comput. 22, 11–27 (2014)

    Article  Google Scholar 

  28. Davino, D., Camastra, F., Ciaramella, A., Staiano A.: Spam detection by machine learning-based content analysis. In: Esposito, A., Faundez-Zanuy, M., Morabito, F., Pasero, E. (eds.) Progresses in Artificial Intelligence and Neural Systems. Smart Innovation, Systems and Technologies, vol. 184, pp. 415–422. Springer, Singapore (2021). https://doi.org/10.1007/978-981-15-5093-5_37

  29. Razi, Z., Asghari, S.A.: Providing an improved feature extraction method for spam detection based on genetic algorithm in an immune. System 3(8), 596–605 (2017)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sanaa A. A. Ghaleb .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ghaleb, S.A.A., Mohamad, M., Abdullah, E.F.H.S., Ghanem, W.A.H.M. (2021). Spam Classification Based on Supervised Learning Using Grasshopper Optimization Algorithm and Artificial Neural Network. In: Anbar, M., Abdullah, N., Manickam, S. (eds) Advances in Cyber Security. ACeS 2020. Communications in Computer and Information Science, vol 1347. Springer, Singapore. https://doi.org/10.1007/978-981-33-6835-4_28

Download citation

  • DOI: https://doi.org/10.1007/978-981-33-6835-4_28

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-33-6834-7

  • Online ISBN: 978-981-33-6835-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics