Time Matters: Temporal NetFlow Features for ML-Based Network Intrusion Detection
Top Cited Papers
Open Access
- 28 April 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 14, 66899-66913
Abstract
Most machine learning-based network intrusion detection systems (NIDS) rely on per-flow time-agnostic feature vectors, representing each flow using structural NetFlow features without explicit temporal information. This representation limits the ability to capture the intrinsic temporal structure of network traffic, such as event sequencing, inter-arrival dynamics, and non-stationary rate fluctuations. Consequently, the contribution of these temporal dependencies to detection performance remains under-characterised. In this work, we evaluate the extent to which sequential architectures, specifically Transformers, Long Short-Term Memory networks, and one-dimensional Convolutional Neural Networks, can exploit time-dependent information under controlled cross-dataset conditions. To facilitate this analysis, we introduce NF3, a temporally enriched extension of existing NetFlow-based benchmarks, which integrates fine-grained timestamps and inter-arrival-time statistics. Using these augmented datasets, we quantify temporal regularities in benign and malicious traffic and benchmark the ability of each architecture to learn time-dependent representations in both binary and multi-class settings. Our results demonstrate that augmenting conventional flow features with temporal information yields consistent gains; binary detection improves by up to 3% in F1 score, while macro-averaged multi-class F1 increases by approximately 27%, with the most significant improvements occurring in attack classes with pronounced temporal signatures. These findings indicate that incorporating time-dependent information enhances both the discriminative power and behavioural interpretability of modern NIDS.Keywords
This publication has 48 references indexed in Scilit:
- Attack-specific feature analysis framework for NetFlow IoT datasetsComputers & Security, 2025
- Feature extraction for machine learning-based intrusion detection in IoT networksDigital Communications and Networks, 2024
- FlowTransformer: A transformer framework for flow-based network intrusion detection systemsExpert Systems with Applications, 2023
- Evaluating Standard Feature Sets Towards Increased Generalisability and Explainability of ML-Based Network Intrusion DetectionBig Data Research, 2022
- Towards a Standard Feature Set for Network Intrusion Detection System DatasetsMobile Networks and Applications, 2021
- NetFlow Datasets for Machine Learning-Based Network Intrusion Detection Systems2021
- Comprehensive analysis and recommendation of feature evaluation measures for intrusion detectionHeliyon, 2020
- Towards the development of realistic botnet dataset in the Internet of Things for network forensic analytics: Bot-IoT datasetFuture Generation Computer Systems, 2019
- Flow-based intrusion detection: Techniques and challengesComputers & Security, 2017
- A survey of network flow applicationsJournal of Network and Computer Applications, 2013