TRANSMISSION // 2603.10051v3
A structured way to classify encrypted network traffic
Source published
ProtoTab organizes permitted packet-header fields and timing in a structured table. It beat matched byte-based models across four benchmarks, with its largest margins on two modern-encryption datasets; transfer beyond the tests remains uncertain.

Encryption hides message contents, but a passive observer may still see permitted protocol fields, packet order and direction, and timing. A new preprint tests whether organizing those observations by field and time can help classify network traffic.
Encryption can hide what a network message says without concealing every trace of how it travels. A passive observer may still see some protocol-header fields, packet order and direction, and capture timing. The question behind ProtoTab, a method proposed by Sizhe Huang, Zitong Li and Shujie Yang, is whether a classifier can use these clues better when they are organized according to their protocol meaning and temporal order.
A table instead of a byte stream
ProtoTab represents a network flow as a table: packets are rows, protocol fields are columns, and time is a separate dimension. The authors argue that converting observations into bytes can obscure which protocol field a value came from and how packets are arranged over time.
The researchers define a restricted observer view. They exclude payload bytes, IP addresses, temporary ports, and fields they classify as random, session-specific, or dependent on the operating environment. Stable service ports remain. The same retained observations are supplied to ProtoTab and its comparison models; the proposed method is not intended to benefit from extra input information.
ProtoTab uses a separate mapping for each field, so the same numerical value can be treated differently depending on what it represents. Its attention mechanism models relationships across fields within a packet and across packets over time. In the main experiments, it uses the first 20 packets of each flow, padding shorter flows and truncating longer ones. For pretraining, the model predicts masked values among fields admitted by a fixed schema. That schema governs both model inputs and prediction targets, keeping excluded fields out of both.
The evaluation covers CipherSpectrum and TLS-120, which contain modern encrypted web traffic, and ISCX-VPN and USTC-TFC. Audits of the latter datasets’ source material describe them as dominated by unencrypted sessions; that does not mean every evaluated flow is unencrypted. The authors compare ProtoTab with four byte-form models, including versions pretrained on the same unlabeled traffic corpus, and with other header-based controls. Their evaluation keeps packets from a given flow in the same data fold.
Where the model did better
On CipherSpectrum, ProtoTab achieved 89.3% Macro-F1; on TLS-120, it achieved 83.8%. Macro-F1 averages performance across classes, giving each class equal weight. In the comparison with byte-form models given matched observer inputs and the same raw unlabeled pretraining corpus, ProtoTab’s scores were 26.74 and 19.03 percentage points higher on those two benchmarks, respectively.
Those are the largest reported margins, not a description of all four datasets. The gaps over the strongest matched byte models were narrower on ISCX-VPN and USTC-TFC: 8.75 and 1.49 points. The authors also report that the byte models’ results varied considerably across architectures, even with inputs and training data held to the matched setup.
A no-pretraining version of ProtoTab still exceeded the strongest matched byte model by 19.14 points on CipherSpectrum and 14.33 on TLS-120. This indicates that much of the advantage in these comparisons remained without masked-field pretraining.
The paper also reports frozen-encoder ablations on CipherSpectrum and TLS-120. Removing flow-internal inter-packet intervals reduced Macro-F1 by 26.2 and 20.8 points, respectively. Replacing separate field mappings with a shared mapping reduced it by 7.8 and 14.8 points. These tests show that the changes were associated with lower scores in this specific setup; they do not establish that timing or field-specific mappings will help in every context.
What the results do not settle
The results are limited to the tested fields, captures, models, and early-flow window. The authors did not test transfer across networks, time periods, regions, or providers. Tasks that rely on delayed behavior may require observing more packets, which would increase computational cost. Changes in protocols or packet parsers would also require a renewed audit of which fields are appropriate to include.
These benchmark findings do not establish deployment readiness or performance on unfamiliar traffic. Although the paper compares several byte-form models, it does not demonstrate superiority over every published classifier. The authors’ claims are bounded by their datasets and evaluation design.
ProtoTab’s contribution is a way of organizing permitted observations: keep protocol-field identities and packet timing explicit rather than flattening them into bytes. The results suggest that this approach can improve classification under the tested conditions, especially on the two modern-encryption benchmarks. Whether it generalizes more broadly remains an open question. The work is an arXiv preprint, so its findings should be regarded as provisional rather than as settled conclusions from peer-reviewed publication.
- encrypted traffic
- network security
- machine learning
- traffic classification
- protocol headers
- ProtoTab
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
When model mistakes become early-warning signals
Source published
Shared keywords: machine learning, network security
Can a ‘world model’ help AI follow cyberattacks over time?
Source published
Shared keywords: network security
Teaching a jamming detector to act without hindsight
Source published
Shared keywords: network security
A second look at debiased machine learning
Source published
Shared keywords: machine learning
Machine Learning May Distort Confidence in Portfolio Sharpe Ratios
Source published
Shared keywords: machine learning