TY - JOUR
T1 - Generating Neural Networks for Diverse Networking Classification Tasks via Hardware-Aware Neural Architecture Search
AU - Xie, Guorui
AU - Li, Qing
AU - Shi, Zhenning
AU - Fang, Hanbin
AU - Ji, Shengpeng
AU - Jiang, Yong
AU - Yuan, Zhenhui
AU - Ma, Lianbo
AU - Xu, Mingwei
PY - 2024/2/1
Y1 - 2024/2/1
N2 - Neural networks (NNs) are widely used in classification-based networking analysis to help traffic transmission and system security. However, there are heterogeneous network devices (e.g., switches and routers) in a network. Manually customizing NNs with specific device requirements (e.g., max allowed running latency) can be time-consuming and labor-intensive. Furthermore, the diverse data characteristics of different networking classification tasks add to the burden of NN customization. This paper introduces Loong, a neural architecture search (NAS) based system that automatically generates NNs for various networking tasks and devices. Loong includes a neural operation embedding module, which embeds candidate neural operations into the layer to be designed. Then, the layer-wise training is used to generate a task-specific NN layer by layer. This layer-wise scheme simultaneously trains and selects candidate neural operations using gradient feedback. Finally, only the important operations are selected to form the layer, maximizing accuracy. By incorporating multiple objectives, including deployment memory and running latency of devices, into the training and selection of NNs, Loong is able to customize NNs for heterogeneous network devices. Experiments show that Loong's NNs outperform 13 manual-designed and NAS-based NNs, with a 4.11% improvement in F1-score. Additionally, Loong's NNs achieve faster (7.92X) speeds on commodity devices.
AB - Neural networks (NNs) are widely used in classification-based networking analysis to help traffic transmission and system security. However, there are heterogeneous network devices (e.g., switches and routers) in a network. Manually customizing NNs with specific device requirements (e.g., max allowed running latency) can be time-consuming and labor-intensive. Furthermore, the diverse data characteristics of different networking classification tasks add to the burden of NN customization. This paper introduces Loong, a neural architecture search (NAS) based system that automatically generates NNs for various networking tasks and devices. Loong includes a neural operation embedding module, which embeds candidate neural operations into the layer to be designed. Then, the layer-wise training is used to generate a task-specific NN layer by layer. This layer-wise scheme simultaneously trains and selects candidate neural operations using gradient feedback. Finally, only the important operations are selected to form the layer, maximizing accuracy. By incorporating multiple objectives, including deployment memory and running latency of devices, into the training and selection of NNs, Loong is able to customize NNs for heterogeneous network devices. Experiments show that Loong's NNs outperform 13 manual-designed and NAS-based NNs, with a 4.11% improvement in F1-score. Additionally, Loong's NNs achieve faster (7.92X) speeds on commodity devices.
KW - attack detection
KW - automated design
KW - Neural network
KW - traffic classification
UR - http://www.scopus.com/inward/record.url?scp=85178002744&partnerID=8YFLogxK
U2 - 10.1109/TC.2023.3333253
DO - 10.1109/TC.2023.3333253
M3 - Article
AN - SCOPUS:85178002744
SN - 0018-9340
VL - 73
SP - 481
EP - 494
JO - IEEE Transactions on Computers
JF - IEEE Transactions on Computers
IS - 2
ER -