Skip to content
Conference

A Class-incremental and Few-shot learning model for Intrusion detection under Concept drift

Aug 2026 · International Conference on Multimedia Analysis and Pattern Recognition · pp. 532-537 · 0 citations · 20 references

Abstract

Network Intrusion Detection Systems (NIDS) based on machine learning must evolve after deployment to promptly detect emerging threats from only a few labeled samples, without catastrophically forgetting known attacks or degrading under concept drift. Existing methods address these issues in isolation, lacking a unified pipeline for tabular network traffic. This paper presents MAML-CIL-Drift, a unified framework integrating three components: (i) First-Order Model-Agnostic Meta-Learning (FOMAML) for rapid adaptation to unseen attacks using only a few samples; (ii) an outer-step Class-Incremental Learning (CIL) mechanism with a herding replay buffer, mitigating forgetting while preserving the meta-objective; and (iii) a label-free Maximum Mean Discrepancy (MMD) drift detector with in-stream percentile calibration to autonomously trigger updates. Evaluated on the CICIDS 2018 dataset under a strict temporal split, our framework achieves up to 0.948 accuracy on known classes and 0.696 on unseen classes from few-shot support. Following incremental updates, novel-class accuracy improves from 0.696 to 0.846 (+0.150) while base-class accuracy improves from 0.881 to 0.908 rather than degrading, demonstrating effective adaptation without forgetting, while the self-calibrating drift detector orchestrates updates with zero false alarms. These results indicate that our framework enables NIDS to autonomously adapt to drifting traffic and novel attacks without expert intervention.

View source

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.