Skip to main content
QUICK REVIEW

[论文解读] TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Time

Feargus Pendlebury, Fabio Pierazzi|arXiv (Cornell University)|Jul 20, 2018
Advanced Malware Detection TechniquesComputer Science被引用 140
一句话总结

这篇论文在 Android 恶意软件评估中识别时空偏差,提出约束和新的鲁棒性度量(AUT),并展示 Tesseract,一个开源框架,以实现无偏、具时空感知的恶意软件分类器评估。

ABSTRACT

Is Android malware classification a solved problem? Published F1 scores of up to 0.99 appear to leave very little room for improvement. In this paper, we argue that results are commonly inflated due to two pervasive sources of experimental bias: "spatial bias" caused by distributions of training and testing data that are not representative of a real-world deployment; and "temporal bias" caused by incorrect time splits of training and testing sets, leading to impossible configurations. We propose a set of space and time constraints for experiment design that eliminates both sources of bias. We introduce a new metric that summarizes the expected robustness of a classifier in a real-world setting, and we present an algorithm to tune its performance. Finally, we demonstrate how this allows us to evaluate mitigation strategies for time decay such as active learning. We have implemented our solutions in TESSERACT, an open source evaluation framework for comparing malware classifiers in a realistic setting. We used TESSERACT to evaluate three Android malware classifiers from the literature on a dataset of 129K applications spanning over three years. Our evaluation confirms that earlier published results are biased, while also revealing counter-intuitive performance and showing that appropriate tuning can lead to significant improvements.

研究动机与目标

  • 识别空间和时间偏差如何扭曲 Android 恶意软件分类评估。
  • 提出一个严格的时空评估框架,以消除实验设置中的偏差。
  • 引入一种新度量(AUT)以量化对时间衰减的鲁棒性。
  • 提供一个开源工具包(Tesseract),使跨研究的评估公平、可重复。

提出的方法

  • 分析两个代表性的 Android 恶意软件分类器(Alg1: 基于二元特征的线性SVM;Alg2: 基于马尔可夫链特征的随机森林)以量化偏差。
  • 定义并执行训练/测试划分的时空约束,以模拟真实部署。
  • 引入 AUT,一种对时间衰减鲁棒性的度量,用以总结随时间的分类器性能。
  • 开发一个在恶意软件为少数类时,在约束下优化性能的调优算法。
  • 实现并发布 Tesseract,以促进可重复、无偏的评估。

实验结果

研究问题

  • RQ1空间和时间偏差如何影响报告的 Android 恶意软件分类器性能?
  • RQ2时空约束和新度量是否能在跨时间上实现更现实、稳健的评估?
  • RQ3消除偏差如何改变现有分类器(Alg1、Alg2 及 DL)在大规模 Android 数据集上的比较性能?
  • RQ4时间衰减和类别不平衡对分类器有效性有何影响,如何评估缓解策略?

主要发现

  • 偏差在实际中可使典型 Android 恶意软件分类器的现实性能下降高达 50%。
  • 现实的时空评估设置揭示在传统基准下未曾出现的反直觉结果。
  • 一个对时间有感知的度量(AUT)用单个数值捕捉对时间衰减的鲁棒性,便于公平比较。
  • 通过时空约束和调优去偏差可以显著改变对分类器有效性的感知。
  • Tesseract 使在无偏条件下评估如主动学习等缓解策略成为可能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。