mlsanityData to 14 Oct 2026

ReGAIN: Retrieval-Grounded AI Framework for Network Traffic Analysis

arXiv 2512.22223 ↗First posted 23 Dec 2025cs.LG cs.AI cs.CRcited by 0

Not on the map. Why?

Abstract (arXiv)

Modern networks generate vast, heterogeneous traffic that must be continuously analyzed for security and performance. Traditional network traffic analysis systems, whether rule-based or machine learning-driven, often suffer from high false positives and lack interpretability, limiting analyst trust. In this paper, we present ReGAIN, a multi-stage framework that combines traffic summarization, retrieval-augmented generation (RAG), and Large Language Model (LLM) reasoning for transparent and accurate network traffic analysis. ReGAIN creates natural-language summaries from network traffic, embeds them into a multi-collection vector database, and utilizes a hierarchical retrieval pipeline to ground LLM responses with evidence citations. The pipeline features metadata-based filtering, MMR sampling, a two-stage cross-encoder reranking mechanism, and an abstention mechanism to reduce hallucinations and ensure grounded reasoning. Evaluated on ICMP ping flood and TCP SYN flood traces from the real-world traffic dataset, it demonstrates robust performance, achieving accuracy between 95.95% and 98.82% across different attack types and evaluation benchmarks. These results are validated against two complementary sources: dataset ground truth and human expert assessments. ReGAIN also outperforms rule-based, classical ML, and deep learning baselines while providing unique explainability through trustworthy, verifiable responses.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 7 of its 15 references that are in the map. First posted on arXiv 23 Dec 2025.

Builds on

7 of 15 references.

References · 7

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2024NetLLM: Adapting Large Language Models for Networkingcited by 78
  3. 2024A Survey on Large Language Models for Communication, Network, and Service Management: Application Insights, Challenges, and Future Directionscited by 25
  4. 2025TrafficLLM: Enhancing Large Language Models for Network Traffic Analysis with Generic Traffic Representationcited by 15
  5. 2024Towards Explainable Network Intrusion Detection using Large Language Modelscited by 14
  6. 2025Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucinationcited by 10
  7. 2025eX-NIDS: A Framework for Explainable Network Intrusion Detection Leveraging Large Language Modelscited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025MalRAG: A Retrieval-Augmented LLM Framework for Open-set Malicious Traffic Identification
  2. 2026Lightweight GenAI for Network Traffic Generation: Fidelity, Augmentation, and Classification
  3. 2026From Detection to Response: A Deep Learning and Retrieval-Augmented Generation Framework for Network Intrusion Mitigation
  4. 2026Multimodal Reasoning with LLM for Encrypted Traffic Interpretation: A Benchmark
  5. 2026Defending Retrieval-Augmented Intrusion Detection Against Knowledge Poisoning and Prompt Injection
  6. 2026PCAP-LM: An LLM-Native Text Representation for TLS Bulk Traffic Analysis
  7. 2025An LLM-Powered AI Agent Framework for Holistic IoT Traffic Interpretation
  8. 2026RuleAutoPilot: Synthesizing Deployable Suricata Rules from Network Traffic ↗