Beyond Byte-Level Modeling: Structure-Aware and Adaptive Traffic Classification for Encrypted Networks
The widespread adoption of encryption protocols such as TLS 1.3 has significantly reduced the visibility of packet payloads, limiting the effectiveness of traditional traffic analysis methods. Recent deep learning approaches attempt to learn representations directly from raw byte sequences; however, in encrypted environments, byte-level patterns often exhibit high entropy and unstable ordering, raising concerns about their reliability. In this work, we revisit the roles of content and structural information in traffic classification and argue that effective modeling should move beyond content-only representations. We propose a structure-aware framework that models hierarchical relationships across fields, layers, and sessions while representing byte information using compact, permutation-invariant summaries. In addition, we introduce a hierarchical shuffle pretraining strategy to capture relational dependencies and an adaptive inter-level gating mechanism to dynamically integrate multi-level representations. Extensive experiments on multiple datasets with varying levels of encryption demonstrate that byte-level sequential patterns are not always essential, while structural information provides consistent complementary cues. Furthermore, the importance of different structural levels varies across datasets, highlighting the need for adaptive multi-level modeling. The proposed method achieves strong performance across diverse datasets, including highly encrypted traffic, while maintaining robustness under domain shifts and limited data scenarios. These results suggest that combining compact content representations with structural context and adaptive integration is a promising direction for encrypted traffic analysis.
Authors
- Myung‐Sup Kim (ORCID: https://orcid.org/0000-0002-3809-2057)
- Guangtao Yu (ORCID: https://orcid.org/0000-0001-6015-5862)
- Ju‐Sung Kim (ORCID: https://orcid.org/0000-0002-7227-3345)
- Ji-Min Kim (ORCID: https://orcid.org/0000-0001-7101-3691)
- Yoon-Seong Jang
- Seung-Woo Nam
- Yang-Seo Choi
Institutions
- Electronics and Telecommunications Research Institute (KR)
- Korea University (KR)
- Sejong University (KR)
Publication Details
- Journal
- Electronics
- Published
- 2026-04-25
- DOI
- https://doi.org/10.3390/electronics15091828
- Primary Topic
- Internet Traffic Analysis and Secure E-voting
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Ministry of Science and ICT, South Korea
- Institute for Information and Communications Technology Promotion