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

Zhaochen Guo, Honghao Wang, Tianyufei Zhou, Ronghua Li, Shinan Liu
2/9/2026
cs.NIcs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{guo2026pacc,
  title  = {PACC: Protocol-Aware Cross-Layer Compression for Compact Network Traffic Representation},
  author = {Zhaochen Guo and Honghao Wang and Tianyufei Zhou and Ronghua Li and Shinan Liu},
  year   = {2026},
  eprint = {2602.08331},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.08331v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.08331.svg)](https://codeofpaper.com/paper/2602.08331)

Discussion