Flow-generation tool choice changes MQTT traffic clustering results
The choice of flow-generation tool alters the flow population, feature-space structure, and clustering performance for MQTT traffic
Systems arXiv 21 Oct 2026 Measurement Prototype evidence
Published as “Do Flow-Generation Tools Matter? Unsupervised Characterization of MQTT Traffic Across Public Datasets”
Why it matters
Practitioners must consider the choice of flow-generation tool when designing MQTT flow-based monitoring or detection pipelines, as tool selection can materially affect feature distributions and clustering results.
Summary
The study finds that the choice of flow-generation tool substantially influences MQTT flow representations and clustering outcomes, with Zeek-flowmeter often achieving the highest Silhouette and ARI scores when combined with K-means and PCA-10, but no tool dominates across all datasets, algorithms, and metrics. The authors processed four public MQTT datasets into over 380 K flows using Zeek-flowmeter, Argus, and NTLFlowLyzer, then evaluated K-means, DBSCAN, and HDBSCAN with and without PCA-based dimensionality reduction. Evidence is based on unsupervised clustering metrics (Silhouette, Adjusted Rand Index) across multiple tool-algorithm-dataset combinations, showing consistent tool-dependent variability. The paper also reports throughput measurements, confirming that flow volume drives computational cost.
What they found 3
- Zeek-flowmeter yields the strongest overall clustering performance, especially with K-means and PCA-10 dimensionality reduction.
“Zeek-flowmeter provides the strongest overall performance in several experimental settings, particularly when combined with K-means and PCA-based dimensionality reduction (10 dimensions).”
- The number and structure of generated flows differ markedly between tools, indicating that flow extraction is not a neutral preprocessing step.
“the number and structure of the generated flows varied substantially from one tool to another, confirms that flow extraction is not a neutral preprocessing step but rather relies on the internal rules and mechanisms of each flow-generation tool.”
- Artemis dataset consistently yields the lowest Silhouette and ARI scores among all datasets.
“Artemis has the lowest scores for Silhouette and ARI among the other datasets.”
Caveats 2
- No single flow-generation tool consistently dominates across all datasets, algorithms, and evaluation metrics.
- Argus outperforms Zeek for ARI on the Artemis dataset when using HDBSCAN with original features.
What’s new here 4
- Applies unsupervised clustering (instead of supervised detection) to assess MQTT flow representations.
- Systematically evaluates the impact of three open-source flow-generation tools on MQTT traffic characterization across four public datasets.
- Combines clustering quality metrics (Silhouette, ARI) with dimensionality reduction (PCA) to analyze tool-induced feature space changes.
- Provides detailed efficiency and scalability analysis (throughput, correlation with flow count) for each tool-algorithm pairing.