Abstract
Android malware detection models face significant performance degradation over time due to "concept drift," where malware authors continuously evolve their tactics. Traditional active learning (AL) approaches struggle with labeling bottlenecks and high computational costs. This paper introduces CITADEL, a semi-supervised active learning framework that leverages domain-specific binary feature augmentations and a multi-criteria sample selection strategy. CITADEL outperforms existing state-of-the-art methods by up to 14% in F1 score while achieving a 24x speedup in training time, maintaining high accuracy even with limited labeled data.
Introduction
Machine learning models for malware detection suffer from a "shelf-life" problem. As malware authors change their tactics to evade detection, models trained on historical data lose efficacy on contemporary samples. This phenomenon, known as concept drift, necessitates continuous model updates to remain effective.
Existing solutions to combat drift primarily rely on Active Learning (AL), where models query human experts for labels on ambiguous samples. However, these methods face three major hurdles: the labeling bottleneck caused by the sheer volume of new malware (approx. 300,000 samples monthly), a feature mismatch where standard semi-supervised techniques fail on high-dimensional binary vectors, and prohibitive computational costs for real-world deployment.
Methodology
CITADEL addresses these challenges through three primary innovations:
- Malware-Specific Augmentations: To adapt semi-supervised learning for binary features, CITADEL employs Bernoulli Bit Flips (randomly flipping bits to simulate behavioral changes) and Bernoulli Feature Masking (randomly zeroing features to simulate obfuscation or deprecated APIs).
- Supervised Contrastive Loss: CITADEL utilizes a supervised contrastive loss objective to pull similar samples (e.g., malware families) together in the feature space while pushing dissimilar samples apart, resulting in more robust decision boundaries.
- Multi-Criteria Active Learning: Instead of relying solely on model uncertainty, CITADEL uses a three-part scoring system to select samples for human labeling: Softmax Margin (proximity to decision boundary), $L_p$-norm Distance (identifying novel samples representing feature-space drift), and Prediction Confidence.
Experimental Evaluation
The framework was evaluated on four large-scale benchmarks: APIGraph (2012–2018), Chen-AZ (2019–2021), LAMDA (a longitudinal dataset spanning 2013–2025, excluding 2015), and a curated version of MaMaDroid spanning 12 years to mirror temporal characteristics.
Results
CITADEL consistently outperformed prior work across all datasets. On the 12-year LAMDA benchmark, it achieved an F1 score improvement of +13.2% over the previous best method.
Key performance metrics include:
- Label Efficiency: CITADEL achieves state-of-the-art performance using only 40% of labeled samples, significantly reducing the burden on human analysts.
- Training Speed: The framework is 24x faster than the previous standard (Chen-AL), retraining on 100,000 samples in approximately 95 seconds compared to nearly 40 minutes for prior methods.
Conclusion
CITADEL demonstrates that incorporating unlabeled data through domain-specific augmentations and multi-criteria selection effectively mitigates concept drift in malware detection. While the framework handles natural drift well, future research is required to address adversarial vulnerabilities and the detection of "singleton" malware samples that do not belong to established families.
Summary updated