Ilmu Komputer & AI editorial
Open AccessOA2026
HYDRA: Proactive Android Malware Drift Adaptation via Hierarchical Graph Contrastive Learning
A hybrid graph contrastive learning framework for drift-invariant Android malware detection
Han Chen; Hanchen Wang; Hongmei Chen; Lu Qin; Wenjie Zhang; Ying Zhang· arXiv· 2026· DOI 10.48550/arXiv.2609.26352
The core problem
Android malware evolves rapidly, causing concept drift that severely degrades the performance of machine learning detectors. Existing adaptation strategies are either reactive—responding only after performance drops and requiring significant manual annotation—or proactive but reliant on unstable adversarial training and incomplete, single-level graph representations. To address these limitations, the authors propose HYDRA (Hybrid Drift Adaptation), a proactive framework that learns drift-invariant representations from hierarchically structured data. The core insight is that combining fine-grained and coarse-grained behavioral views enables more comprehensive and stable modeling of application semantics, while cross-domain contrastive learning aligns historical and new data distributions without complex adversarial objectives.
Innovation
Extensive experiments on large-scale, time-ordered malware datasets demonstrate that HYDRA achieves substantially lower False Negative Rates (FNR) and False Positive Rates (FPR) than state-of-the-art baselines. Notably, HYDRA requires up to 87.5% fewer labeled samples while maintaining superior performance. This efficiency stems from its proactive adaptation and effective use of unlabeled target data via pseudo-labeling and contrastive alignment. The results confirm that the hybrid graph representation and cross-domain contrastive objective together yield robust drift adaptation.
Android malware evolves rapidly, causing concept drift that severely degrades the performance of machine learning detectors. Existing adaptation strategies are either reactive—responding only after performance drops and requiring significant manual annotation—or proactive but reliant on unstable adversarial training and incomplete, single-level graph representations. To address these limitations, the authors propose HYDRA (Hybrid Drift Adaptation), a proactive framework that learns drift-invariant representations from hierarchically structured data. The core insight is that combining fine-grained and coarse-grained behavioral views enables more comprehensive and stable modeling of application semantics, while cross-domain contrastive learning aligns historical and new data distributions without complex adversarial objectives.
HYDRA models each Android application using a hybrid graph structure that integrates fine-grained Control Flow Graphs (CFGs) and coarse-grained Function Call Graphs (FCGs). This hierarchical representation captures both low-level instruction flows and high-level function interactions. To align distributions across time, HYDRA introduces a cross-domain contrastive learning objective. For unlabeled target samples, pseudo-labels are generated to guide representation learning. The contrastive loss pulls together representations of semantically similar applications regardless of their domain (source or target), within a single, stable optimization process. This unifies feature learning and domain alignment, eliminating the need for adversarial training.
Why it matters
The key innovation of HYDRA lies in its unified treatment of feature learning and domain alignment, which avoids the instability of adversarial training. By leveraging both CFGs and FCGs, it captures a more complete behavioral profile than single-level graph approaches. The cross-domain contrastive loss ensures that semantically similar applications are embedded closely, regardless of temporal domain, thereby mitigating concept drift. The use of pseudo-labels enables effective utilization of unlabeled target data, reducing annotation burden. However, the quality of pseudo-labels may affect performance; future work could explore more robust pseudo-labeling strategies. Overall, HYDRA offers a practical and efficient solution for proactive malware drift adaptation, with potential extensions to other security domains.
Who should read this
CS practitioners and researchers
Opening member content…