All Models are Wrong, but Some(times) are Useful: Evaluating when Machine Learning Models are Useful for Detecting Novel Malware in the Wild.
Year: 2023
Type: article
Abstract: Machine learning (ML) based malware detection techniques show tremendous promise in significantly improving the malware detection rates and lowering detection times.However, in deployed scenarios, their performance is often significantly lower than in experimental settings.While several pitfalls have been described in other papers examining this phenomenon, we present an additional pitfall: optimistic generalization which we define as the misplaced confidence that a model will perform well on data that is out-of-distribution from the training data.To demonstrate this generalization bias, we propose a more realistic evaluation in the domain of malware detection-evaluating on malware families that are not included in training.We empirically demonstrate that conventional ML evaluation techniques are overly optimistic in their ability to generalize to novel malware families reducing balanced accuracy computed using cross-validation from 81.4% to 60.5%.We further examine the similarity of the test data to the training data and introduce a novel genomics-inspired distance function.Across several feature representations, we find that novel malware classes are significantly different from existing malware families, despite sharing many behaviors and characteristics.These results hold even when following data augmentation methods commonly employed by the ML community to improve generalization. SAND2022-13867CThis paper describes objective technical results and analysis.Any subjective views or opinions that might be expressed in the paper do not necessarily represent the views of the U.
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W4390179618
