Malware Detection at the Edge with Lightweight LLMs: A Performance Evaluation

Christian Rondanini, Barbara Carminati, Elena Ferrari, Antonio Gaudiano, Ashish Kundu
3/6/2025
cs.CRcs.AIcs.DC

No confident code implementation found for this paper.

Abstract

The rapid evolution of malware attacks calls for the development of innovative detection methods, especially in resource-constrained edge computing. Traditional detection techniques struggle to keep up with modern malware's sophistication and adaptability, prompting a shift towards advanced methodologies like those leveraging Large Language Models (LLMs) for enhanced malware detection.

Show full abstract

However, deploying LLMs for malware detection directly at edge devices raises several challenges, including ensuring accuracy in constrained environments and addressing edge devices' energy and computational limits. To tackle these challenges, this paper proposes an architecture leveraging lightweight LLMs' strengths while addressing limitations like reduced accuracy and insufficient computational power. To evaluate the effectiveness of the proposed lightweight LLM-based approach for edge computing, we perform an extensive experimental evaluation using several state-of-the-art lightweight LLMs. We test them with several publicly available datasets specifically designed for edge and IoT scenarios and different edge nodes with varying computational power and characteristics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rondanini2025malware,
  title  = {Malware Detection at the Edge with Lightweight LLMs: A Performance Evaluation},
  author = {Christian Rondanini and Barbara Carminati and Elena Ferrari and Antonio Gaudiano and Ashish Kundu},
  year   = {2025},
  eprint = {2503.04302},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.04302v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.04302.svg)](https://codeofpaper.com/paper/2503.04302)

Discussion