DeepWeave boosts low-data NIDS detection to 0.924 macro-F1 and cuts false positives to 0.008
DeepWeave improves detection performance and reduces false positives compared to a neural baseline under low-label conditions
AI/ML arXiv 30 Oct 2026 Method Prototype evidence
Published as “DeepWeave: Weaving Neural and Symbolic Evidence for ML-Based Network Intrusion Detection System”
Why it matters
The approach enables label-efficient, explainable intrusion detection that can be deployed with modest data collection effort, though practical adoption must address inference latency and rule maintenance.
Summary
DEEPWEAVE achieves macro-F1 0.924 and reduces the attack false-positive rate to 0.008 using only 50 labeled packet observations per attack class, outperforming a matched neural baseline. The paper reports these gains across multiple public NIDS benchmarks (CIC-IDS2017, CIC-IDS2018) and compares against neural-only, symbolic-only, and other ML baselines. Evidence is strong in terms of detection metrics and explanation quality, but the system is slower than optimized ML classifiers and its robustness degrades under adversarial traffic, achieving only 0.748 macro-F1 post-attack. The paper’s own discussion notes limitations around rule portability, analyst utility, and computational cost.
What they found 3
- With only 50 labelled packet observations per attack class, macro-F1 improves from 0.632 to 0.924 and attack false-positive rate drops from 0.075 to 0.008 versus the neural baseline
“With only 50 labelled packet observations per attack class, it improves macro-F1 from 0.632 to 0.924 and reduces the attack false-positive rate from 0.075 to 0.008 over the matched neural baseline.”
- The Guarded coupling architecture retains 84.7% of macro-F1 performance after adversarial perturbations (0.748 post-attack)
“Guarded achieves a post-attack macro-F1 performance of 0.748, thus achieving a 84.7% performance retention.”
- Symbolic-only detection is most robust under adversarial attacks, with ASR 23.1% and only 5.2% drop in F1 (0.803 to 0.761)
“Its ASR is 23.1%, while its F1 performance decreases from 0.803 to 0.761, corresponding to 94.8% performance retention.”
Caveats 5
- Inference is slower than optimized ML classifiers: DEEPWEAVE requires 157.47 seconds (278.45 μs per flow) versus 13.21 seconds (23.35 μs per flow) for the HGB baseline
- Robustness does not match symbolic-only: Guarded’s post-attack macro-F1 (0.748) is well below the clean-data macro-F1 (0.924) reported in the low-data experiment
- rules may capture environment-specific or collection-specific correlations and therefore require provenance tracking, recalibration, and periodic validation under deployment shift
- Faithful proofs do not guarantee analyst utility; no user study was performed to measure analyst decision impact
- DeepWeave is slower than optimized ML classifiers because inference includes grounding, predicate evaluation, symbolic solving, and answer decoding
What’s new here 4
- Automatic data-driven construction and validation of symbolic rules without manual signatures
- Probabilistic coupling policies that explicitly reconcile neural and symbolic evidence
- Intrinsic proof-based explanations derived from the neuro-symbolic reasoning layer
- Evaluation of low-data label efficiency and robustness across packet, flow, and hybrid views