Unified preprocessing enables cross-dataset malware detection evaluation
The proposed preprocessing pipeline allows ML models trained on EMBER+BODMAS to transfer effectively to other PE malware datasets
AI/ML arXiv 27 Mar 2026 Measurement Prototype evidence
Published as “Machine Learning Transferability for Malware Detection”
Why it matters
The study shows that while carefully tuned boosting models can achieve very low false-positive rates on familiar data, their reliability drops on new or obfuscated datasets, cautioning practitioners against deploying static-feature models without continual retraining.
Summary
Boosting-based tree classifiers combined with XGBFS dimensionality reduction at 384 features achieve up to 99.84% AUC and 91.25% detection at a 0.1% false-positive rate on in-distribution EMBER-v2 data, but their performance drops sharply on external datasets such as SOREL-20M and ERMDS, indicating limited transferability. The evidence is based on extensive cross-dataset experiments with multiple metrics, though computational constraints limited testing on the largest dataset.
What they found 3
- LightGBM with XGBFS at 384 dimensions attains 99.84% AUC on the EMBER+BODMAS training regime.
“LightGBM reached 99.84% AUC, indicating strong class separation.”
- At 0.1% FPR the detector identifies 91.25% of malware on the in-distribution test split.
“at 1% FPR the detector identifies 97.50% of malware and at 0.1% FPR 91.25%”
- Cross-dataset evaluation shows severe performance loss on SOREL-20M and ERMDS.
“SOREL-20M and ERMDS exhibit significant deterioration across all metrics, with the most substantial declines occurring at 1% and 0.1% FPR”
Caveats 4
- When tested on SOREL-20M, the best model (128/PCA XGB) achieved only 30.09% detection at 0.1% FPR, far below the in-distribution result.
- Models trained on EB degrade substantially on ERMDS, and adding ERMDS to training reduces generalization to SOREL-20M.
- SOREL-20M, on the other hand, was only tested using the test split due to limitations in computational resources.
- the system remains susceptible to severe drift.
What’s new here 4
- Evaluates PCA versus XGBFS feature selection for static PE malware detection across several EMBER-v2 derived datasets.
- Measures cross-dataset transferability, including obfuscation-heavy ERMDS and large-scale SOREL-20M, which prior work rarely examined.
- Applies FLAML-tuned hyperparameters to four tree-based estimators and reports low-FPR operating points (1% and 0.1% FPR).
- Analyzes the impact of training data composition (EB vs. EB+ERMDS) on generalization and drift sensitivity.