The Split Protocol Decides the Result: Re-Evaluating Encrypted Traffic Classification
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 12 pages, 4 figures, 6 tables Code and data splits: https://github.com/Mayan10/Flowconx
Related papers
Flexible Intensities Matter: A Comprehensive Re-evaluation of Hawkes Processes and Neural Temporal Point Processes
Shared title terminologycs.LGHendrik Mehrtens, Florian Buettner, Oliver Stegle
Decentralized Clustered Federated Learning for Cellular Traffic Forecasting over LEO Constellations
Shared title terminologycs.LGJonas Kirch, Tiago Koketsu Rodrigues, Yuichi Kawamoto
Correlation-Aware Evidential Fusion for Trusted Multi-View Classification
Shared title terminologycs.LGTianyang Wang, Mengchi Zuo, Cai Xu et al.
CovNovBench: A Benchmark for Evaluating Time Series Foundation Models under Covariate Novelty
Shared title terminologycs.LGWenhao Pan, Ravi Kiran Selvam, Michael W. Mahoney et al.
Evaluation and Restoration of Safety in Reasoning-Tuned LLMs
Shared title terminologycs.LGEhsan Latif, Roberto Dailey, Risto Miikkulainen et al.
Yet Another Concept Drift Benchmark? A Principled Framework for Evaluating Drift Detectors
Shared title terminologycs.LGLorenzo Iovine, Giacomo Ziffer, Emanuele Della Valle