XGBoost gives highest accuracy-to-resource ratio for binary malware detection
The authors claim their FDM framework reliably identifies the optimal ML configuration for malware detection across contexts
Security & privacy arXiv 5 Jun 2026 Method Prototype evidence
Published as “FDM: A Framework for Decision-making to build ML-based Malware detection systems”
Why it matters
Practitioners can use FDM to select a malware-detection ML pipeline that fits their hardware, latency, and update constraints, avoiding over-provisioned models and reducing deployment cost.
Summary
XGBoost delivers the highest accuracy-to-resource ratio for binary malware detection (97.46% test accuracy using <70 MB RAM), but this advantage reverses in multi-class tasks where it scores 79.03% versus 72.27% for BiLSTM. Transfer learning cuts training time by about 2.14× on image-based malware data without hurting accuracy, and an autoencoder pre-processing step speeds training 14.2× at a modest 0.86 pp accuracy loss. The evidence comes from three datasets (private Windows API calls, public Malimg images, public Android manifest permissions) and compares classical models, deep recurrent nets, and CNNs, showing consistent context-dependent performance trade-offs.
What they found 5
- XGBoost achieves the best accuracy-to-resource ratio in binary classification
“XGBoost achieved the best accuracy-to-resource ratio in binary classification (97.46% test accuracy, <70 MB RAM), outperforming LSTM and BiLSTM which consumed up to 2.8 GB”
- Classical models outperform deep models in multi-class classification
“in multi-class classification, classical models (XGBoost 79.03%) outperformed recurrent deep models (BiLSTM 72.27%)”
- Class-incremental learning with EfficientNetB0 maintains high accuracy with minimal degradation
“class-incremental learning with EfficientNetB0 maintained 99.13% accuracy with only 0.65 percentage-point accuracy degradation across eleven incremental steps”
- Transfer learning reduces training time on image-based malware data without accuracy loss
“transfer learning reduced training time by an average of 2.14× on image-based malware data with no significant accuracy cost”
- Autoencoder pre-processing yields large training speedup with small accuracy penalty
“autoencoder pipeline reduces training time by 14.2× (from 117.7 min to 8.3 min) and test-time inference by 4.3× (8.51 s to 1.97 s) in exchange for a modest accuracy penalty of 0.86 pp on the test set”
Caveats 5
- BiLSTM achieved the highest AUC among deep models despite higher resource use, indicating that XGBoost is not universally superior in all performance dimensions
- quote: "Binary classification: BiLSTM best AUC among DL models"
- The framework assumes training data can be centralised and does not support federated or privacy-preserving deployments.
- Adversarial and evasion-aware scenarios are not accounted for; practitioners must add hardening on top of the recommendations.
- Explainability is not included as an input dimension, so the framework does not differentiate between interpretable and black-box models.
What’s new here 3
- Introduces a weighted multi-criteria scoring function (WCCS) to map operational constraints to ML configuration recommendations.
- Provides empirical validation across binary, multi-class, class-incremental, transfer-learning, and autoencoder-preprocessing tasks.
- Demonstrates that optimal model choice depends on deployment constraints rather than raw accuracy alone.