Research Article

Optimizing application and algorithm complexity of machine learning methods in traffic classification

Qiyuan Tan*
Camford Royal School

* Corresponding author: [email protected]

Abstract

As the Internet continues to evolve, it has become crucial for Internet Service Providers to analyze and classify their network flows. This enables them to identify suspicious activities and offer personalized services. Machine learning has been extensively deployed in network traffic classification, presenting a promising but challenging avenue. One of the primary challenges in applying machine learning to network traffic classification is reducing the computational resources used in training and implementing the model. By devising lightweight algorithms, traffic flow can be classified using fewer computational resources, effectively curtailing the escalating costs associated with the growing volume and transmission rate of traffic. In this study, we compare the performance of three classic machine learning algorithms - logistic regression, support vector machine, and shallow feedforward neural network - by employing them to classify mobile countries of origin, aiming to use as few features as possible. Remarkably, by utilizing only four features from the dataset, these three algorithms achieved an accuracy rate of 89%. This underscores the potential for computational and cost efficiency in network traffic classification with optimized machine learning methods.

Keywords: machine learning; network traffic classification; network traffic analysis; supervised learning
Published: October 23, 2023
DOI: 10.54254/2755-2721/21/20231155
Volume: ACE Vol.21
pp. 258-266
Download PDF

References

  1. R. E. O. Noora AI Khater, "Network Traffic Classification Techniques and Challenges," The Tenth International Conference on Digital Information Management, 2015.
  2. P. S. N. F. a. P. M. J. Holland, "New Directions in Automated Traffic Analysis," Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security, p. 3366–3383, Nov. 2021.
  3. H. S. a. J. W. J. Zhang, "Malicious domain name detection model based on CNN-LSTM," Third International Conference on Computer Communication and Network Security, p. 57–62, Oct. 2022.
  4. S. Z. F. K. a. Z. F. D. Ma, "Malicious Domain Name Detection Based on Doc2vec and Hybrid Network," IOP Conf. Ser.: Earth Environ. Sci, vol. 693, p. 012089, Mar. 2021.
  5. Cortes, C., Vapnik, V. Support-vector networks. Mach Learn 20, 273–297 (1995). https://doi.org/10.1007/BF00994018.
  6. F. G.-L. L. R.-M. A. L. Jair Cervantes, "A comprehensive survey on support vector machine classification: Applications, challenges and trends," Neurocomputing, vol. 408, pp. 189-215, 2020.
  7. A. A. V. S. Varun Kumar Ojha, "Metaheuristic design of feedforward neural networks: A review of two decades of research," Engineering Applications of Artificial Intelligence, vol. 60, pp. 97-116, 2017.
  8. J. Liu, P. N. Pathiranage, J. Reyes, and A. Jukan, "Traffic Classification with Limited Internet Traffic Data Using Machine Learning", IEEE Access, vol. 7, pp. 107287-107301, Aug. 2019.
  9. S. Dulluri, R. S. Paithankar, and S. Nambiar, "Traffic Classification using Machine Learning Techniques: A Survey", Proceedings of Computing Conference 2019, pp. 856-860, Jul. 2019.
  10. Y. Cui, C. Zhang, Y. Jiang, M. Li, S. Li, and L. Li, "Traffic Classification Based on Machine Learning: A Survey", IEEE Access, vol. 6, pp. 20680-20697, Apr. 2018.