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

Yue Liu, Chakkrit Tantithamthavorn, Li Li, Yepang Liu
9/2/2022
cs.CRcs.SE

Official code: yueyueL/XAIforAndroidMalware (15 stars, last commit 2022-08-24).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

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

152Aug 21, 20224 years ago
android-appexplainable-aimalware-detectionreliability

Similar Papers

Cite this paper

@article{liu2022explainable,
  title  = {Explainable AI for Android Malware Detection: Towards Understanding Why the Models Perform So Well?},
  author = {Yue Liu and Chakkrit Tantithamthavorn and Li Li and Yepang Liu},
  year   = {2022},
  eprint = {2209.00812},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.00812}
}

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/2209.00812.svg)](https://codeofpaper.com/paper/2209.00812)

Discussion