cs.NINov 16, 2026

Network Intrusion Detection Adaptability under Spurious Labels: A Noise-Aware Few-Shot Class-Incremental Learning Framework

Authors: Zijian Zhao, Davide Di Monda, Domenico Ciuonzo, Yipeng Wang, Antonio Pescapè

Organizations: College of Computer Science, Beijing University of Technology, China · Department of Electrical Engineering and Information Technologies (DIETI), University of Naples Federico II, Italy · IMT School for Advanced Studies, Lucca, Italy

Abstract

Network Intrusion Detection Systems (NIDSs) must incrementally adapt to emerging attacks, even when only a limited amount of labeled network traffic is available. Consequently, Few-Shot Class-Incremental Learning (FSCIL)-based NIDSs have gained growing attention. However, existing FSCIL-based NIDSs are highly vulnerable to label noise in newly-observed attack classes. To address this limitation, we propose NAFN, a noise-aware FSCIL-based NIDS framework that reduces the impact of mislabeled data during incremental adaptation. NAFN consists of two components: (i) Noise Detection, which identifies and removes mislabeled biflows using noise-detection algorithms, and (ii) Feature Sampling, which estimates class-conditional embeddings from clean biflows, calibrates them with base-class statistics, and resamples synthetic features to recover the original biflow count. The framework follows the Rethink Few-Shot (RFS) teacher-student paradigm with lightweight nearest-neighbor or logistic regression classifiers, and various pretraining & memory selection strategies. Experiments on CSE-CIC-IDS2018, Edge-IIoT, and IoT-NID datasets show that NAFN effectively preserves prior knowledge and maintains strong incremental performance even under 50% label noise, consistently improving new-class F1-scores over non-denoised baselines, up to +52%, while being time-efficient and robust in cross-network and high-noise incremental settings. The implementation is publicly available to foster reproducibility.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Few-Shot Network Intrusion Detection Using Online Triplet Mining

    May 17, 2026Jack Wilkie, Hanan Hindy, Christos Tachtatzis +2Network Intrusion DetectionFew-Shot Learning

  2. Adapter-Based Few-Shot Continual Learning for Malicious Packet Recognition

    Aug 24, 2026Kyle Stein, Guillermo Francia, III Eman El-Sheikh +1Class-Incremental LearningMalware Classification

  3. PLAA: Packet-level Adversarial Attacks in Network Traffic Detection

    Jun 26, 2026Jinhao You, Zan Zhou, Shujie Yang +3Adversarial AttacksNetwork Intrusion Detection