UniAlign: A Model-Agnostic Framework for Robust Network Traffic Classification under Distribution Shifts
Tongze Wang, Xiaohui Xie, Wenduo Wang, Chuyi Wang, Yong Cui

TL;DR
UniAlign is a versatile framework that enhances the robustness of network traffic classification models against distribution shifts by combining domain alignment fine-tuning and stable model ensembling, without significant training overhead.
Contribution
It introduces a model-agnostic approach that improves robustness of deep learning NTC models under distribution shifts, applicable to various feature modalities and network conditions.
Findings
Improves average classification accuracy by 2.51%
Enhances average F1 score by 2.71%
Requires only 12.4%–53.9% of training time compared to baselines
Abstract
Network traffic classification (NTC) models often suffer severe performance degradation when deployed in real-world environments due to distribution shifts caused by changing network conditions. Existing robustness-enhancing approaches are commonly coupled to specific model architectures or data settings, fail to generalize to state-of-the-art raw-byte-based NTC models, or incur significant training overhead. In this paper, we propose UniAlign, a novel model-agnostic framework that improves the robustness of deep learning-based NTC models under distribution shifts. UniAlign combines \emph{domain alignment fine-tuning}, which encourages the learning of domain-invariant traffic representations across heterogeneous network conditions, with \emph{stable model ensembling}, which enhances inference robustness by aggregating checkpoints within a flat loss region. The framework can be…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
