Curv-Tail: Lightweight Long-Tailed Encrypted Traffic Classification with Discrete Packet-Length Encoding and Lorentz Prototypes
Yankun Wang, Jun-Jie Huang, Lin Liu, Xiaodong Lei, Yi Chen, Yeqing Yan, Lin Liu, Jiangyong Shi, Yongjun Wang
Abstract
Long-tailed encrypted traffic classification requires accurate recognition of infrequent classes under limited computational budgets. We propose Curv-Tail, a lightweight, end-to-end packet--byte framework trained without a separate pretraining stage. Mixed-resolution tokenization preserves exact packet-length identities within a bounded range and coarsens larger values to limit the vocabulary. An auxiliary objective predicts observed length tokens from contextual packet features before pooling, encouraging length-token retention beyond flow-level supervision. Compact temporal encoders process packet sequences and directional byte patches, and Lorentz prototypes with a shared learnable curvature magnitude classify their fused representation. On NUDT-Mobile and DataCon-Website under natural class frequencies, Curv-Tail achieves three-seed mean Tail-F1 scores of 85.70% and 46.30%, exceeding the strongest evaluated baselines by 2.91 and 1.89 percentage points, respectively. In 300-class profiling on an RTX 4090 with FP32 and batch size 256, Curv-Tail uses 98.48% fewer parameters and achieves 10.2 times the batch inference throughput of MM4Flow.
Create a lesson
Metadata
- Categories
- eess.SP, cs.CR
Related papers
Minimized Data Traffic for Ultra-Precise Distributed Wireless Synchronization
Shared title terminologyeess.SPSebastian Klob, Thomas Maul, Jörg Robert
Feature-Based Knowledge Distillation for Lightweight Vibration Sensing and Bearing Anomaly Detection
Shared title terminologyeess.SPPo-Heng Chou, Wei-Lung Mao, Cheng-Hsu Tsai et al.
Prototype and Real-Time Over-The-Air Evaluation of Millimeter Wave Integrated Sensing and Communication Transceiver at Edge
Shared title terminologyeess.SPJai Mangal, Antriksh Choudhary, Ahilan R et al.
PhyCal: Physics-Informed Unlabeled Conformal Calibration for Automatic Modulation Classification Under Channel Shift
Shared title terminologyeess.SPYezhuo Zhang, Zinan Zhou, Ruixiang Zhang et al.
A Cubic Cramér-Rao Path-Length Law for Scalar-Map Localisation
Shared title terminologyeess.SPJoseph O'Leary, Bill Moran, Wenchao Li et al.
FedSwitch: Federated Region Classification From Wireless Channel Measurements
Shared title terminologyeess.SPMattia Piana, Stefano Rini, Stefano Tomasin