LLMs reach up to 85.5% triage balanced accuracy on budgeted static malware triage
LLMs can triage unknown binaries with high balanced accuracy using limited function analysis
AI/ML arXiv 16 Nov 2026 Measurement Prototype evidence
Published as “TRIAGE-CPG: A Cross-Model Study of Budgeted Static Malware Triage with Large Language Models”
Why it matters
LLMs can support static malware triage with modest inspection budgets, but deployment must account for model-specific recall-specificity trade-offs and reduced effectiveness on large or packed binaries.
Summary
The best model (Gemini 3.1 Pro) achieved a strict balanced accuracy of 0.805 and a triage balanced accuracy of 0.855 while inspecting only about 40 functions per binary, flagging 65% of malware, escalating 12%, and clearing 94% of benign samples. Eight LLMs were compared on a locked test set of 600 Windows PE binaries using a fixed, budgeted evidence acquisition pipeline. The results show a wide spectrum of recall-specificity trade-offs across models, with no single model dominating. Evidence is based on a real-world VirusTotal-sourced dataset, but the balanced 50% malware prevalence and exclusion of ambiguous samples limit direct operational conclusions.
What they found 2
- The highest-scoring model reaches 0.805 strict balanced accuracy and 0.855 tBA while inspecting ~40 functions per binary.
“After analyzing about 40 of a mean 1,000 functions per binary, the highest-scoring model reaches a strict balanced accuracy of 0.805 and a tBA of 0.855, flagging 65% of malware, escalating another 12%, and clearing 94% of benign samples.”
- Gemini 3.1 Pro achieves the best strict and triage performance, committing malicious verdicts for 65% of malware and clearing 93.7% of benign samples.
“Gemini 3.1 Pro commits a malicious verdict for 65% of malware while clearing 93.7% of benign samples, the highest strict balanced accuracy (0.805) and tBA (0.855) under the fixed protocol.”
Caveats 6
- Gemini 3.1 Pro’s malware recall drops from 0.783 on the smallest binaries to 0.33 on the largest, showing performance degrades on big samples.
- The dataset is balanced at 50% malware, which does not reflect real-world streams where benign samples dominate, so escalation-queue precision would be lower in practice.
- The comparison maps operating points under one fixed protocol rather than ranking model quality or fixing a deployment configuration.
- Per-model tuning could move the individual points.
- Static triage is inherently limited on samples that hide their payload behind a delivery shell such as a packer, protector, or installer.
- The dataset is balanced at 50% malware, which eases per-class comparison but does not reflect operational intake streams where benign samples dominate.
What’s new here 4
- Formulates static malware triage as a budgeted evidence acquisition problem with a fixed function budget.
- Introduces the triage balanced accuracy (tBA) metric to evaluate clearance versus escalation decisions.
- Provides a controlled, graph-guided pipeline (TRIAGE-CPG) that isolates model behavior from configuration tuning.
- Analyzes how model choice alone determines the triage policy under identical evidence constraints.