arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.01183cs.CR
收藏

对比评估 VAE、GAN 和 SMOTE 在加密网络流量中检测 Tor 的性能

Comparative Evaluation of VAE, GAN, and SMOTE for Tor Detection in Encrypted Network Traffic

Vellore Institute of Technology(维洛尔理工大学)

Saravanan A, Aswani Kumar Cherukuri

AI总结:

本文对比了 VAE、GAN 和 SMOTE 在加密网络流量检测中的性能,发现 VAE 在隐私与性能之间取得最佳平衡,GAN 保真度高但易过拟合,SMOTE 提高召回率但多样性不足。

摘要:

加密网络流量对入侵检测构成了重大挑战,由于缺乏有效载荷可见性、标注数据集有限以及良性与恶意活动之间的高类别不平衡。传统数据增强方法难以保持真实网络流量的复杂时间和统计特性。为了解决这些问题,本文探索了使用生成人工智能(GAI)模型合成真实且多样的加密流量轨迹。我们评估了三种方法:变分自编码器(VAE)、生成对抗网络(GAN)和 SMOTE(合成少数类过采样技术),每种方法都结合了预处理流程,包括特征选择和类别平衡。UNSW NB-15 数据集被用作主要基准,重点是 Tor 交通作为异常。我们分析了真实数据和合成数据之间的统计相似性,并使用准确性、F1 分数和 AUC-ROC 等指标评估分类器性能。结果表明,VAE 生成的数据在隐私和性能之间提供了最佳平衡,而 GAN 提供了更高的保真度但有过度拟合的风险。SMOTE 虽然简单,但增强了召回率但可能缺乏多样性。研究结果表明,当使用隐私保护的合成数据训练时,GAI 方法可以显著提高加密流量检测的性能。

英文摘要:

Encrypted network traffic poses significant challenges for intrusion detection due to the lack of payload visibility, limited labeled datasets, and high class imbalance between benign and malicious activities. Traditional data augmentation methods struggle to preserve the complex temporal and statistical characteristics of real network traffic. To address these issues, this work explores the use of Generative AI (GAI) models to synthesize realistic and diverse encrypted traffic traces. We evaluate three approaches: Variational Autoencoders (VAE), Generative Adversarial Networks (GAN), and SMOTE (Synthetic Minority Over-sampling Technique), each integrated with a preprocessing pipeline that includes feature selection and class balancing. The UNSW NB-15 dataset is used as the primary benchmark, focusing on Tor traffic as anomalies. We analyze statistical similarity between real and synthetic data, and assess classifier performance using metrics such as Accuracy, F1-score, and AUC-ROC. Results show that VAE-generated data provides the best balance between privacy and performance, while GANs offer higher fidelity but risk overfitting. SMOTE, though simple, enhances recall but may lack diversity. The findings demonstrate that GAI methods can significantly improve encrypted traffic detection when trained with privacy-preserving synthetic data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑