Communications of the ACM, volume 67, issue 11, pages 104-112

Pitfalls in Machine Learning for Computer Security

Daniel Arp 1, 2
Erwin Quiring 3, 4
Feargus Pendlebury 5
Alexander Warnecke 1, 2
Fabio Pierazzi 6
Christian Wressnegger 7, 8
Lorenzo Cavallaro 5
Konrad Rieck 1, 2
2
 
The Berlin Institute for the Foundations of Learning and Data (BIFOLD), Berlin, Germany
3
 
International Computer Science Institute (ICSI), Berkeley, USA
8
 
KASTEL Security Research Labs, Karlsruhe, Germany
Publication typeJournal Article
Publication date2024-10-25
scimago Q1
SJR2.957
CiteScore16.1
Impact factor11.1
ISSN00010782, 15577317
Abstract

With the growing processing power of computing systems and the increasing availability of massive datasets, machine learning algorithms have led to major breakthroughs in many different areas. This development has influenced computer security, spawning a series of work on learning-based security systems, such as for malware detection, vulnerability discovery, and binary code analysis. Despite great potential, machine learning in security is prone to subtle pitfalls that undermine its performance and render learning-based systems potentially unsuitable for security tasks and practical deployment.

In this paper, we look at this problem with critical eyes. First, we identify common pitfalls in the design, implementation, and evaluation of learning-based security systems. We conduct a study of 30 papers from top-tier security conferences within the past 10 years, confirming that these pitfalls are widespread in the current security literature. In an empirical analysis, we further demonstrate how individual pitfalls can lead to unrealistic performance and interpretations, obstructing the understanding of the security problem at hand. As a remedy, we propose actionable recommendations to support researchers in avoiding or mitigating the pitfalls where possible. Furthermore, we identify open problems when applying machine learning in security and provide directions for further research.

  • We do not take into account publications without a DOI.
  • Statistics recalculated only for publications connected to researchers, organizations and labs registered on the platform.
  • Statistics recalculated weekly.

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Share
Cite this
GOST | RIS | BibTex | MLA
Found error?