Skip to main content
QUICK REVIEW

[Paper Review] Machine Learning (In) Security: A Stream of Problems

Fabrício Ceschin, Marcus Botacin|arXiv (Cornell University)|Oct 30, 2020
Network Security and Intrusion DetectionComputer Science11 citations
TL;DR

This paper identifies critical challenges in applying machine learning to cybersecurity, including concept drift, data labeling issues, class imbalance, adversarial attacks, and delayed labels. It proposes a comprehensive checklist to guide researchers and practitioners in building robust, real-world applicable ML solutions by addressing common pitfalls in data collection, modeling, and evaluation.

ABSTRACT

Machine Learning (ML) has been widely applied to cybersecurity and is considered state-of-the-art for solving many of the open issues in that field. However, it is very difficult to evaluate how good the produced solutions are, since the challenges faced in security may not appear in other areas. One of these challenges is the concept drift, which increases the existing arms race between attackers and defenders: malicious actors can always create novel threats to overcome the defense solutions, which may not consider them in some approaches. Due to this, it is essential to know how to properly build and evaluate an ML-based security solution. In this paper, we identify, detail, and discuss the main challenges in the correct application of ML techniques to cybersecurity data. We evaluate how concept drift, evolution, delayed labels, and adversarial ML impact the existing solutions. Moreover, we address how issues related to data collection affect the quality of the results presented in the security literature, showing that new strategies are needed to improve current solutions. Finally, we present how existing solutions may fail under certain circumstances, and propose mitigations to them, presenting a novel checklist to help the development of future ML solutions for cybersecurity.

Motivation & Objective

  • Address the growing gap between academic ML research and real-world cybersecurity applications.
  • Identify and analyze core challenges in applying ML to cybersecurity, such as concept drift, data leakage, and adversarial examples.
  • Highlight the impact of data quality issues—like class imbalance and delayed labeling—on model reliability and evaluation.
  • Propose a structured checklist to guide the development and review of ML-based cybersecurity solutions.
  • Promote the principle of 'machine learning that matters' by ensuring solutions are practical, robust, and aligned with real-world threats.

Proposed method

  • Systematically analyze existing ML-based cybersecurity solutions through a lens of real-world applicability and security robustness.
  • Categorize and discuss key challenges: concept drift, adversarial machine learning, delayed labels, and data collection issues (e.g., labeling bottlenecks, data leakage).
  • Evaluate the limitations of common ML practices in cybersecurity, such as reliance on imbalanced datasets and offline evaluation.
  • Introduce a novel, actionable checklist derived from identified pitfalls to guide model design, implementation, and evaluation.
  • Advocate for online/continuous learning and robustness verification to counter evolving threats and adversarial behavior.
  • Recommend adoption of techniques like cost-sensitive learning, one-class models, and transfer learning to improve model resilience.

Experimental results

Research questions

  • RQ1How do concept drift and adversarial examples undermine the reliability of ML-based cybersecurity systems?
  • RQ2In what ways do data collection issues—such as class imbalance, delayed labeling, and labeling bottlenecks—affect model performance and evaluation?
  • RQ3Why do many ML solutions in cybersecurity fail to generalize in real-world deployments despite strong performance in controlled experiments?
  • RQ4What systematic practices can researchers adopt to ensure their ML solutions are robust, practical, and aligned with real-world threat dynamics?
  • RQ5How can a standardized checklist improve the design, implementation, and review of ML-based cybersecurity solutions?

Key findings

  • Many ML-based cybersecurity solutions fail in practice due to unaddressed challenges like concept drift, delayed labels, and adversarial attacks.
  • Class imbalance remains a major issue, with some datasets containing only 1% to 30% malicious samples, leading to biased model performance.
  • Labeling is a critical bottleneck, as it requires expert knowledge and delays model updates, especially in fast-evolving threat landscapes.
  • Adversarial attacks can bypass models trained on static data, highlighting the need for continual learning and robustness verification.
  • Offline evaluation methods often fail to reflect real-world dynamics, especially when labels are delayed or concepts evolve over time.
  • The proposed checklist significantly improves model development rigor by systematically addressing common pitfalls in data, modeling, and evaluation.

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.