[Paper Review] Dataset Bias in Android Malware Detection
This paper systematically investigates dataset bias in Android malware detection, demonstrating that variations in ground truth labeling, malware family distribution, and data partitioning methods can inflate detection performance by up to 44.58%. The study reveals that evaluation results are highly sensitive to dataset construction and usage, urging a machine learning fairness framework for transparent, explainable malware detection research.
Researchers have proposed kinds of malware detection methods to solve the explosive mobile security threats. We argue that the experiment results are inflated due to the research bias introduced by the variability of malware dataset. We explore the impact of bias in Android malware detection in three aspects, the method used to flag the ground truth, the distribution of malware families in the dataset, and the methods to use the dataset. We implement a set of experiments of different VT thresholds and find that the methods used to flag the malware data affect the malware detection performance directly. We further compare the impact of malware family types and composition on malware detection in detail. The superiority of each approach is different under various combinations of malware families. Through our extensive experiments, we showed that the methods to use the dataset can have a misleading impact on evaluation, and the performance difference can be up to over 40%. We argue that these research biases observed in this paper should be carefully controlled/eliminated to enforce a fair comparison of malware detection techniques. Providing reasonable and explainable results is better than only reporting a high detection accuracy with vague dataset and experimental settings.
Motivation & Objective
- To investigate how dataset construction and usage methods introduce bias in Android malware detection evaluations.
- To analyze the impact of ground truth labeling methods (e.g., VirusTotal thresholds) on detection performance.
- To examine how malware family distribution and composition affect the comparability of detection techniques.
- To evaluate the influence of data partitioning strategies (e.g., family overlap in train/test sets) on model performance.
- To advocate for a machine learning fairness framework to ensure transparent, explainable, and comparable malware detection research.
Proposed method
- The authors curated multiple malware benchmarks using different ground truth labeling criteria, including varying VirusTotal (VT) thresholds (e.g., 2/10, ≥1, ≥10, ≥28 engines) to assess labeling sensitivity.
- They evaluated three state-of-the-art malware detection methods—csbd, drebin, and mamadroid—across these benchmarks to measure performance variability.
- The study employed 5-fold cross-validation with two extreme partitioning strategies: an ideal case with overlapping malware families across folds and an extreme case with no family overlap.
- Performance was measured using detection accuracy, and the gap between ideal and extreme cases was quantified to assess bias impact.
- The authors analyzed both intra-approach and inter-approach performance variations under different dataset and partitioning conditions.
- They used a standardized set of 252 malware groups from prior benchmarks to ensure consistency across experiments.
Experimental results
Research questions
- RQ1How does the choice of VirusTotal threshold for labeling malware affect detection performance across different methods?
- RQ2To what extent does the composition and distribution of malware families in a dataset influence the reported accuracy of detection techniques?
- RQ3How does the data partitioning strategy—specifically, the presence or absence of malware family overlap between training and testing sets—affect model evaluation?
- RQ4Can the same detection method appear superior or inferior depending on dataset construction and partitioning choices, leading to misleading comparisons?
- RQ5What are the implications of dataset bias for fair and reproducible evaluation in Android malware detection research?
Key findings
- The performance gap between ideal and extreme data partitioning conditions reached up to 44.58% for the mamadroid method, 37.29% for csbd, and 31.16% for drebin, demonstrating severe impact from data partitioning bias.
- Different ground truth labeling methods using VirusTotal (e.g., 2/10 vs. ≥28 engines) directly influence detection accuracy, with no standardized threshold across studies.
- The superiority of a detection method is not consistent across dataset configurations—csbd outperformed others in the ideal case, but drebin performed best in 179 out of 252 experiments under extreme partitioning.
- The presence of adware as a malware category varies significantly across datasets (e.g., absent in MalGenome and Drebin, present in AMD and RmvDroid), affecting evaluation outcomes and comparability.
- Malware family overlap between training and testing sets is critical: when no overlap exists, performance drops drastically, indicating that models may overfit to family-specific patterns.
- The study concludes that current evaluation practices are prone to research bias due to inconsistent dataset construction and usage, undermining fair comparison of detection techniques.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.