← Lab /Security & privacy

Image-based malware benchmarks overstate accuracy due to duplication and leakage

Security & privacy Measurement · Maturity unclear · arXiv

The claim

The authors assert that reported accuracies on malware-as-image benchmarks are inflated because of near-duplicate images and test-train leakage

Stefan Larson, Kevin Leach · arXiv Paper PDF

Published as: “Measuring Duplication, Leakage, and Rendering Dependence in Malware-as-Image Benchmarks”

So what

Practitioners should report content-level duplication rates and include a non-image baseline when evaluating malware-as-image models to avoid inflated performance claims.

The five-minute version

Deduplicating malware-as-image benchmarks on image content (rather than file hash) cuts top-1 accuracy by up to 10.5 points and macro-F1 by up to 15 points, and changing the byte-wrap width can drop accuracy by 20-33 points, showing that reported 97-99% results are inflated by duplicate leakage and encoding dependence; the evidence comes from re-splitting ten benchmarks, removing pixel-identical duplicates, and retraining standard CNN/ViT models.

What they found 3

What undercuts it the paper’s own results

Stated limits 2

What’s new here 4

Artifacts & methods 10

Topics

malware family classificationimage-based malware representationduplicate detectiontrain-test leakagebyteplot wrap width dependencecontent-aware dataset splittingbenchmark auditstatic feature vs image comparison
← Previous DualGuard cuts memory-safety overhead up to 72% while protecting speculative and non-speculative code