Research Article

Spam mail classification using back propagation neural networks

Jingfeng Chen*
School of micro-electronics, Fudan University, Shanghai, 200011, China

* Corresponding author: [email protected]

Abstract

Mail classification methods based on machine learning have been introduced to combat spams. However, few researches focus on the most powerful machine learning model that is neural networks. In this paper, the author trains BP neural networks to detect spams. The inputs of the neural networks are only information about words, punctures, signs, numbers and illegal words. Five neural networks which are different in number of neurons and number of layers are experimented on. All networks apply Rectified Linear Unit (ReLU) functions and Momentum learning technology. The results show that the network with four hidden layers enjoys the best classifying accuracy of 97.0%. In networks with two hidden layers, when the number of neurons in each layer is above 300, the accuracy is between 95.5% and 96.0%; and 100 neurons in each layer result in an accuracy of 93.8%. Although the training only captures information of words, punctures and signs, the networks have achieved high accuracy, and the author suggests that making the computer understand sentences as well as other kinds of improvements can lead to even higher performance.

Keywords: BP neuron networks; spam detection; classification
Published: May 31, 2023
DOI: 10.54254/2755-2721/5/20230617
Volume: ACE Vol.5
pp. 438-449
Download PDF

References

  1. Syed Md. Minhaz Hossain, Jayed Akbar Sumon, Anik Sen, Md. Iftaker Alam, Khaleque Md. Aashiq Kamal, Hamed Alqahtani, Iqbal H. Sarker (2022). Spam Filtering of Mobile SMS Using CNN–LSTM Based Deep Learning Model. Hybrid Intelligent Systems (pp.106-116).
  2. Hong Yang, Qihe Liu, Shijie Zhou, Yang Luo (2019). A Spam Filtering Method Based on Multi-Modal Fusion. Applied Sciences, Volume 9, Issue 6.
  3. Jim X. Chen (2016). The Evolution of Computing: AlphaGo. Computing in Science & Engineering, Volume 18, Issue 4, Pages 4-7.
  4. Thamarai Subramaniam, Hamid A. Jalab, Alaa Y. Taqa (2010). Overview of textual anti-spam filtering techniques. International Journal of the Physical Sciences, Vol. 5(12), pp. 1869-1882.
  5. Pradeep Kumar Roy, Jyoti Prakash Singh, Snehasish Banerjee (2019). Deep learning to filter SMS Spam. Future Generation Computer Systems, Volume 102, January 2020, Pages 524-533.
  6. Tingmin Wu, Shigang Liu, Jun Zhang, Yang Xiang (2017). Twitter spam detection based on deep learning, ACSW '17: Proceedings of the Australasian Computer Science Week Multiconference, Article No. 3, January 2017, Pages 1-8.
  7. Ivan Bratko (2018). Alphazero – What’s Missing, Informatica, Vol 42, No 1 (2018), Bratko
  8. Koki Saitoh (2016). Deep Learning from Scratch, 2016 O’Reilly Japan, Inc, ISBN 978-7-115-48558-8.
  9. Zhihua Zhou (2016). Machine Learning, ISBN 978-7-302-42328-7
  10. Sunita Dhavale (2020). C-ASFT: Convolutional Neural Networks-Based Anti-spam Filtering Technique, Proceeding of International Conference on Computational Science and Applications, pp 49-55.
  11. Chao Wang, Qun Li, Tian-yu Ren, Xiao-hu Wang, Guang-xin Guo (2021), High Efficiency Spam Filtering: A Manifold Learning-Based Approach, Mathematical Problems in Engineering, Volume 2021, Article ID 2993877