南京邮电大学学报(自然科学版)2026,Vol.46Issue(3):23-31,9.DOI:10.14132/j.cnki.1673-5439.2026.03.003
基于对比表示蒸馏的轻量化异常检测方法
A lightweight anomaly detection method based on contrastive representation distillation
摘要
Abstract
To address the challenge of real-time deployment for network traffic anomaly detection models in resource-constrained environments,this paper proposes a lightweight anomaly detection method based on contrastive representation distillation.First,the teacher model integrates local and global temporal convolutions for multi-scale temporal feature extraction,and incorporates residual connections and an at-tention mechanism to enhance feature propagation,mitigate gradient vanishing,and focus on critical in-formation.Simultaneously,a hybrid architecture combining convolutional neural networks(CNN)and long short-term memory networks serves as the classifier to further integrate spatiotemporal features and improve classification performance.Second,the student model employs a streamlined CNN backbone in-tegrated with gated recurrent units to enhance its spatiotemporal feature extraction capability.Finally,within the contrastive representation distillation framework,the discriminative knowledge of the teacher model regarding the differences between positive and negative samples is effectively transferred to the stu-dent model.Experimental results demonstrate that the proposed method significantly reduces the number of model parameters,accelerates the training of the student model,and enhances the detection perfor-mance by preserving the discriminative capability of the teacher model.关键词
网络流量/异常检测/对比表示蒸馏/多尺度时序特征提取Key words
network traffic/anomaly detection/contrastive representation distillation/multi-scale tem-poral feature extraction分类
信息技术与安全科学引用本文复制引用
许建,张睿,侯锦武,陈燕俐,杨庚..基于对比表示蒸馏的轻量化异常检测方法[J].南京邮电大学学报(自然科学版),2026,46(3):23-31,9.基金项目
国家自然科学基金(62372244)资助项目 (62372244)