Aurora: Are Android Malware Classifiers Reliable under Distribution Shift?

Alexander Herzog, Aliai Eusebi, Lorenzo Cavallaro · DOI

Abstract

Android malware classification faces significant challenges due to "concept drift," where evolving malware and benign software updates shift data distributions over time. While many models achieve high accuracy on static benchmarks, their operational reliability in non-stationary environments remains questionable. This paper introduces Aurora, a multi-pillar evaluation framework that assesses models based on confidence reliability, operational stability, and rejection consistency. Our findings reveal that complex state-of-the-art frameworks often suffer from "false confidence" and miscalibration, whereas simpler, well-calibrated models like DeepDrebin frequently provide superior performance and stability in real-world deployments.

Introduction: The Operational Reliability Gap

In the adversarial landscape of malware detection, "concept drift" is the primary antagonist. As malware evolves and benign software updates, the data distributions that models were trained on inevitably shift, leading to performance decay.

To mitigate this, researchers employ selective classification—where a model abstains from predicting on samples with low confidence—and active learning, where uncertain samples are flagged for human review. However, a "Goodhart’s Law" problem has emerged: the community's focus on maximizing F1 scores and accuracy has come at the expense of operational reliability. If a model is "confident but wrong" due to miscalibration under drift, it may permit dangerous malware or exhaust human analyst budgets on uninformative samples. Aurora addresses this by measuring whether a model's internal "risk dial" is truly trustworthy.

The Aurora Framework

The authors propose Aurora, a multi-pillar evaluation framework designed for non-stationary environments. It moves beyond static metrics to assess:

  1. Reliability: Evaluated via the Area Under the Risk-Coverage Curve (AURC). This measures how effectively a model’s confidence scores rank its own errors. A reliable model should assign its highest uncertainty to the samples it is most likely to misclassify.
  2. Operational Stability: Includes metrics like F1 volatility (monthly performance swings) and the Benefit Frequency (BF*), which determines how often abstaining actually improves the final score.
  3. Rejection Consistency: Measures Rejection Bias (ΔRej*) to see if a model can adhere to human-defined "quarantine" quotas as the data stream evolves.
Conceptual illustration of classification and misclassification relative to class centroids and decision boundaries.

The paper benchmarks four major frameworks: the classic Drebin (SVM), DeepDrebin (MLP), and the more complex contrastive-learning-based CADE and HCC.

Experimental Setup

The study utilizes three large-scale, temporally ordered Android malware datasets to simulate realistic drift:

  • APIGraph: Apps from 2012–2018.
  • AndroZoo: Apps from 2019–2021.
  • Transcendent: Apps from 2014–2018.

Crucially, the authors maintain a strict temporal train-test split, treating the first year as a bootstrap set and evaluating the rest month-by-month to mirror a real-world deployment.

Key Insights: The Simplicity Paradox

  • False Confidence: High F1 scores are a poor proxy for reliability. For instance, while CADE and DeepDrebin might show similar F1 scores, CADE’s confidence calibration (AURC) can be significantly worse.
  • Robustness through Simplicity: More complexity does not guarantee robustness. DeepDrebin (a relatively simple neural network) often emerged as the most "Pareto-optimal" choice—balancing performance, stability, and reliability better than complex SOTA contrastive frameworks.
  • Strategic Subsampling: Training on less initial data often led to better adaptation to drift, preventing the model from being "overwhelmed" by outdated historical patterns.

Key Results

The empirical evaluation highlights a significant "Calibration Collapse" in complex models. On the Transcendent dataset, some configurations of CADE reached high risk levels even at low coverage, indicating that their "high-confidence" predictions were frequently incorrect.

Risk-Coverage curves for various models across the AndroZoo, APIGraph, and Transcendent datasets.

Furthermore, CADE’s rejection mechanism proved unstable under drift, occasionally overshooting monthly analyst quotas by thousands of samples. In contrast, DeepDrebin achieved the best overall reliability profile using only binary labels and modest computational resources, often outperforming models that required expensive "family" labels.

Conclusion and Future Work

The Aurora framework demonstrates that selective classification can backfire if a model is poorly calibrated; in such cases, "rejecting" samples can actually decrease the F1 score as the model discards correct predictions while retaining mistakes.

The authors acknowledge limitations in current uncertainty-based sampling, which may introduce bias. Future work should explore diversity or stratified sampling to better balance classification and calibration. Additionally, as the Drebin feature space reaches saturation, investigating alternative feature representations will be critical for future breakthroughs in malware detection.

Summary updated

BibTeX
@misc{herzog2025aurora,
  author = {Alexander Herzog and Aliai Eusebi and Lorenzo Cavallaro},
  title = {{Aurora: Are Android Malware Classifiers Reliable under Distribution Shift?}},
  year = {2025},
  eprint = {2505.22843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.22843},
}
Figure