Skip to content
Open access

Real-Time Network Traffic Classification With Learned Feature Imputation and SDN-Based Automated Response

2026 · IEEE Open Journal of the Communications Society · Vol 7, pp. 12529-12549 · 0 citations · 31 references
Computer Science

Abstract

Real-time deployment of deep learning (DL)-based network intrusion detection systems (NIDS) is often limited by a feature-space mismatch between offline training datasets and online monitoring tools. Benchmark datasets commonly provide CICFlowMeter-style flow statistics, whereas operational monitors such as Zeek expose only a smaller set of real-time observable attributes. To address this gap, we propose an end-to-end workflow for multi-dimensional network traffic classification (NTC) that combines learned feature imputation (FI), TensorFlow Serving-based inference, and software-defined networking (SDN)-enabled response. Zeek-derived observable features are used by a lightweight TSMixer-inspired imputation model to reconstruct the missing CICFlowMeter-compatible attributes required by pre-trained classifiers. The completed feature vectors are normalized and sent through FastAPI to Docker-hosted Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) models for binary, attack-type, and application-level classification. Predictions are enforced through OpenFlow rules in a Ryu controller using confidence-aware actions: malicious flows with confidence above 80% are dropped, flows with confidence between 60% and 80% are paused, and flows with confidence below 60% are allowed. A Gradio dashboard supports real-time monitoring in a Mininet-based testbed. The system achieves 99.74% binary accuracy, 96.83% attack-classification accuracy, 98.39% application-classification accuracy, and maximum R2 = 0.9015 for continuous feature imputation. Once a completed flow record is available, the independently benchmarked processing stages yield a composed mean processing estimate of approximately 25.7 ms from feature completion, inference, network transmission, and SDN rule installation.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.