arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.06290cs.LGcs.AI
收藏

拆分协议决定结果:重新评估加密流量分类

The Split Protocol Decides the Result: Re-Evaluating Encrypted Traffic Classification

Vellore Institute of Technology(维洛尔理工学院)

Mayan Sharma, Kriti Saini, Devansh Behl

AI总结:

该研究发现加密流量分类的性能高度依赖评估拆分协议,服务器不相交拆分会显著降低宏F1,提出单标识符诊断法,并验证了少样本注册可恢复跨语料库的零样本迁移缺陷。

摘要:

加密流量分类器通常被报道准确率达95%-99%。我们发现,在两个公开语料库中的一个上,同一模型和代码在文献标准评估协议下的宏F1得分为0.992,而在将同一数据包捕获中的流保留在拆分一侧的协议下,宏F1得分为0.567。除了划分方式外,其他条件均未改变(8个随机种子的差距为0.426,经Holm-Bonferroni校正后p=0.008)。这种性能膨胀并非随机拆分本身的特性。在一个月的骨干网QUIC流量上,我们对5种拆分协议各评估8个随机种子:随机、时间和客户端不相交拆分与会话不相交拆分在统计上无显著差异,而服务器不相交拆分会使宏F1降低0.192(d=17.0,p=0.008)。哪个拆分轴重要取决于语料库的收集方式,这是从其标签空间中无法看出的。我们提供了一种诊断方法,可在训练任何模型前识别正确的拆分轴:单标识符探测。仅基于捕获标识符的决策树在随机拆分下达到0.983,而在会话不相交拆分下恰好为0.000。在该评估下,基于度量的流嵌入在4个深度基线中表现领先,但在20种数据包大小上未击败梯度提升树。我们自己的5项预注册架构主张失败:基于距离的未知应用拒绝优于softmax阈值化,但去除所有度量目标会使拒绝效果更好,因为类间分离与拒绝质量的相关系数r=-0.88。少样本注册在单个语料库内表现平稳,但跨语料库时,每类5个标记流可恢复零样本迁移失败所留下的91%缺陷。所有拆分、结果、代码和负面发现均已公开。

英文摘要:

Encrypted traffic classifiers are routinely reported at 95-99% accuracy. We show that on one of two public corpora, the same model and code score macro-F1 0.992 under the evaluation protocol standard in the literature and 0.567 under a protocol that keeps flows from one packet capture on one side of the split. Nothing changes but the partition (gap 0.426 over eight seeds, p = 0.008 after Holm-Bonferroni correction). The inflation is not a property of random splitting as such. On a month of backbone QUIC traffic, we evaluate five split protocols at eight seeds each: random, temporal and client-disjoint splitting are statistically indistinguishable from session-disjoint, while server-disjoint splitting costs 0.192 macro-F1 (d = 17.0, p = 0.008). Which axis matters depends on how the corpus was collected, in a way invisible from its label space. We give a diagnostic that identifies the right axis before any model is trained: single-identifier probes. A decision tree on the capture identifier alone reaches 0.983 under a random split and exactly 0.000 under session-disjoint splitting. Under this evaluation, a metric-trained flow embedding leads four deep baselines but does not beat gradient-boosted trees on twenty packet sizes. Five of our own pre-registered architectural claims fail: distance-based rejection of unknown applications beats softmax thresholding, but ablating every metric objective makes rejection better, because class separation correlates at r = -0.88 with rejection quality. Few-shot enrollment is flat within a corpus but, across corpora, five labelled flows per class recover 91% of the deficit left by failed zero-shot transfer. All splits, results, code and negative findings are released.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑