arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.08331cs.NIcs.LG

PACC:面向协议的跨层压缩用于紧凑网络流量表示

PACC: Protocol-Aware Cross-Layer Compression for Compact Network Traffic Representation

University of Electronic Science and Technology of China(电子科技大学);University of Hong Kong(香港大学);Renmin University of China(中国人民大学);Hong Kong Polytechnic University(香港理工大学)

Zhaochen Guo, Honghao Wang, Tianyufei Zhou, Ronghua Li, Shinan Liu

AI总结:

PACC通过跨层压缩和冗余消除,提升网络流量表示的效率与准确性,实现更高效的分类和检测性能。

摘要:

网络流量分类是网络安全和管理的核心基础,但日益受到广泛加密和演变协议的挑战。一个关键瓶颈是表示:手工设计的流量统计是高效的,但通常过于损失性,原始位编码可以准确但成本高,而近期预训练嵌入提供转移但经常扁平化协议栈并使各层信号纠缠。我们观察到真实流量在不同网络层之间和每个层内部都有显著的冗余;现有范式没有显式识别和去除这种冗余,导致容量浪费、捷径学习和泛化能力下降。为此,我们提出了PACC,一种冗余感知、层感知的表示框架。PACC将协议栈视为多视图输入,并学习紧凑的层间投影,这些投影在保持各层忠实的同时,显式地将表示分解为共享(跨层)和私有(层特定)组件。我们通过联合目标来实现这些目标:通过重建保留层特定信息,通过对比互信息学习捕捉共享结构,并通过监督损失最大化任务相关信息,从而获得适合高效推理的紧凑潜在表示。在涵盖加密应用分类、物联网设备识别和入侵检测的数据集上,PACC始终优于特征工程和原始位基线。在加密子集上,它在nPrint上的准确率提高了高达12.9%。PACC在匹配或超越强大基础模型基线的同时,还提高了端到端效率高达3.16倍。

英文摘要:

Network traffic classification underpins network security and management but faces growing challenges from pervasive encryption and evolving protocols. Existing representations involve clear trade-offs: hand-crafted flow statistics are efficient but lossy, raw-bit encodings can be accurate but costly, and pre-trained embeddings support transfer but often flatten the protocol stack and entangle cross-layer signals. We observe substantial redundancy both across and within network layers, which existing paradigms do not explicitly address, wasting capacity and encouraging shortcut learning that degrades generalization. To address this, we propose PACC, a redundancy-aware cross-layer representation framework. PACC models protocol layers as multiview inputs and learns faithful, compact projections factorized into shared (cross-layer) and private (layer-specific) components. It incorporates an information-preserving sparse segment representation to reduce structural repetition and supervised intra-layer filtering to suppress task-irrelevant semantic redundancy. A behavior-guided shared/private decomposition aligns cross-layer consensus while retaining layer-specific information, supported by information-theoretic analysis. Across encrypted application classification, IoT device identification, benign/malicious traffic classification, and Tor traffic detection, PACC achieves the best overall performance. On encrypted traffic, it achieves an F1 score of 0.9685, substantially outperforming existing baselines while using approximately 15x fewer computes and less GPU memory than the latest pre-trained traffic model.

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

↑