arrow
返回

A balanced supervised contrastive learning-based method for encrypted network traffic classification

delete2024-10-01
delete0
PRE
AI
Y
Yuxiang Ma
Z
Zhaodi Li
H
Haoming Xue
J
Jike Chang *
DOI:10.1016/j.cose.2024.104023delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Encrypted network traffic classification plays an important role in enhancing network security and improving network performance. However, the imbalanced nature of traffic data makes the classification of encrypted network traffic challenging and may result in poor classification performance. Existing encrypted network traffic classification studies attempt to rebalance the data distribution through resampling strategies, which suffer from information loss, overfitting, and increased model complexity. Motivated by this, we propose an improved supervised contrastive learning approach to improve the classification performance of supervised contrastive learning classifiers for the traffic class imbalance problem in encrypted network traffic classification. Our method consists of two parts: data processing and traffic classification. In the data processing stage, we transform the raw network traffic data into grayscale images. In the traffic classification stage, we design optimized class-complement and class-averaging schemes in supervised contrastive learning. The construction of contrastive tasks is a critical link in contrastive learning. However, when constructing the set of positive and negative samples of network traffic, the samples generated by traditional methods do not conform to the salient features of network traffic. Traditional methods typically involve color modification, cropping, rotation, noise injection, and random erasure. When these traditional methods are applied to images generated from network traffic data, they may alter significant features of the network traffic data, such as changing the distribution of packet sizes. This is detrimental to maintaining the characteristics of traffic classes and does not aid the learning process. Therefore, we preprocess the traffic into images in a particular format suitable for contrastive learning, and then design a novel contrastive task construction method. The evaluation results on public datasets show that the proposed method can significantly improve the classification performance of encrypted traffic classification on imbalanced datasets.
Keyword:
Traffic classification
Application identification
Contrastive learning
Imbalanced traffic data

期刊

C
Computers and Security
IF:
5.4
论文数:
4.6K
被引数:
1.4W

机构

H
henan university
学者数:
2.3W
论文数: 1.3W
被引数: 20
引用论文

引用论文

Encrypted internet traffic classification using a supervised spiking neural network
err2022-09-01
err11
errOAAI
errRasteh, Ali; Delpech, Florian; Aguilar-Melchor, Carlos; Zimmer, Romain; Shouraki, Saeed Bagheri; Masquelier, Timothee
err分享
err收藏
err分享
err收藏
Observation of features in the soft X-ray background flux
err1974-11-01
err0
errOAAI
errF. O. Williamson; W. T. Sanders; W. L. Kraushaar; D. McCammon; R. Borken; A. N. Bunner
err分享
err收藏
Introduction
err2005-08-25
err0
PREAI
errMary Coleman; Catalina Betancur
err分享
err收藏
FLUORIDE AND TEA
err1969-10-01
err0
PREAI
errH.A Cook; H.E Watson
err分享
err收藏
err分享
err收藏
Mechanical behavior of silty sand reinforced with nanosilica-coated ceramic fibers
err2021-03-15
err0
PREAI
errMehdi Eshaghzadeh; Meysam Bayat; Rassoul Ajalloeian; Sayyed Mahdi Hejazi
err分享
err收藏
学者 查看更多内容