Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Models

Samita Bai, Hamed Jelodar, Tochukwu Emmanuel Nwankwo, Parisa Hamedi, Mohammad Meymani +2 more
4/2/2026
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

Malware family classification remains a challenging task in automated malware analysis, particularly in real-world settings characterized by obfuscation, packing, and rapidly evolving threats. Existing machine learning and deep learning approaches typically depend on labeled datasets, handcrafted features, supervised training, or dynamic analysis, which limits their scalability and effectiveness in open-world scenarios.

Show full abstract

This paper presents a zero-label malware family classification framework based on a weighted hierarchical ensemble of pretrained large language models (LLMs). Rather than relying on feature-level learning or model retraining, the proposed approach aggregates decision-level predictions from multiple LLMs with complementary reasoning strengths. Model outputs are weighted using empirically derived macro-F1 scores and organized hierarchically, first resolving coarse-grained malicious behavior before assigning fine-grained malware families. This structure enhances robustness, reduces individual model instability, and aligns with analyst-style reasoning.

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{bai2026automated,
  title  = {Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Models},
  author = {Samita Bai and Hamed Jelodar and Tochukwu Emmanuel Nwankwo and Parisa Hamedi and Mohammad Meymani and Roozbeh Razavi-Far and Ali A. Ghorbani},
  year   = {2026},
  eprint = {2604.02490},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.02490v1}
}

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/2604.02490.svg)](https://codeofpaper.com/paper/2604.02490)

Discussion