English

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

Machine Learning 2025-07-01 v3 Cryptography and Security

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.

Keywords

Cite

@article{arxiv.2407.02856,
  title  = {Early-Stage Anomaly Detection: A Study of Model Performance on Complete vs. Partial Flows},
  author = {Adrian Pekar and Richard Jozsa},
  journal= {arXiv preprint arXiv:2407.02856},
  year   = {2025}
}

Comments

accepted for presentation at WTMC 2025

R2 v1 2026-06-28T17:27:32.066Z