SNAKE: A Sustainable and Multi-functional Traffic Analysis System utilizing Specialized Large-Scale Models with a Mixture of Experts Architecture

Tian Qin, Guang Cheng, Yuyang Zhou, Zihan Chen, Xing Luan · 2025

Read SNAKE: A Sustainable and Multi-functional Traffic Analysis System utilizing Specialized Large-Scale Models with a Mixture of Experts Architecture by Tian Qin, Guang Cheng, Yuyang Zhou, Zihan Chen, Xing Luan (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-13808.txt.

Introduction

Tian Qin, Guang Cheng, Yuyang Zhou, Zihan Chen, and Xing Luan present SNAKE, a network traffic analysis system built to keep learning as the internet changes. Their 2025 paper addresses classification of network traffic for security and management. Older classifiers struggle with multi-attribute analysis and cannot absorb new knowledge without retraining, while traffic patterns shift constantly.

SNAKE uses a mixture-of-experts design: specialized sub-models each read traffic attributes at a different level, a gating network weights their votes, and a final tower network issues predictions per attribute. Smart gating lets new experts be integrated extremely fast when new knowledge arrives. Experiments showed strong scalability under incremental challenges, where tasks arrive one after another. The system is framed as a growing platform, not a fixed model.

Catalog record

CREATORTian Qin, Guang Cheng, Yuyang Zhou, Zihan Chen, Xing Luan
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE76 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-13808

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

SNAKE: A Sustainable and Multi-functional Traffic Analysis System utilizing Specialized Large-Scale Models with a Mixture of Experts Architecture Tian Qin, Guang Cheng, Yuyang Zhou, Zihan Chen, Xing Luan Abstract The rapid advancement of internet technology has led to a surge in data transmission, making network traffic classification crucial for security and management. However, there are significant deficiencies in its efficiency for handling multi-attribute analysis and its ability to expand model knowledge, making it difficult to adapt to the ever-changing network environment and complex identification requirements. To address this issue, we proposed the SNAKE (Sustainable Network Analysis with Knowledge Exploration) system, which adopts a multi-gated mixture of experts architecture to construct a multi-functional traffic classification model. The system analyzes traffic attributes at different levels through multiple expert sub-models, providing predictions for these attributes via gating and a final Tower network. Additionally, through an intelligent gating configuration, the system enables extremely fast model integration and evolution across various knowledge expansion scenarios. Its excellent compatibility allows it to continuously evolve into a multi-functional large-scale model in the field of traffic analysis. Our experimental results demonstrate that the SNAKE system exhibits remarkable scalability when faced with incremental challenges in diverse traffic classification tasks. Currently, we have integrated multiple models into the system, enabling it to classify a wide range of attributes, such as encapsulation usage, application types and numerous malicious behaviors. We believe that SNAKE can pioneeringly create a sustainable and multi-functional large-scale model in the field of network traffic analysis after continuous expansion. 1 Introduction With the advent of technologies such as 5G and the Internet of Things, the Internet has undergone rapid and significant expansion. Alongside this growth, new online services, applications, and even cyber threats are continually emerging. According to a recent report by the International Telecommunication Union (ITU), global Internet users reached 4.1 billion in 2019, marking an increase of over 53\% since 2005 and 5.3\% compared to 2018 [ 44 ] . Ensuring the security and quality of service for Internet users has become a critical concern for major Internet Service Providers (ISPs) and tech companies. Network traffic classification technology is crucial for categorizing Internet traffic based on various criteria, including application type, service, protocol, and potential malicious intent. This technology helps operators deliver customized services, detect cybercriminals, and optimize network resource utilization [ 1 ] . In the early stages, network traffic was easily identifiable through features like port numbers and identifiers, with the transmitted content being openly accessible and unencrypted. The techniques for classifying network traffic primarily relied on port-based methods [ 25 ] alongside DPI(Deep Packet Inspection) which may use certain machine learning algorithms that analyzed the plain-text content within payload [ 49 ] . However, with the increasing emphasis on protecting user privacy, encryption protocols, particularly TLS/SSL suites, were developed to secure the data transmitted across networks. This resulted in the widespread use of the HTTPS protocol, an enhanced version of HTTP, which became the preferred choice for network traffic transmission [ 9 ] . Furthermore, the QUIC protocol, which combines UDP with HTTPS and is especially advantageous for streaming media, has been increasingly adopted. The surge in the variety of applications and services, coupled with the use of port mapping techniques to circumvent firewalls, has rendered the traditional port-based methods for network traffic classification somewhat obsolete. Traffic encryption and dynamic port assignment highlight the growing complexity of managing network traffic, rendering both port-based and payload-based methods ineffective. Figure 1 : Challenges in Existing Network Traffic Analysis Systems This diagram illustrates two key deficiencies in current network traffic analysis systems that lead to low timeliness. On the right, the need for diverse classified intelligence requires repetitive processing of traffic samples through multiple models, resulting in inefficiency. On the left, newly emerging sample sets struggle to be quickly integrated or incrementally updated in trained models, further degrading model timeliness. The underlying traffic data remains interactive and utilizes network media, adhering to specific network protocols. While encryption obscures a significant amount of information, different network services still necessitate formats for segmenting transmitted data, and both parties involved follow established interaction rules. Additionally, various applications develop their own data transmission modules, resulting in differences in the segmentation of traffic data at the application layer (so called application data units [ 10 ] ). These characteristics enable traffic classification without the need for decryption. With the ongoing advancements in deep learning, numerous artificial neural network architectures have been developed, many of which (such as GRU, LSTM, and Transformer) are well-suited for processing sequential data. Various features of traffic data can often be represented as discrete sequences, including the lengths of traffic packets [ 32 ] , the lengths of PDUs/ADUs, and the timing of packet arrivals [ 50 ] , among others. Numerous studies utilizing these models have achieved impressive results in the realm of traffic classification. However, the complexity of traffic classification tasks is heightened by the demand of various subsequent network management functions. For example, in the context of ISP-customized billing [ 6 ] and APM for optimizing the QoS of specific applications [ 26 ] , using website fingerprinting technology for Tor detecting [ 54 ] . In systems such as IDS and IPS [ 18 ] , which are designed to prevent and mitigate malicious attacks, traffic classification must prioritize the detection of harmful behaviors. Additionally, to facilitate content censorship, traffic classification may need to identify flows related to the Tor [ 41 ] , VPN [ 20 ] , and specific DNS queries [ 4 ] . Moreover, for particular network scenarios, it may be necessary to develop customized classification models tailored to IoT devices [ 27 ] , smart mobile devices [ 2 ] , and Wi-Fi networks [ 19 ] . Currently, effective classification models are generally designed for specific tasks and do not offer a unified approach for simultaneously classifying different attribute categories of network traffic. Figure 1 illustrates two major challenges faced by the current traffic analysis system. Firstly, the network environment is rapidly evolving. Emerging internet services, private protocols, application versions, and corresponding new types of network devices, as well as new families of malware targeting different vulnerabilities, are constantly emerging. This places our traffic analysis technology in a continuously changing and expanding knowledge base, and the models we use must always face the challenge of "concept drift." As shown on the left side of the figure, researchers continuously collect data to train models in various new scenarios. However, these models have different objectives, and their processing logic and feature extraction schemes vary significantly. It is challenging to deeply integrate them with existing models; at most, we can list them in a model pool, which leads to another dilemma. Secondly, network traffic classification technology is often deployed at large-scale network ingress, where traffic is "copied" and transmitted to designated servers for analysis via Network Packet Brokers (NPB) [ 42 ] . This imposes very high requirements on the identification rate of traffic analysis. However, as shown on the right side of the figure, the different services supported by the analysis system have very different focuses on traffic attributes. For example, an Intrusion Detection System (IDS) must swiftly detect attack

Read the complete text