Early-Stage Anomaly Detection: A Study of Model Performance on Complete vs. Partial Flows

Adrian Pekar, Richard Jozsa
7/3/2024
cs.LGcs.CR

No official code found. Best implementation: FlowFrontiers/CyberML-CompleteVsFirstN (0 stars, last commit 2025-06-30).

Abstract

This study investigates the efficacy of machine learning models in network security threat detection through the critical lens of partial versus complete flow information, addressing a common gap between research settings and real-time operational needs. We systematically evaluate how a standard benchmark model, Random Forest, performs under varying training and testing conditions (complete/complete, partial/partial, complete/partial), quantifying the performance impact when dealing with the incomplete data typical in real-time environments. Our findings demonstrate a significant performance difference, with precision and recall dropping by up to 30% under certain conditions when models trained on complete flows are tested against partial flows. The study also reveals that, for the evaluated dataset and model, a minimum threshold around 7 packets in the test set appears necessary for maintaining reliable detection rates, providing valuable, quantified insights for developing more realistic real-time detection strategies.

View on arXivView PDF

Code Implementations(1)

00Python, Jupyter NotebookJun 23, 20241 years ago

Similar Papers

Cite this paper

@article{pekar2024earlystage,
  title  = {Early-Stage Anomaly Detection: A Study of Model Performance on Complete vs. Partial Flows},
  author = {Adrian Pekar and Richard Jozsa},
  year   = {2024},
  eprint = {2407.02856},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.02856v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.02856.svg)](https://codeofpaper.com/paper/2407.02856)

Discussion