Network Traffic Classification Using Machine Learning, Transformer, and Large Language Models

dc.contributor.authorAntari, Ahmad
dc.contributor.authorAbo-Aisheh, Yazan
dc.contributor.authorShamasneh, Jehad
dc.contributor.authorAshqar, Huthaifa
dc.date.accessioned2025-10-16T15:27:12Z
dc.date.issued2025-09-08
dc.description2025 IEEE 4th International Conference on Computing and Machine Intelligence (ICMI), April 5-6, 2025, Mount Pleasant, MI, USA
dc.description.abstractThis study uses various models to address network traffic classification, categorizing traffic into web, browsing, IPSec, backup, and email. We collected a comprehensive dataset from Arbor Edge Defender (AED) devices, comprising of 30,959 observations and 19 features. Multiple models were evaluated, including Naive Bayes, Decision Tree, Random Forest, Gradient Boosting, XGBoost, Deep Neural Networks (DNN), Transformer, and two Large Language Models (LLMs) including GPT-4o and Gemini with zero- and few-shot learning. Transformer and XGBoost showed the best performance, achieving the highest accuracy of 98.95 and 97.56%, respectively. GPT-4o and Gemini showed promising results with few-shot learning, improving accuracy significantly from initial zero-shot performance. While Gemini Few-Shot and GPT-4o Few-Shot performed well in categories like Web and Email, misclassifications occurred in more complex categories like IPSec and Backup. The study highlights the importance of model selection, fine-tuning, and the balance between training data size and model complexity for achieving reliable classification results.
dc.description.urihttps://ieeexplore.ieee.org/document/11141207
dc.format.extent5 pages
dc.genreconference papers and proceedings
dc.genrepreprints
dc.identifierdoi:10.13016/m2vk00-cv62
dc.identifier.citationAntari, Ahmad, Yazan Abo-Aisheh, Jehad Shamasneh, and Huthaifa I. Ashqar. “Network Traffic Classification Using Machine Learning, Transformer, and Large Language Models.” 2025 IEEE 4th International Conference on Computing and Machine Intelligence (ICMI), April 2025, 1–5. https://doi.org/10.1109/ICMI65310.2025.11141207.
dc.identifier.urihttps://doi.org/10.1109/ICMI65310.2025.11141207
dc.identifier.urihttp://hdl.handle.net/11603/40453
dc.language.isoen
dc.publisherIEEE
dc.relation.isAvailableAtThe University of Maryland, Baltimore County (UMBC)
dc.relation.ispartofUMBC Data Science
dc.rights© 2025 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
dc.subjectComputer Science - Cryptography and Security
dc.subjectComputer Science - Machine Learning
dc.subjectComputer Science - Computation and Language
dc.titleNetwork Traffic Classification Using Machine Learning, Transformer, and Large Language Models
dc.typeText
dcterms.creatorhttps://orcid.org/0000-0002-6835-8338

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
2503.02141v1.pdf
Size:
377.48 KB
Format:
Adobe Portable Document Format