arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.11655cs.CRcs.AIcs.DC
收藏

基于LoRA的参数高效LLMs用于边缘恶意软件检测中的持续学习

LoRA-based Parameter-Efficient LLMs for Continuous Learning in Edge-based Malware Detection

Christian Rondanini, Barbara Carminati, Elena Ferrari, Niccolò Lardo, Ashish Kundu

AI总结:

本文提出基于LoRA的参数高效LLMs方法,用于边缘恶意软件检测中的持续学习,通过本地适应与全局知识共享提升模型泛化能力,实现跨设备学习并降低资源消耗。

摘要:

边缘设备的普及催生了对能够实时检测恶意软件的安全解决方案的迫切需求,而这些解决方案必须在严格的计算和内存限制下运行。最近,大型语言模型(LLMs)在识别复杂模式方面表现出色,但其在边缘设备上的部署仍不现实,因为其资源需求过高。然而,在边缘恶意软件检测中,静态或集中重新训练的模型在面临不断变化的威胁和异构流量时会退化;本地训练的模型则变得孤立,无法跨领域转移。为克服这些限制,本文提出了一种用于边缘恶意软件检测的持续学习架构,结合了每个设备上的本地适应与通过参数高效LoRA适配器进行的全局知识共享。轻量级Transformer模型(DistilBERT、DistilGPT-2、TinyT5)在边缘节点上运行,并在设备特定的流量上逐步微调;只有由此产生的LoRA模块由轻量级协调器聚合并重新分配,从而在不交换原始数据的情况下实现跨设备泛化。我们在两个公开的物联网安全数据集,Edge-IIoTset和TON-IoT上进行了评估,通过多轮学习模拟不断变化的威胁。与孤立微调相比,基于LoRA的交换在模型遇到来自另一个领域的先前未见攻击时,能获得高达20-25%的准确率提升,同时在各轮次中保持稳定的损失和F1值。LoRA使模型大小增加不到1%(约0.6-1.8 MB),使更新在受限的边缘硬件上变得可行。

英文摘要:

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, DistilGPT-2, TinyT5) run on edge nodes and are incrementally fine-tuned on device-specific traffic; only the resulting LoRA modules are aggregated by a lightweight coordinator and redistributed, enabling cross-device generalization without exchanging raw data. We evaluate on two public IoT security datasets, Edge-IIoTset and TON-IoT, under multi-round learning to simulate evolving threats. Compared to isolated fine-tuning, the LoRA-based exchange yields up to 20-25% accuracy gains when models encounter previously unseen attacks from another domain, while maintaining stable loss and F1 across rounds. LoRA adds less than 1% to model size (~0.6-1.8 MB), making updates practical for constrained edge hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑