← Lab /AI/ML

Explainable intrusion detection pipeline reaches 0.954 F1-macro on forensic evidence

Their MODEXRE pipeline reliably classifies heterogeneous intrusion data with explainability and chain-of-custody guarantees

AI/ML arXiv 4 Nov 2026 Method Prototype evidence

Published as “Network Intrusion Forensic Detection System with Explainable Artificial Intelligence and Digital Chain of Custody”

Why it matters

The work shows that a forensic intrusion-detection system can be made legally admissible by guaranteeing model identity, evidence normalization, and explainability, but also that hidden certification bugs can render benchmark metrics meaningless unless validated on real case data.

Summary

The paper discovers a hidden binary-only certification bug that caused a model to label 100% of a real packet capture as malicious, which was corrected to classify about 87% of events as Normal and raise the 18-category F1-macro to 0.6214. It also shows that causal temporal flow aggregation boosts Kitsune multiclass F1-macro from 0.394 to 0.932. The evidence is based on public benchmark datasets (CICIDS2017, UNSW-NB15, Kitsune) and a real-world packet capture, with quantitative results reported for both four-class (F1-macro 0.9538) and 18-category models, and specialized port-scan detectors achieving up to 0.9997 F1-macro. The findings are supported by measured chain-of-custody integrity, model-hash verification, and SHAP explainability, though the paper notes several practical limitations.

What they found 6

  1. Causal temporal aggregation raised Kitsune multiclass F1-macro from 0.394 to 0.932

    “causal temporal aggregation raised Kitsune multiclass F1macro from 0.394 to 0.932”

  2. A hidden binary-only certification bug caused 100% of events in a real capture to be classified as malicious

    “100% of events (111 of 111) were classified as malicious (84 BruteForce, 27 PortScan)”

  3. After fixing the bug, about 87% of events were correctly classified as Normal

    “the large majority of events (about 87%) were classified as Normal”

  4. Default four-class certified model achieves F1-macro = 0.9538 on CICIDS2017-derived evidence

    “The default four-class certified model (v1) achieves F1-macro = 0.9538 on CICIDS2017-derived evidence”

  5. Recertified 18-category model reaches F1-macro = 0.6214

    “the recertified 18-category model (v3) reaches F1-macro = 0.6214”

  6. Specialized binary port-scan detectors reach F1-macro up to 0.9997

    “specialized port-scan detectors reaching F1-macro up to 0.9997”

Caveats 6

  • The 18-category model’s F1-macro (0.6214) is far lower than the four-class model’s 0.9538, showing reduced performance on the full taxonomy.
  • The binary-only certification defect caused a model with apparently excellent benchmark metrics (F1-macro 0.9932) to misclassify all real traffic as malicious, revealing that benchmark results can be misleading.
  • The certified model has not yet been validated on the full-scale real dataset from the companion project; results rely on stratified samples.
  • Evidence-source coverage is limited: the CEF parser implements only the standard’s common core and the PCAP flow aggregation is a limited-scope implementation.
  • The chain of custody implements only hash-chaining without digital signatures, providing detection of alteration but not non-repudiable attribution.
  • Empirical validation focuses on port scanning and reconnaissance; other attack categories have not been analyzed in depth.

What’s new here 4

  • Dual-mode architecture that freezes and hash-checks certified models for forensic use.
  • OCSF-based normalization that bridges feature-coverage gaps across heterogeneous evidence sources.
  • Causal temporal flow aggregation that dramatically improves multiclass detection performance.
  • Empirical discovery and correction of a binary-only certification defect using real packet capture data.