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

可解释的AI用于Android恶意软件检测:了解为什么模型表现如此出色?

Explainable AI for Android Malware Detection: Towards Understanding Why the Models Perform So Well?

Yue Liu, Chakkrit Tantithamthavorn, Li Li, Yepang Liu

摘要:

基于机器学习(ML)的Android恶意软件检测一直是移动安全领域最热门的研究课题之一。越来越多的研究表明,机器学习是一种有效的、有前途的恶意软件检测方法,有些研究甚至声称他们提出的模型可以达到99%的检测准确率,几乎没有进一步改进的空间。然而,许多先前的研究表明,不切实际的实验设计会带来很大的偏差,导致恶意软件检测的性能过于乐观。与之前研究ML分类器的检测性能以定位原因不同,本研究采用可解释AI(XAI)方法来探索基于ML的模型在训练过程中学到了什么,检查并解释为什么基于ML的恶意软件分类器在不切实际的实验设置下表现如此出色。我们发现训练数据集中的时间样本不一致性带来了过于乐观的分类性能(高达99%的F1得分和准确率)。重要的是,我们的研究结果表明,ML模型根据恶意软件和良性软件之间的时间差异对恶意软件进行分类,而不是实际的恶意行为。我们的评估还证实了这样一个事实,即不切实际的实验设计不仅导致不切实际的检测性能,而且可靠性差,对现实世界的应用构成了重大障碍。这些发现表明,XAI方法应该用来帮助从业者/研究人员更好地理解AI/ML模型(即,恶意软件检测)的工作-而不仅仅是专注于准确性的提高。

英文摘要:

Machine learning (ML)-based Android malware detection has been one of the most popular research topics in the mobile security community. An increasing number of research studies have demonstrated that machine learning is an effective and promising approach for malware detection, and some works have even claimed that their proposed models could achieve 99\% detection accuracy, leaving little room for further improvement. However, numerous prior studies have suggested that unrealistic experimental designs bring substantial biases, resulting in over-optimistic performance in malware detection. Unlike previous research that examined the detection performance of ML classifiers to locate the causes, this study employs Explainable AI (XAI) approaches to explore what ML-based models learned during the training process, inspecting and interpreting why ML-based malware classifiers perform so well under unrealistic experimental settings. We discover that temporal sample inconsistency in the training dataset brings over-optimistic classification performance (up to 99\% F1 score and accuracy). Importantly, our results indicate that ML models classify malware based on temporal differences between malware and benign, rather than the actual malicious behaviors. Our evaluation also confirms the fact that unrealistic experimental designs lead to not only unrealistic detection performance but also poor reliability, posing a significant obstacle to real-world applications. These findings suggest that XAI approaches should be used to help practitioners/researchers better understand how do AI/ML models (i.e., malware detection) work -- not just focusing on accuracy improvement.

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

↑