English

Nethira: A Heterogeneity-aware Hierarchical Pre-trained Model for Network Traffic Classification

Networking and Internet Architecture 2026-02-02 v1

Abstract

Network traffic classification is vital for network security and management. The pre-training technology has shown promise by learning general traffic representations from raw byte sequences, thereby reducing reliance on labeled data. However, existing pre-trained models struggle with the gap between traffic heterogeneity (i.e., hierarchical traffic structures) and input homogeneity (i.e., flattened byte sequences). To address this gap, we propose Nethira, a heterogeneity-aware pre-trained model based on hierarchical reconstruction and augmentation. In pre-training, Nethira introduces hierarchical reconstruction at multiple levels-byte, protocol, and packet-capturing comprehensive traffic structural information. During fine-tuning, Nethira proposes a consistency-regularized strategy with hierarchical traffic augmentation to reduce label dependence. Experiments on four public datasets demonstrate that Nethira outperforms seven existing pre-trained models, achieving an average F1-score improvement of 9.11%, and reaching comparable performance with only 1% labeled data on high-heterogeneity network tasks.

Keywords

Cite

@article{arxiv.2601.22494,
  title  = {Nethira: A Heterogeneity-aware Hierarchical Pre-trained Model for Network Traffic Classification},
  author = {Chungang Lin and Weiyao Zhang and Haitong Luo and Xuying Meng and Yujun Zhang},
  journal= {arXiv preprint arXiv:2601.22494},
  year   = {2026}
}

Comments

Accepted for publication at International Conference on Acoustics, Speech, and Signal Processing (ICASSP) 2026

R2 v1 2026-07-01T09:27:00.876Z