cs.NIFeb 9, 2026

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

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

Organizations: University of Electronic Science and Technology of China Chengdu, Sichuan, China · Renmin University of China Beijing, China · University of Hong Kong Hong Kong, China · Hong Kong Polytechnic University Hong Kong, China

Abstract

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.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Pruned Traffic Trees: Native Semantic Compression with a Protocol-Structured Model Family for Encrypted Traffic Classification

    Aug 22, 2026Yuantu Luo, Jun Tao, Xiangyu Xu +2Encrypted Traffic ClassificationEncrypted Network Traffic Analysis

  2. Learning Compression Rules for Network Traffic

    Aug 5, 2026Quentin Lampin, Éloi Sainte-Beuve, Louis-Adrien Dufrène +2

  3. GETA: Generalized Encrypted Traffic Analysis

    May 29, 2026Ransika Gunasekara, Rahat Masood, Salil KanhereDomain AdaptationNetwork Intrusion Detection