arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.05098cs.CRcs.AI
收藏

TIF:学习安卓恶意软件检测器的时间不变性

TIF: Learning Temporal Invariance in Android Malware Detectors

University College London(伦敦大学学院);The University of Hong Kong(香港大学);Columbia University(哥伦比亚大学)

Xinran Zheng, Shuo Yang, Edith C. H. Ngai, Suman Jana, Lorenzo Cavallaro

AI总结:

针对恶意软件变种和新家族导致的分布漂移,提出时间不变训练框架TIF,通过多代理对比学习和不变梯度对齐学习稳定表征,提升检测器时间鲁棒性。

摘要:

基于学习的安卓恶意软件检测器会随着时间推移而性能下降,这是由于恶意软件变种和新家族导致的自然分布漂移。本文系统研究了使用经验风险最小化(ERM)训练的分类器在面对此类分布偏移时的挑战,并将其缺陷归因于无法学习\emph{稳定}的判别性特征。不变学习理论通过鼓励模型在暴露训练集不稳定性的环境中生成稳定表征,提供了一种有前景的解决方案。然而,缺乏先验环境标签、漂移因素的多样性以及不同家族导致的低质量表征使得该任务具有挑战性。为解决这些问题,我们提出了TIF,这是首个用于恶意软件检测的时间不变训练框架,旨在增强检测器随时间学习稳定表征的能力。TIF基于应用观察日期组织环境以揭示时间漂移,集成了专门的多代理对比学习和不变梯度对齐,以生成并对齐具有高质量、稳定表征的环境。TIF可以无缝集成到任何基于学习的检测器中。在长达十年的数据集上的实验表明,TIF表现出色,特别是在早期部署阶段,满足了实际需求并优于最先进的方法。

英文摘要:

Learning-based Android malware detectors degrade over time due to natural distribution drift caused by malware variants and new families. This paper systematically investigates the challenges classifiers trained with empirical risk minimization (ERM) face against such distribution shifts and attributes their shortcomings to their inability to learn \emph{stable} discriminative features. Invariant learning theory offers a promising solution by encouraging models to generate stable representations across environments that expose the instability of the training set. However, the lack of prior environment labels, the diversity of drift factors, and low-quality representations caused by diverse families make this task challenging. To address these issues, we propose TIF, the first temporal invariant training framework for malware detection, which aims to enhance the ability of detectors to learn stable representations across time. TIF organizes environments based on application observation dates to reveal temporal drift, integrating specialized multi-proxy contrastive learning and invariant gradient alignment to generate and align environments with high-quality, stable representations. TIF can be seamlessly integrated into any learning-based detector. Experiments on a decade-long dataset show that TIF excels, particularly in early deployment stages, addressing real-world needs and outperforming state-of-the-art methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑