mlsanityData to 14 Oct 2026

Extensible Machine Learning for Encrypted Network Traffic Application Labeling via Uncertainty Quantification

arXiv 2205.05628 ↗First posted 11 May 2022cs.CR cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

With the increasing prevalence of encrypted network traffic, cyber security analysts have been turning to machine learning (ML) techniques to elucidate the traffic on their networks. However, ML models can become stale as new traffic emerges that is outside of the distribution of the training set. In order to reliably adapt in this dynamic environment, ML models must additionally provide contextualized uncertainty quantification to their predictions, which has received little attention in the cyber security domain. Uncertainty quantification is necessary both to signal when the model is uncertain about which class to choose in its label assignment and when the traffic is not likely to belong to any pre-trained classes. We present a new, public dataset of network traffic that includes labeled, Virtual Private Network (VPN)-encrypted network traffic generated by 10 applications and corresponding to 5 application categories. We also present an ML framework that is designed to rapidly train with modest data requirements and provide both calibrated, predictive probabilities as well as an interpretable "out-of-distribution" (OOD) score to flag novel traffic samples. We describe calibrating OOD scores using p-values of the relative Mahalanobis distance. We demonstrate that our framework achieves an F1 score of 0.98 on our dataset and that it can extend to an enterprise network by testing the model: (1) on data from similar applications, (2) on dissimilar application traffic from an existing category, and (3) on application traffic from a new category. The model correctly flags uncertain traffic and, upon retraining, accurately incorporates the new data.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 18 of its 89 references that are in the map. First posted on arXiv 11 May 2022.

Builds on

18 of 89 references.

References · 18

  1. 2017On Calibration of Modern Neural Networkscited by 4,960
  2. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  3. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  4. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  5. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  6. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  7. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  8. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  9. 2018Predictive Uncertainty Estimation via Prior Networkscited by 557
  10. 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
  11. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
  12. 2017Deep Packet: A Novel Approach For Encrypted Traffic Classification Using Deep Learningcited by 70
6 more
  1. 2020Feature Space Singularity for Out-of-Distribution Detectioncited by 49
  2. 2017Automated Website Fingerprinting through Deep Learningcited by 21
  3. 2018How to Achieve High Classification Accuracy with Just a Few Labels: A Semi-supervised Approach Using Sampled Packetscited by 19
  4. 2018Var-CNN: A Data-Efficient Website Fingerprinting Attack Based on Deep Learningcited by 15
  5. 2019Tik-Tok: The Utility of Packet Timing in Website Fingerprinting Attackscited by 15
  6. 2021Domain Name Encryption Is Not Enough: Privacy Leakage via IP-based Website Fingerprintingcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 1; 2025: 2; 2026: 2.

9 papers.