Extensible Machine Learning for Encrypted Network Traffic Application Labeling via Uncertainty Quantification
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
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
- 2018Predictive Uncertainty Estimation via Prior Networkscited by 557
- 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
- 2017Deep Packet: A Novel Approach For Encrypted Traffic Classification Using Deep Learningcited by 70
6 more
- 2020Feature Space Singularity for Out-of-Distribution Detectioncited by 49
- 2017Automated Website Fingerprinting through Deep Learningcited by 21
- 2018How to Achieve High Classification Accuracy with Just a Few Labels: A Semi-supervised Approach Using Sampled Packetscited by 19
- 2018Var-CNN: A Data-Efficient Website Fingerprinting Attack Based on Deep Learningcited by 15
- 2019Tik-Tok: The Utility of Packet Timing in Website Fingerprinting Attackscited by 15
- 2021Domain Name Encryption Is Not Enough: Privacy Leakage via IP-based Website Fingerprintingcited by 3
Built on by
Citing papers per year: 2023: 4; 2024: 1; 2025: 2; 2026: 2.
9 papers.
- 2023NetTiSA: Extended IP Flow with Time-series Features for Universal Bandwidth-constrained High-speed Network Traffic Classificationcited by 4
- 2023Network Traffic Classification based on Single Flow Time Series Analysiscited by 3
- 2025FastFlow: Early Yet Robust Network Flow Classification using the Minimal Number of Time-Series Packetscited by 3
- 2023ScatterUQ: Interactive Uncertainty Visualizations for Multiclass Deep Learning Problemscited by 2
- 2023Probabilistic Safety Regions Via Finite Families of Scalable Classifierscited by 2
- 2024Enhancing Encrypted Internet Traffic Classification Through Advanced Data Augmentation Techniquescited by 0
- 2025TAO-Net: Two-stage Adaptive OOD Classification Network for Fine-grained Encrypted Traffic Classificationcited by 0
- 2026Robust and Explainable Divide-and-Conquer Learning for Intrusion Detectioncited by 0
- 2026Maintaining IoT Device Identification under Concept Drift via Budget-Aware Traffic Labelingcited by 0
- 2026Maintaining IoT Device Identification under Concept Drift via Budget-Aware Traffic Labeling16 Aug 2026
- 2026Robust and Explainable Divide-and-Conquer Learning for Intrusion Detection3 May 2026
- 2025TAO-Net: Two-stage Adaptive OOD Classification Network for Fine-grained Encrypted Traffic Classification11 Dec 2025
- 2025FastFlow: Early Yet Robust Network Flow Classification using the Minimal Number of Time-Series Packets2 Apr 2025
- 2024Enhancing Encrypted Internet Traffic Classification Through Advanced Data Augmentation Techniques23 Jul 2024
- 2023NetTiSA: Extended IP Flow with Time-series Features for Universal Bandwidth-constrained High-speed Network Traffic Classification9 Oct 2023
- 2023Probabilistic Safety Regions Via Finite Families of Scalable Classifiers8 Sep 2023
- 2023ScatterUQ: Interactive Uncertainty Visualizations for Multiclass Deep Learning Problems8 Aug 2023
- 2023Network Traffic Classification based on Single Flow Time Series Analysis25 Jul 2023