Adapter-based framework achieves few-shot continual malware packet detection
The proposed hybrid framework outperforms prior malware FSCIL baselines and reaches performance
AI/ML arXiv 24 Aug 2026 Method Prototype evidence
Published as “Adapter-Based Few-Shot Continual Learning for Malicious Packet Recognition”
Why it matters
The improvement suggests that rehearsal-free, adapter-based continual learning can be deployed in security-sensitive environments where data retention is prohibited.
Summary
The authors show that a rehearsal-free, adapter-based few-shot continual learning system improves final-session accuracy by 8.75% on CIC-IDS2017 (61.05% vs 52.30%) and 8.15% on UNSW-NB15 (58.59% vs 50.44%) compared to prior rehearsal-free baselines, and cuts average forgetting roughly in half versus MalFSCIL. The evidence comes from experiments on two real-world malicious packet datasets using three random seeds on a single NVIDIA H100 GPU. However, the approach incurs high initial self-supervised pre-training cost and may suffer limited plasticity if future attacks differ substantially from the pre-training data.
What they found 2
- Final session accuracy improves by 8.75% on CIC-IDS2017 and 8.15% on UNSW-NB15 versus rehearsal-free baselines.
“our method achieves a final session (S3) accuracy improvement of +8.75% on CIC-IDS2017 (61.05% vs 52.30%) and +8.15% on UNSW-NB15 (58.59% vs 50.44%).”
- Average forgetting rate is reduced by roughly half compared to MalFSCIL.
“our method demonstrates superior stability, reducing the average forgetting rate by roughly half compared to MalFSCIL.”
Caveats 3
- our approach relies on the self-supervised pre-training of a transformer backbone from scratch which incurs significant initial computational costs.
- this design assumes that the pre-trained backbone and base-session adapters yield sufficiently discriminative features for all future malware variants. If attacks exhibit a significant domain shift relative to the pre-training distribution, the frozen encoder may limit plasticity compared to methods that continuously fine-tune the backbone.
- the proposed framework is specifically optimized for dynamic threat landscapes where retraining is prohibitive. In static environments where the set of malware families changes infrequently, the complexity of a continual learning system may exceed that of simpler, static classifiers.
What’s new here 3
- Combines self-supervised pre-training from scratch with LoRA adapters for rehearsal-free few-shot continual learning of malware packets.
- Uses a prototype-based decision rule to preserve decision boundaries without replay buffers.
- Evaluates on fine-grained protocol subtypes as independent classes, increasing adaptation difficulty.