HYDRA: Proactive Android Malware Drift Adaptation via Hierarchical Graph Contrastive Learning

Han Chen, Hanchen Wang, Hongmei Chen, Lu Qin, Wenjie Zhang +1 more
9/22/2026
cs.CRcs.LG
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Concept drift, driven by the rapid evolution of Android malware, severely degrades the performance of machine learning detectors. Current adaptation strategies are often reactive, responding only after performance has dropped and imposing a significant manual annotation burden, or they are proactive but rely on unstable adversarial training and incomplete, single-level graph representations.

Show full abstract

To overcome these limitations, we propose HYDRA (Hybrid Drift Adaptation), a proactive adaptation framework that learns drift-invariant representations from hierarchically structured data. HYDRA first models applications using a hybrid graph structure, combining fine-grained Control Flow Graphs (CFGs) and coarse-grained Function Call Graphs (FCGs) to capture comprehensive behavioral patterns. It then introduces a novel cross-domain contrastive learning objective that aligns historical (source) and new (target) data distributions. By generating pseudo-labels for unlabeled target samples, our method pulls representations of semantically similar applications together, regardless of their domain, within a single, stable optimization process. This approach unifies feature learning and domain alignment, eliminating the need for complex adversarial objectives. Extensive experiments on large-scale, time-ordered malware datasets demonstrate that HYDRA achieves substantially lower False Negative and False Positive Rates than state-of-the-art baselines while requiring up to 87.5% fewer labeled samples. Our work thus offers a robust and efficient solution to combat concept drift in security applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2026hydra,
  title  = {HYDRA: Proactive Android Malware Drift Adaptation via Hierarchical Graph Contrastive Learning},
  author = {Han Chen and Hanchen Wang and Hongmei Chen and Lu Qin and Wenjie Zhang and Ying Zhang},
  year   = {2026},
  eprint = {2609.26352},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.26352v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.26352.svg)](https://codeofpaper.com/paper/2609.26352)

Discussion