Open Access iconOpen Access

ARTICLE

crossmark

NetST: Network Encrypted Traffic Classification Based on Swin Transformer

Jianwei Zhang1,*, Hongying Zhao2, Yuan Feng3,*, Zengyu Cai2, Liang Zhu2

1 School of Software Engineering, Zhengzhou University of Light Industry, Zhengzhou, 450000, China
2 School of Computer Science and Technology, Zhengzhou University of Light Industry, Zhengzhou, 450000, China
3 School of Electronic Information, Zhengzhou University of Light Industry, Zhengzhou, 450000, China

* Corresponding Authors: Jianwei Zhang. Email: email; Yuan Feng. Email: email

Computers, Materials & Continua 2025, 84(3), 5279-5298. https://doi.org/10.32604/cmc.2025.066367

Abstract

Network traffic classification is a crucial research area aimed at improving quality of service, simplifying network management, and enhancing network security. To address the growing complexity of cryptography, researchers have proposed various machine learning and deep learning approaches to tackle this challenge. However, existing mainstream methods face several general issues. On one hand, the widely used Transformer architecture exhibits high computational complexity, which negatively impacts its efficiency. On the other hand, traditional methods are often unreliable in traffic representation, frequently losing important byte information while retaining unnecessary biases. To address these problems, this paper introduces the Swin Transformer architecture into the domain of network traffic classification and proposes the NetST (Network Swin Transformer) model. This model improves the Swin Transformer to better accommodate the characteristics of network traffic, effectively addressing efficiency issues. Furthermore, this paper presents a traffic representation scheme designed to extract meaningful information from large volumes of traffic while minimizing bias. We integrate four datasets relevant to network traffic classification for our experiments, and the results demonstrate that NetST achieves a high accuracy rate while maintaining low memory usage.

Keywords

Traffic classification; encrypted network traffic; Swin Transformer; network management; deep learning

Cite This Article

APA Style
Zhang, J., Zhao, H., Feng, Y., Cai, Z., Zhu, L. (2025). NetST: Network Encrypted Traffic Classification Based on Swin Transformer. Computers, Materials & Continua, 84(3), 5279–5298. https://doi.org/10.32604/cmc.2025.066367
Vancouver Style
Zhang J, Zhao H, Feng Y, Cai Z, Zhu L. NetST: Network Encrypted Traffic Classification Based on Swin Transformer. Comput Mater Contin. 2025;84(3):5279–5298. https://doi.org/10.32604/cmc.2025.066367
IEEE Style
J. Zhang, H. Zhao, Y. Feng, Z. Cai, and L. Zhu, “NetST: Network Encrypted Traffic Classification Based on Swin Transformer,” Comput. Mater. Contin., vol. 84, no. 3, pp. 5279–5298, 2025. https://doi.org/10.32604/cmc.2025.066367



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1190

    View

  • 659

    Download

  • 0

    Like

Share Link