Weighted hierarchical LLM ensemble classifies malware families without labels
A zero-label malware family classification framework using a weighted hierarchical ensemble of pretrained LLMs can accurately assign families
AI/ML arXiv 2 Apr 2026 Method Prototype evidence
Published as “Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Models”
Why it matters
Provides a practical way to assign malware families without labeled training data or dynamic analysis, useful for open-world threat intelligence pipelines.
Summary
The weighted hierarchical ensemble of LLMs achieved the highest accuracy (0.750) on a 200-sample gold set, outperforming individual models and unweighted voting. Evidence comes from the reported results showing the final weighted hierarchical configuration beating all baselines. The study is limited to a small, manually labeled dataset and static code only.
What they found 2
- Weighted hierarchical ensemble outperforms individual LLMs and unweighted aggregation methods.
“Experimental results demonstrate that the weighted hierarchical ensemble consistently outperforms individual LLMs and unweighted aggregation methods”
- The final weighted hierarchical ensemble achieved the best accuracy and competitive Macro-F1.
“the final weighted hierarchical ensemble achieved the best accuracy and competitive Macro-F1.”
Caveats 4
- Weighted voting without hierarchy slightly underperforms uniform voting (accuracy 0.735 vs 0.740).
- The initial hierarchical ensemble underperformed due to error propagation at uncertain coarse stages.
- The framework is evaluated on a relatively small dataset and relies on pretrained LLM outputs and a manually defined hierarchy, which may limit generalization and introduce routing errors.
- Due to the limited size of the gold-standard dataset, results are reported deterministically without statistical significance testing.
What’s new here 4
- Zero-label malware family classification using decision-level aggregation of multiple pretrained LLMs.
- Macro-F1-based weighting of model contributions to improve reliability.
- A behavior-aware hierarchical decision process that first resolves coarse-grained groups before fine-grained families.
- No reliance on handcrafted features, supervised retraining, or dynamic analysis.