NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Is Our Ground-Truth for Traffic Classification Reliable?

Valentín Carela-Español, Tomasz Bujlow, Pere Barlet-RosPam 2014

TL;DR

This paper tackles the critical issue of unreliable ground-truth data used to evaluate network traffic classification techniques. By creating a novel, publicly available dataset with full packet payloads and rigorously comparing six popular Deep Packet Inspection (DPI) tools, the authors reveal significant discrepancies in their reliability, highlighting PACE as the most accurate commercial tool and NDPI/Libprotoident as strong open-source contenders.

What Problem Does This Paper Address?

Accurately classifying network traffic is fundamental for a wide range of network management tasks, from security monitoring to quality of service. However, the field of traffic classification is plagued by a validation crisis. Most research relies on ground-truth datasets that are either private or generated using methods with questionable reliability, such as port-based or DPI techniques themselves. This makes it incredibly difficult to compare different classification methods fairly or to trust the reported high accuracy figures. The authors aim to address this by providing a more reliable ground-truth and a systematic evaluation of commonly used DPI tools.

Methods

The core of this research involves two main components:

  • Dataset Creation: The authors developed a novel, artificially generated dataset containing over 500,000 flows with full packet payloads. This dataset was built using a modified Volunteer-Based System (VBS) running on virtual machines (Windows 7, XP, and Ubuntu). VBS is crucial because it can associate network flows with the specific process that generated them, providing a highly reliable ground-truth. The dataset simulates realistic user behavior across various popular applications and services.
  • DPI Tool Evaluation: Six well-known DPI-based techniques commonly used for ground-truth generation were evaluated: PACE, OpenDPI, L7-filter, NDPI, Libprotoident, and NBAR. The authors developed a tool called dpi_benchmark to feed packet data to these classifiers and collect their output. For NBAR, a more complex setup involving Cisco router emulation was used.

Datasets

  • Newly Introduced Dataset: The paper introduces a publicly available dataset of over 500,000 flows with full packet payloads. This dataset was artificially generated to ensure reliability and allow for publication, simulating realistic user behavior across popular applications. The dataset contains approximately 32.61 GB of labeled data.
  • Existing Datasets (Implicit): The authors mention that previous works often use private datasets or datasets labeled by unknown methods. They also reference a dataset from Gringoli et al. [6] which was anonymized and lacked payload, making it unsuitable for DPI evaluation.

Key Insights and Ideas

  • Ground-Truth Reliability is Paramount: The study strongly emphasizes that the accuracy of traffic classification tools is heavily dependent on the quality of the ground-truth used for validation. Unreliable ground-truth can lead to misleading conclusions about classifier performance.
  • DPI Tools Vary Wildly in Reliability: Despite being commonly used, the evaluated DPI tools exhibit significant differences in their accuracy and reliability. Some tools that are frequently cited in literature perform poorly in this rigorous evaluation.
  • Open-Source vs. Commercial: While commercial tools like PACE show strong performance, some open-source alternatives like NDPI and Libprotoident also offer very high precision, suggesting that open-source solutions can be viable for reliable ground-truth generation.
  • Sub-classification Capabilities: The paper highlights that some advanced DPI tools (like NDPI) can go beyond basic classification and sub-classify traffic within broader categories (e.g., identifying specific services running over HTTP), offering finer-grained insights.

Key Results

  • PACE (commercial) was found to be the most reliable solution for ground-truth generation, achieving high precision across various applications.
  • Among open-source tools, NDPI and Libprotoident demonstrated very high precision, making them strong candidates for reliable classification.
  • Tools like L7-filter and NBAR showed significant inaccuracies and should not be used for ground-truth generation in their current form, often misclassifying traffic or failing to classify it altogether. For instance, NBAR completely missed NTP traffic, and L7-filter struggled with many applications, often misclassifying traffic as "finger" or "Skype."
  • The paper provides detailed performance metrics (precision, wrong classifications, unclassified) for each tool across various applications, including P2P (Edonkey, BitTorrent), traditional protocols (FTP, DNS, NTP), and newer applications (SSH, RDP, HTTP).

Limitations and Future Work

  • Dataset Limitations: The authors acknowledge that while they attempted to emulate realistic user behavior, the dataset is still artificial. It may not fully represent all application behaviors or configurations, and certain traffic patterns (e.g., P2P over port 80) might be underrepresented.
  • Limited Application Scope: The study evaluated 10 well-known applications. Future work will involve adding more applications, particularly Skype and Spotify, and focusing more on HTTP-based applications.
  • Tool Versions: The study used specific versions of the DPI tools, and newer versions might offer improved performance.
  • Future Work: The authors plan to extend the dataset with more applications and introduce new tools for evaluation, such as NBAR2. They also aim to continue contributing to the validation of network traffic classifiers.

Summary updated

BibTeX
@inproceedings{carelaespanol2014is,
  author = {Valentín Carela-Español and Tomasz Bujlow and Pere Barlet-Ros},
  title = {{Is Our Ground-Truth for Traffic Classification Reliable?}},
  booktitle = {Pam},
  year = {2014},
  doi = {10.1007/978-3-319-04918-2\_10},
}

Loading related content...

Figure