← Lab /Security & privacy

Ensemble DNN classifies attacks with 99.84% accuracy and RAG generates better mitigation reports

The authors claim their two-stage framework achieves near-perfect detection and produces mitigation guidance that outperforms standard LLM outputs

Security & privacy arXiv 18 May 2026 Method Prototype evidence

Published as “From Detection to Response: A Deep Learning and Retrieval-Augmented Generation Framework for Network Intrusion Mitigation”

Why it matters

Security analysts can receive ready-to-act mitigation reports directly from the IDS, reducing investigation time and reliance on manual knowledge-base lookups.

Summary

The paper shows that adding a Retrieval-Augmented Generation (RAG) layer to a high-accuracy deep-learning IDS yields mitigation reports that are substantially more accurate than those from a vanilla LLM, with ROUGE-1 improving by 32.5% and BLEU by 244.1%. They train an ensemble of three binary DNNs that achieve 99.84% accuracy on CICIDS2018 and 95.30% on UNSW-NB15, then retrieve relevant NIST and MITRE guidance to ground the generated reports. Evaluation on 36 reports shows statistically significant gains (p < 0.001) across BERTScore, ROUGE, and BLEU. The evidence is strong but limited to two public benchmark datasets and a knowledge base of 5,234 chunks.

What they found 2

  1. The IDS ensemble achieves near-perfect detection accuracy on two benchmark datasets.

    “achieving 99.84% accuracy on the CICIDS2018 [4] dataset and 95.30% on the UNSW-NB15 [5] dataset.”

  2. The hybrid retrieval pipeline attains high relevance, with 91% of the top-5 retrieved chunks being relevant.

    “Precision@5 0.91”

Caveats 3

  • The accuracy drops to 95.30% on UNSW-NB15, lower than the 99.84% on CICIDS2018.
  • DoS recall, even after extensive balancing, reaches 97.6% rather than 100%, indicating residual detection gaps.
  • A false-positive rate of 0.06% is reported, which, while low, still represents mis-classifications.

What’s new here 4

  • Integrates a hybrid BM25 + FAISS + cross-encoder retrieval pipeline with IDS outputs to produce citation-grounded mitigation reports.
  • Uses explanation-aware prompts that combine top-5 anomalous features with attack class and flow metadata.
  • Provides a confidence-calibrated tiered output to guide SOC triage decisions.
  • Demonstrates end-to-end quantitative improvement of LLM-generated mitigation guidance over a vanilla baseline.