Journal of Computer Applications ›› 2025, Vol. 45 ›› Issue (12): 3888-3895.DOI: 10.11772/j.issn.1001-9081.2024111702

• Cyber security • Previous Articles     Next Articles

Encrypted traffic classification method based on federated prototypical incremental learning

Ruilong CHEN1, Peng YI1,2, Tao HU1, Youjun BU1,2   

  1. 1.Information Technology Research Institute,Information Engineering University,Zhengzhou Henan 450000,China
    2.Key Laboratory of Cyberspace Security,Ministry of Education (Information Engineering University),Zhengzhou Henan 450000,China
  • Received:2024-12-04 Revised:2025-02-19 Accepted:2025-02-25 Online:2025-03-04 Published:2025-12-10
  • Contact: Tao HU
  • About author:CHEN Ruilong, born in 2000, M. S. candidate. His research interests include network intrusion detection, deep learning.
    YI Peng, born in 1977, Ph. D., research fellow. His research interests include cyberspace security, network architecture, signal processing.
    HU Tao, born in 1993, Ph. D., assistant research fellow. His research interests include new network architecture, network active defense.
    BU Youjun, born in 1978, Ph. D., associate research fellow. His research interests include new network security, mimic defense.
  • Supported by:
    National Natural Science Foundation of China(62176264)

基于联邦类原型增量学习的加密流量分类方法

陈瑞龙1, 伊鹏1,2, 胡涛1, 卜佑军1,2   

  1. 1.信息工程大学 信息技术研究所,郑州 450000
    2.网络空间安全教育部重点实验室(信息工程大学),郑州 450000
  • 通讯作者: 胡涛
  • 作者简介:陈瑞龙(2000—),男,河南鹤壁人,硕士研究生,主要研究方向:网络入侵检测、深度学习
    伊鹏(1977—),男,湖北黄冈人,研究员,博士,主要研究方向:网络空间安全、网络体系结构、信号处理
    胡涛(1993—),男,陕西武功人,助理研究员,博士,主要研究方向:新型网络体系结构、网络主动防御
    卜佑军(1978—),男,河南焦作人,副研究员,博士,主要研究方向:网络安全、拟态防御。
  • 基金资助:
    国家自然科学基金资助项目(62176264)

Abstract:

Deep learning has been widely applied to encrypt traffic classification, but it still faces challenges such as user data privacy protection and sustainable learning capability. To address these issues, a Federated Prototypical Incremental learning method for Encrypted Traffic Classification (FPI-ETC) was proposed. During the local model training phase on the client, the Softmax classifier of the local model was replaced with a prototypical classifier to mitigate the prediction bias caused by the Softmax classifier. In the new task phase, the old class prototype vectors were utilized by the clients to generate multiple examples of the old class, thereby preventing the local model from forgetting previously learned knowledge; the class prototype vectors uploaded by the clients were weighted and aggregated by the server to achieve iterative update of the class prototypes. Experimental results indicate that when the number of tasks is 5 and the client sampling rate is 0.6, the final global accuracy of FPI-ETC on the ISCX VPN-nonVPN dataset is enhanced by 9.93 to 33.45 percentage points compared to those of the existing methods, and the final global accuracy of FPI-ETC on the USTC-TFC2016 dataset is enhanced by 5.06 to 10.92 percentage points compared to those of the existing methods, verifying that FPI-ETC can address the catastrophic forgetting problem in dynamically updated encrypted network environments effectively.

Key words: encrypted traffic, network traffic classification, Federated Learning (FL), Incremental Learning (IL), deep learning

摘要:

深度学习目前已经广泛应用于加密流量分类,然而它仍面临诸多挑战,例如用户数据隐私保护和持续学习能力等。针对上述问题,提出一种基于联邦类原型增量的加密流量分类方法(FPI-ETC)。在客户端本地模型训练阶段,将本地模型的Softmax分类器替换为原型分类器,以解决Softmax分类器造成的预测偏见问题。在新任务阶段,客户端利用旧类原型向量生成多个旧类范例,以避免本地模型遗忘过去的知识;服务器端加权聚合客户端上传的类原型向量,以实现类原型的迭代更新。实验结果表明,在客户端任务量为5且采样率为0.6时,FPI-ETC在ISCX VPN-nonVPN数据集上的最终全局精度相较于现有方法提升了9.93~33.45个百分点,在USTC-TFC2016数据集上的最终全局精度相较于现有方法提升了5.06~10.92个百分点,验证了FPI-ETC在动态更新的加密网络环境中能有效解决灾难性遗忘问题。

关键词: 加密流量, 网络流量分类, 联邦学习, 增量学习, 深度学习

CLC Number: