LoRA-based Parameter-Efficient LLMs for Continuous Learning in Edge-based Malware Detection
Christian Rondanini, Barbara Carminati, Elena Ferrari, Niccol\`o Lardo, Ashish Kundu

TL;DR
This paper introduces a LoRA-based continual learning framework for edge malware detection using lightweight transformers, enabling cross-device knowledge sharing and improved accuracy under resource constraints.
Contribution
It proposes a novel edge malware detection architecture combining local incremental training with global LoRA adapter sharing for domain adaptation.
Findings
Achieves 20-25% accuracy improvement on unseen attacks.
Maintains stable loss and F1 scores across multiple learning rounds.
LoRA modules add less than 1% to model size, suitable for edge devices.
Abstract
The proliferation of edge devices has created an urgent need for security solutions capable of detecting malware in real time while operating under strict computational and memory constraints. Recently, Large Language Models (LLMs) have demonstrated remarkable capabilities in recognizing complex patterns, yet their deployment on edge devices remains impractical due to their resource demands. However, in edge malware detection, static or centrally retrained models degrade under evolving threats and heterogeneous traffic; locally trained models become siloed and fail to transfer across domains. To overcome these limitations, in this paper, we present a continuous learning architecture for edge-based malware detection that combines local adaptation on each device with global knowledge sharing through parameter-efficient LoRA adapters. Lightweight transformer models (DistilBERT,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Network Security and Intrusion Detection · Adversarial Robustness in Machine Learning
