Abstract
Network Intrusion Detection Systems (NIDS) in real-world environments face continuously evolving traffic streams caused by network reconfiguration, service migration, emerging attacks, and mixed distribution drift. Conventional closed-set and i.i.d.-based detectors often degrade under such online open-world conditions, while existing online adaptation methods usually lack coordinated drift perception, strategy decision-making, model updating, and safety validation. This paper proposes Safety-Constrained LLM-Advised Adaptation for Network Intrusion Detection Systems (SCALA-NIDS), a closed-loop framework for online open-world NIDS. SCALA-NIDS follows a “Detection–Response–Validation” cycle by integrating runtime drift monitoring, constrained LLM-guided strategy reasoning, deterministic adaptation execution, and safety-gated validation. Given a structured Stats Snapshot, the LLM advisor selects high-level adaptation intents, which are mapped to predefined update configurations to ensure controllability and safety. SCALA-NIDS further introduces a strategy-driven multi-level teacher–student adaptation controller that coordinates sample selection, objective weighting, and model updating with source-data retention, target-sample selection, domain alignment, and consistency regularization. A Safety & Fallback Gate rejects or revokes risky updates. Experiments on UNSW-NB15 and NSL-KDD under temporally ordered online evaluation show that SCALA-NIDS achieves the highest accuracy (95.93%) and F1-score (94.42%) on UNSW-NB15, the highest F1-score (91.93%) on NSL-KDD, and the best average accuracy (93.18%) and F1-score (93.18%) across both datasets. Ablation and LLM-backend studies further confirm the effectiveness and practicality of the proposed framework.
| Original language | English |
|---|---|
| Article number | 133614 |
| Journal | Expert Systems with Applications |
| Volume | 332 |
| DOIs | |
| State | Published - 1 Jan 2027 |
Keywords
- Concept drift
- Large language model
- Network intrusion detection
- Online adaptation
- Open-world learning
- Safety-constrained AI
Fingerprint
Dive into the research topics of 'SCALA-NIDS: Safety-constrained LLM-Advised closed-loop adaptation for online open-world network intrusion detection'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver