[Paper Review] NetML: A Challenge for Network Traffic Analytics
This paper introduces NetML, a comprehensive open benchmark for network traffic analytics comprising three curated datasets totaling ~1.3 million labeled network flows for malware detection and application classification. It provides metadata features, raw anonymized packets, and baseline results using Random Forest, SVM, and MLP, with the goal of enabling reproducible, AI-driven research in network flow analytics through a hosted challenge platform.
Classifying network traffic is the basis for important network applications. Prior research in this area has faced challenges on the availability of representative datasets, and many of the results cannot be readily reproduced. Such a problem is exacerbated by emerging data-driven machine learning based approaches. To address this issue, we provide three open datasets containing almost 1.3M labeled flows in total, with flow features and anonymized raw packets, for the research community. We focus on broad aspects in network traffic analysis, including both malware detection and application classification. We release the datasets in the form of an open challenge called NetML and implement several machine learning methods including random-forest, SVM and MLP. As we continue to grow NetML, we expect the datasets to serve as a common platform for AI driven, reproducible research on network flow analytics.
Motivation & Objective
- To address the lack of standardized, open, and reproducible datasets for network traffic analytics (NTA) research.
- To provide a common benchmark platform for evaluating and comparing machine learning models in NTA, particularly for malware detection and application classification.
- To curate and release three open datasets—NetML, CICIDS2017, and non-vpn2016—containing labeled network flows with metadata and anonymized raw packets.
- To host a public challenge and leaderboard to encourage community participation and systematic evaluation of new methods.
- To establish a foundation for future AI-driven, reproducible research in network flow analytics through shared data and standardized evaluation.
Proposed method
- Curated three open datasets from publicly available sources: NetML (from Stratosphere IPS), CICIDS2017, and non-vpn2016 (from ISCX-VPN-nonVPN2016).
- Extracted standardized metadata flow features such as packet count, byte count, duration, and inter-arrival times for all datasets.
- Prepared data with multiple annotation levels: binary (malware/benign), multi-class (20 malware types), and fine-grained application classification (up to 31 classes).
- Implemented baseline models using Random Forest, SVM, and Multi-layer Perceptron (MLP) on all datasets for both binary and multi-class classification tasks.
- Hosted an evaluation server and leaderboard on GitHub to enable community participation in the NetML Challenge 2020.
- Provided detailed feature analysis and baseline performance metrics (F1, mAP, TPR, FAR) to serve as reference points for future research.
Experimental results
Research questions
- RQ1Can a standardized, open, and reproducible benchmark improve the evaluation and comparison of machine learning models in network traffic analytics?
- RQ2How do common machine learning models (Random Forest, SVM, MLP) perform on diverse network traffic classification tasks, including malware detection and application classification?
- RQ3What impact do class imbalance and annotation granularity have on model performance in network flow classification?
- RQ4To what extent do metadata-only features enable effective classification, and how do they compare to richer features like TLS, DNS, or HTTP?
- RQ5Can a community-driven challenge platform with a public leaderboard accelerate progress in network traffic analytics research?
Key findings
- Random Forest achieved the best performance across all datasets, with a True Positive Rate (TPR) of 0.9922 and False Acceptance Rate (FAR) of 0.0051 on the NetML malware detection task.
- For the CICIDS2017 dataset, the MLP model achieved a TPR of 0.9865 and FAR of 0.0067 in binary malware detection, showing strong generalization.
- The DDoS class was perfectly detected (100% accuracy) by the Random Forest model on the NetML dataset, with only one misclassified sample in the ssh-patator class.
- Performance on the non-vpn2016 dataset was significantly lower, with the best F1 score of 0.6273 and mAP of 0.3257 using Random Forest for top-level classification.
- Class imbalance caused strong prediction bias, with the audio class dominating predictions across all levels of annotation in the non-vpn2016 dataset.
- Fine-grained classification performance was the weakest, with an F1 score of 0.2486 and mAP of 0.2127, indicating significant room for improvement in detailed traffic classification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.