MA-IDS: Multi-Agent RAG Framework for IoT Network Intrusion Detection with an Experience Library
Md Shamimul Islam, Luis G. Jaimes, Ayesha S. Dina

TL;DR
MA-IDS introduces a multi-agent, retrieval-augmented framework using LLMs and an experience library to improve IoT network intrusion detection with explainability and continual learning.
Contribution
It presents a novel multi-agent system combining LLMs and retrieval mechanisms for self-improving, explainable intrusion detection in resource-constrained IoT environments.
Findings
Achieves high macro F1-scores of 89.75% and 85.22% on benchmark datasets.
Significantly outperforms zero-shot baselines by over 70 percentage points.
Provides rule-level explanations for detection decisions.
Abstract
Network Intrusion Detection Systems (NIDS) face important limitations. Signature-based methods are effective for known attack patterns, but they struggle to detect zero-day attacks and often miss modified variants of previously known attacks, while many machine learning approaches offer limited interpretability. These challenges become even more severe in IoT environments because of resource constraints and heterogeneous protocols. To address these issues, we propose MA-IDS, a Multi-Agent Intrusion Detection System that combines Large Language Models (LLMs) with Retrieval Augmented Generation (RAG) for reasoning-driven intrusion detection. The proposed framework grounds LLM reasoning through a persistent, self-building Experience Library. Two specialized agents collaborate through a FAISS-based vector database: a Traffic Classification Agent that retrieves past error rules before each…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
