Skip to content

Unknown-Traffic Detection, Calibration and Shortcut Reliance in Distilled Encrypted-Traffic Classifiers over One Year

Sep 2026 · 0 citations · 49 references
Computer Science

TL;DR

This work distil one 101k-parameter student from two teachers of equal accuracy but different construction, a five-member ensemble and a single wider model, so that following one rather than the other is attributable to it.

Abstract

Knowledge distillation is the standard way to compress encrypted-traffic classifiers for the edge, and almost all such work judges students by accuracy alone. We ask what else a student inherits: unknown-traffic detection, calibration, shortcut reliance, and whether any survives a year of drift. Resemblance proves little on its own, since soft targets also regularise. We therefore distil one 101k-parameter student from two teachers of equal accuracy but different construction, a five-member ensemble and a single wider model, so that following one rather than the other is attributable to it. The design was pre-registered before any test result was seen. We tested ten hypotheses on CESNET-TLS-Year22, a year of real TLS traffic, across 18 test windows over 35 weeks. Two are supported: a student's per-flow unknown-scores shift toward its own teacher, but only at a conventional temperature, not the accuracy-optimal one; and a shortcut-reliant teacher passes its over-confidence to a student that never sees the feature. The drift prediction is reversed under both scores, the gap narrowing rather than widening and the student overtaking under the energy score in two of three replicates, as is the prediction that such a teacher harms its student's detection, which improves slightly. Shortcut reliance is set by model size, not distillation. Under the logit-based scores nothing else transfers: distillation beats neither a temperature-scaled direct student nor label smoothing. Exploratory analysis shows this turns on the scoring rule: with a feature-space detector the teacher detects unknown traffic 0.073 AUROC better than the direct student, where the energy score sees 0.000, and the conventional-temperature student inherits most of it. Label smoothing, with no teacher, recovers more. Distillation transfers the teacher's habits; what looks like an inherited ability is available without one.

View source

Similar papers

Preprint Aug 2026

The Colossus with Feet of Clay: Debunking Encrypted Traffic Classifiers under PQC Evolution

Encrypted traffic classifiers often achieve high accuracy under matched training and testing conditions, implicitly assuming that deployment traffic follows the training distribution. TLS migration toward post-quantum cryptography (PQC) challenges this assumption because hybrid key establishment can reshape observable...

Bingzhen Li, Lingjia Meng, Runhan Song et al. · 1 citation

: Making

This work presents ShortcutCatcher, an automated, model-agnostic framework that detects and mitigates shortcuts with the help of explainable AI, and exposes dataset limitations where collection artefacts act as silent shortcuts that have gone so far unnoticed.

Politecnico Yuqi Zhao, I. di Torino, Politecnico Di et al. · 0 citations
Open access 2026

When Calibrated Detectors Meet New Attacks: Per-Category Reliability of Machine-Learning Intrusion Detection Under Distribution Shift

A decision-curve analysis and expected-cost comparison show that an uncalibrated score used at its nominal cost threshold is very costly, and that both recalibration and a target-tuned threshold reduce operating cost, with recalibration additionally improving the multiclass probabilities.

Khalid Alalawi · 0 citations
2026

Two Heads Are Better Than One: Models-to-Model Learning for Encrypted Traffic Analysis

Encrypted traffic analysis (ETA) plays a critical role in detecting malicious activities. Although machine learning-based ETA has shown significant promise, existing methods heavily depend on large-scale, manually labeled data. Meanwhile, the research community has released numerous publicly available encrypted traffic...

Jia Liu, Bin Lu, Qingjun Yuan et al. · 0 citations
#small language model Open access Oct 2026

Hybrid Transformer Architecture for Context-Aware Spam Email Classification

Spam and phishing email remain a persistent cybersecurity threat and a primary delivery vector for credential theft, malware, and ransomware. Detection accuracies above 99% are routinely reported. Such figures are typically obtained on small, single-source, monolingual corpora in which near-duplicate campaign templates...

Geldi Xhafaj, Umair B. Chaudhry, Hamid Jahankhani · 0 citations
#artificial intelligence Preprint Sep 2026

Multi-View Fusion for Encrypted C2 Detection: A Leakage-Controlled Measurement Study of Evaluation Pitfalls

This work reports three findings that matter more than the fusion result itself, and concludes that for encrypted C2 detection, the evaluation design is not a preliminary step and fusion beats the best single view by only 0.022 in F1.

H. Nguyen-Huu, V. Phan, Khuong Nguyen-An · 0 citations

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.