Entropy-only flow features match traditional IDS F1 scores but conceal detection failures
Entropy-only features achieve comparable weighted F1 to conventional features while exposing hidden low detection rates
AI/ML arXiv 29 Jun 2026 Method Prototype evidence
Published as “Multi-Level Distributional Entropy for Explainable Network Intrusion Detection”
Why it matters
MDE enables deployment-ready IDS pipelines that add explainable entropy signals without hurting overall accuracy, but operators must monitor detection rates and recalibrate thresholds under traffic shift.
Summary
Entropy features derived analytically from flow summaries (MDE) achieve weighted F1 scores between 0.708 and 0.989, matching conventional flow features without degrading performance. However, on the harder CICIDS-2018 benchmark the overall F1≈0.74 hides a detection rate of only 0.48, and under temporal shift the fixed-threshold detection rate collapses to 0.08-0.13 while AUC stays around 0.87, showing that score ranking is preserved but thresholds become unusable. SHAP analysis shows entropy features consistently rank among the top attributions (30-50% of the top-10) across heterogeneous datasets, providing explainability. The paper does not include a conclusion section, so the broader implications are not explicitly summarized.
What they found 3
- Entropy-only features achieve weighted F1 comparable to conventional features across all four benchmarks.
“entropy-only features achieve weighted F1 of 0.708-0.989, matching conventional features without degrading performance.”
- Under temporal shift, AUC remains high (≈0.73-0.87) but detection rate collapses to 0.08-0.13.
“DR collapses to 0.08-0.13 across all conditions, consistent with the batch evaluation, while AUC remains 0.73-0.87.”
- Entropy features constitute 30-50% of the top-10 SHAP attributions across all datasets despite being a minority of total features.
“The MDE fraction ranges 30-50% across all four environments, despite heterogeneous feature schemas and attack taxonomies.”
Caveats 4
- Entropy-only features yield lower weighted F1 than conventional features on every dataset (e.g., NSL-KDD entropy-only F1 0.978 vs. conventional 0.987).
- Detection rates on CICIDS-2018 never exceed 0.48 for any classifier, indicating limited practical utility despite acceptable F1.
- Fixed-threshold performance degrades dramatically under temporal shift, with DR dropping to near zero while AUC stays high, showing thresholds are not robust.
- Campaign-level correlation remains an important caveat. Stratified random CV allows flows from the same attack campaign to appear in both train and test folds, inflating performance relative to real deployment.
What’s new here 4
- Derives multiple entropy measures directly from pre-aggregated flow statistics, eliminating the need for raw packet traces.
- Applies the analytic entropy computation across heterogeneous flow schemas (NSL-KDD, CICIDS-2017/2018, UNSW-NB15) with a unified framework.
- Integrates SHAP explainability for entropy features, demonstrating stable and domain-coherent attributions.
- Introduces a leakage-free, fold-local evaluation protocol that reports a full suite of operational metrics (DR, FAR, MCC, AUC, PR-AUC) to expose hidden failure modes.