← Lab /AI/ML

RL controller balances detection performance and maintenance cost under concept drift

The proposed RL-based maintenance framework outperforms alternatives in cost-aware adaptation for Android malware detection

AI/ML arXiv 22 May 2026 Method Simulation evidence

Published as “Concept Drift Adaptation Using Self-Supervised and Reinforcement Learning In Android Malware Detection”

Why it matters

A learned, cost-aware RL controller can reduce the operational expense of maintaining Android malware detectors while preserving detection performance, making long-term deployment more practical.

Summary

The RL-controlled maintenance policy achieves the highest average accuracy (≈0.628) in the real-dynamic setting while using a much lower cumulative cost (≈3.75) than fixed baselines, and remains competitive across all feature and dataset configurations. Evidence comes from AUT-based results showing RL’s cost-aware decisions outperform static schedules, though it does not dominate every metric (e.g., macro-F1 is higher for Periodic-Joint(2) in some cases). The study’s controlled yearly window protocol and label-available setting limit generality.

What they found 2

  1. RL achieves the highest average accuracy in the real-dynamic setting while incurring lower maintenance cost than baselines.

    “RL achieves the highest average accuracy while using a substantially lower cost, approximately 3.75, compared with 7.50 for Periodic-Joint(2), 10.00 for AdapterTune, and 15.00 for Joint-Tune and Drift-Rule.”

  2. In real-dynamic, RL attains the top accuracy (≈0.628) but Periodic-Joint(2) attains the highest macro-F1 (≈0.473).

    “In real-dynamic, RL achieves the highest average accuracy, approximately 0.628, whereas Periodic-Joint(2) achieves the highest macro-F1, approximately 0.473.”

Caveats 6

  • HeadTune performs strongly in emulator-dynamic settings, indicating RL is not uniformly superior across all feature types.
  • Periodic-Joint(2) achieves the highest macro-F1 in real-dynamic, showing RL does not dominate every evaluation metric.
  • the deployment protocol uses yearly chronological windows from 2008-2020 with initialization on the first K = 3 windows, so the results support yearly deployment-time maintenance under this chronology rather than arbitrary temporal granularities or deployment schedules
  • the study assumes a label-available maintenance setting, where each newly labeled window is split into disjoint adaptation and evaluation subsets for state construction, maintenance, and reward computation, rather than fully online adaptation without immediate labels
  • the comparison uses a fixed maintenance action space and deterministic baselines, with the RL controller trained for 4096 PPO steps, so policy rankings should be interpreted within this controlled design
  • the evaluation focuses on current-window balanced accuracy, current-window macroF1, memory-set balanced accuracy, accumulated maintenance cost, and AUT, and therefore does not assess properties such as calibration, adversarial robustness, or delayed feedback

What’s new here 4

  • Combines self-supervised pre-training of a frozen encoder with a reinforcement-learning controller for cost-aware maintenance actions.
  • Introduces latent drift monitoring using Kolmogorov-Smirnov and Wasserstein distances in the frozen representation space.
  • Defines a deployment-oriented evaluation protocol that separates adaptation and evaluation within each chronological window and measures retention via a fixed memory set.
  • Learns a state-dependent maintenance policy that selects among keep, head-tune, adapter-tune, joint-tune, and reset-adapter actions.