← Latest papers
💻 computer science

Three State Evaluation of Flow based Intrusion Detection

This paper proposes a three-state flow-based intrusion detection system that identifies pre-intrusion reconnaissance activities, demonstrating that a simpler gradient boosted tree model outperforms complex neural networks in stability and performance while revealing that standard shuffled data partitions artificially inflate results and that detection efficacy for early attack stages varies significantly between port scanning and infiltration.

Original authors: Aditya Godase, Sarthak Godge, Prathamesh Bhawari, Vaidahi Gotmare

Published 2026-11-25
📖 5 min read🧠 Deep dive

Original authors: Aditya Godase, Sarthak Godge, Prathamesh Bhawari, Vaidahi Gotmare

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the vast, invisible highways of the internet, data travels in streams called flows, moving between computers like cars on a road. Security systems designed to protect these networks act as traffic monitors, watching for signs of trouble. Traditionally, these monitors have operated with a simple binary logic: a flow is either normal, everyday traffic, or it is an active attack. This approach works well for stopping obvious, loud assaults, like a flood of data meant to overwhelm a server. However, it misses the quiet, preparatory work that often happens before an attack begins. Before a hacker strikes, they usually spend time probing the network, scanning for open doors and mapping out the landscape. To a standard monitor, these probing actions often look harmless, blending in with normal activity until it is too late. The challenge for modern security is to recognize these early warning signs not as noise, but as a distinct phase of danger, allowing defenders to intervene before the real breach occurs.

A team of researchers at COEP Technological University in Pune set out to solve this problem by rethinking how these security monitors classify network traffic. Instead of just asking if an attack is happening, they proposed a three-state system: normal traffic, pre-intrusion reconnaissance, and active attacks. The middle category, reconnaissance, was the key innovation. Rather than guessing that a flow is suspicious simply because an attack happened later, the researchers defined this state based on the actual content of the data itself. They looked for specific behaviors, such as port scanning, where a system rapidly checks many connections to see which ones are open, or infiltration attempts where an attacker tries to gain a foothold. By training their detection systems to recognize these specific patterns as a distinct category, they hoped to catch the threat earlier in the process.

To test this idea, the researchers used two large, publicly available datasets containing millions of recorded network flows. They organized this data into groups of twenty consecutive flows, creating a short window of time to analyze. This approach allowed them to see the context of the traffic, much like reading a sentence rather than just a single word. They then built and tested several different computer models to see which one could best distinguish between the three states. Some models were complex, using advanced neural networks designed to learn from the sequence of data, while others were simpler, relying on basic summary statistics of the traffic. They also experimented with different ways of splitting the data for testing, ensuring that the groups used for training did not accidentally overlap with the groups used for testing, a common pitfall that can make results look artificially good.

The results revealed a surprising truth about how these systems learn. The researchers found that looking at a window of twenty flows significantly improved the detection rate compared to looking at single records in isolation, boosting the overall performance score by more than three points. However, the complexity of the model mattered less than expected. The most sophisticated neural networks, which were designed to understand the order and sequence of the data, did not outperform the simpler models that just looked at the aggregated statistics of the twenty-flow window. In fact, the simpler models were not only just as accurate but also far more consistent, producing nearly identical results every time they were run, whereas the complex models varied more depending on how they were initialized. This suggests that for this specific type of network data, the raw summary of what happened in a short window contains almost all the necessary information, and the complex machinery of sequence learning adds little value.

A critical part of the study involved exposing a flaw in how many previous security studies were conducted. The researchers compared their strict, block-based testing method against the traditional method of randomly shuffling the data before splitting it. When they used the traditional shuffling method, the performance scores jumped dramatically, with the average precision for detecting reconnaissance rising by over twelve points. This massive increase was not due to a better model, but because the random shuffling accidentally placed identical or nearly identical data packets into both the training and testing sets. The models were essentially memorizing the test data rather than learning to detect new threats. This finding explains why many other studies in the field report near-perfect scores; those results were often inflated by this data leakage. When the researchers removed this leakage and used a strict, chronological split, the scores dropped to more realistic levels, revealing that the true difficulty of the task had been hidden.

The study also highlighted a significant gap in what these systems can actually detect. While the models were exceptionally good at spotting port scanning, correctly identifying it nearly every time, they struggled with infiltration attempts. The ability to detect these more subtle, sophisticated intrusions varied widely, with some models catching them less than half the time. This means that while the system is excellent at spotting the initial, noisy probing of a network, it is not yet reliable at identifying the more calculated attempts to sneak inside. The researchers concluded that the real challenge is not building more complex architectures, but rather improving the detection of these specific infiltration behaviors. They also noted that the datasets they used contained known labeling errors and duplicates, which likely affected the results, suggesting that future work needs to be done on cleaner, corrected data. Ultimately, the paper demonstrates that a simpler, more rigorous approach to testing and a focus on specific behavioral patterns offers a clearer path to understanding network security than chasing increasingly complex algorithms.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →