TY - JOUR
T1 - SCALA-NIDS
T2 - Safety-constrained LLM-Advised closed-loop adaptation for online open-world network intrusion detection
AU - Qin, Xiaojie
AU - Yuan, Qingjun
AU - Fan, Haopeng
AU - Tao, Jing
AU - Wang, Pinghui
AU - Teng, Jihong
AU - Lu, Siqi
AU - Wang, Yongjuan
N1 - Publisher Copyright:
© 2026 Elsevier Ltd. All rights are reserved, including those for text and data mining, AI training, and similar technologies.
PY - 2027/1/1
Y1 - 2027/1/1
N2 - 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.
AB - 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.
KW - Concept drift
KW - Large language model
KW - Network intrusion detection
KW - Online adaptation
KW - Open-world learning
KW - Safety-constrained AI
UR - https://www.scopus.com/pages/publications/105044514508
U2 - 10.1016/j.eswa.2026.133614
DO - 10.1016/j.eswa.2026.133614
M3 - 文章
AN - SCOPUS:105044514508
SN - 0957-4174
VL - 332
JO - Expert Systems with Applications
JF - Expert Systems with Applications
M1 - 133614
ER -