When Duplicates Decide the Result: A Data-Quality Audit of Android Malware Benchmarks
Description
Public Android malware benchmarks are used to rank detectors, yet the quality of the data behind those rankings is rarely examined. We audit four widely used benchmarks for exact and near duplicates, label conflicts and the origin of duplication, and measure how these defects change a model comparison. In TUANDROMD, 85.2% of rows duplicate another row, one feature vector occurs 792 times, and the apparent malware majority (79.9% of rows) becomes a minority (19.6%) among the 658 distinct vectors; MalGenome-215 and Droidware are 35% and 40% duplicated and KronoDroid 0.2%. In Droidware every duplicate is a distinct APK, so duplication reflects a coarse feature representation, not repeated files. As a case study we compare an AutoEncoder–XGBoost hybrid with three baselines under four protocols. With random cross-validation on all rows every model scores about 99% accuracy, and a poorly configured AutoEncoder looks as good as a well-tuned one; on distinct vectors the same defect costs 0.22 in Matthews correlation. The share of the defect visible to the usual protocol falls with duplication, from all of it on low-duplication KronoDroid to roughly 4% on TUANDROMD, and adding duplicates to KronoDroid alone was enough to hide it. Duplicates also make naive significance tests one to two orders of magnitude overconfident. We release a cleaned, versioned TUANDROMD with a datasheet and propose a pre-publication data-quality checklist.