arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.09654cs.CRstat.ML
收藏

我们可以利用预测不确定性来检测Android恶意软件检测中的数据集偏移和对抗性示例吗?

Can We Leverage Predictive Uncertainty to Detect Dataset Shift and Adversarial Examples in Android Malware Detection?

Deqiang Li, Tian Qiu, Shuo Chen, Qianmu Li, Shouhuai Xu

摘要:

检测恶意软件(malware)的深度学习方法很有前途,但尚未解决数据集偏移的问题,即与测试集相关联的示例及其标签的联合分布与训练集的不同。这个问题会导致深度学习模型在用户未察觉的情况下退化。为了缓解这个问题,一种方法是让分类器不仅预测给定示例上的标签,而且还在预测的标签上呈现其不确定性(或置信度),从而防御者可以决定是否使用预测的标签。虽然直观和明显的重要性,这种方法的能力和局限性还没有得到很好的理解。在本文中,我们进行了实证研究,以评估恶意软件检测器的预测不确定性的质量。具体来说,我们重新设计和构建了24个Android恶意软件检测器(通过使用6种校准方法改造4个现成的检测器),并使用9个指标量化其不确定性,其中包括3个处理数据不平衡的指标。我们的主要发现是:(i)预测不确定性确实有助于在存在数据集移位的情况下实现可靠的恶意软件检测,但不能应对对抗性逃避攻击;(ii)近似贝叶斯方法有望校准和推广恶意软件检测器以应对数据集移位,但不能应对对抗性逃避攻击;(iii)对抗性规避攻击可以使校准方法无用,并且量化与对抗性示例的预测标签相关联的不确定性是一个开放的问题(即,使用预测不确定性来检测对抗性示例是无效的)。

英文摘要:

The deep learning approach to detecting malicious software (malware) is promising but has yet to tackle the problem of dataset shift, namely that the joint distribution of examples and their labels associated with the test set is different from that of the training set. This problem causes the degradation of deep learning models without users' notice. In order to alleviate the problem, one approach is to let a classifier not only predict the label on a given example but also present its uncertainty (or confidence) on the predicted label, whereby a defender can decide whether to use the predicted label or not. While intuitive and clearly important, the capabilities and limitations of this approach have not been well understood. In this paper, we conduct an empirical study to evaluate the quality of predictive uncertainties of malware detectors. Specifically, we re-design and build 24 Android malware detectors (by transforming four off-the-shelf detectors with six calibration methods) and quantify their uncertainties with nine metrics, including three metrics dealing with data imbalance. Our main findings are: (i) predictive uncertainty indeed helps achieve reliable malware detection in the presence of dataset shift, but cannot cope with adversarial evasion attacks; (ii) approximate Bayesian methods are promising to calibrate and generalize malware detectors to deal with dataset shift, but cannot cope with adversarial evasion attacks; (iii) adversarial evasion attacks can render calibration methods useless, and it is an open problem to quantify the uncertainty associated with the predicted labels of adversarial examples (i.e., it is not effective to use predictive uncertainty to detect adversarial examples).

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

↑