Skip to main content
QUICK REVIEW

[Paper 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 Science140 citations
TL;DR

This paper identifies spatial and temporal biases in Android malware evaluation, proposes constraints and a new robustness metric (AUT), and presents Tesseract, an open framework to enable unbiased, space-time aware malware classifier evaluation.

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.

Motivation & Objective

  • Identify how spatial and temporal biases distort Android malware classification evaluations.
  • Propose a rigorous space-time evaluation framework to eliminate bias in experimental setups.
  • Introduce a new metric (AUT) to quantify robustness to time decay.
  • Provide an open-source toolkit (Tesseract) to enable fair, reproducible evaluations across studies.

Proposed method

  • Analyze two representative Android malware classifiers (Alg1: linear SVM on binary features; Alg2: Random Forest on Markov-chain features) to quantify bias.
  • Define and enforce spatio-temporal constraints for training/testing splits to mimic real-world deployment.
  • Introduce AUT, a time-decay robustness metric, to summarize classifier performance over time.
  • Develop a tuning algorithm to optimize performance under constraints when malware is the minority class.
  • Implement and release Tesseract to facilitate reproducible, bias-free evaluations.

Experimental results

Research questions

  • RQ1How do spatial and temporal biases affect reported Android malware classifier performance?
  • RQ2Can spatio-temporal constraints and new metrics yield more realistic, robust evaluations across time?
  • RQ3How does bias removal alter the comparative performance of existing classifiers (Alg1, Alg2, and DL) on a large-scale Android dataset?
  • RQ4What is the impact of time decay and class imbalance on classifier effectiveness, and how can mitigation strategies be assessed?

Key findings

  • Bias can reduce realistic performance by up to 50% in practice for typical Android malware classifiers.
  • Realistic space-time evaluation settings reveal counter-intuitive results not seen under traditional benchmarks.
  • A time-aware metric (AUT) captures robustness to time decay in a single number for fair comparisons.
  • Removing bias via spatio-temporal constraints and tuning can significantly alter perceived effectiveness of classifiers.
  • Tesseract enables evaluation of mitigation strategies like active learning under unbiased conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.