Bi-LSTM-Based Adaptive Traffic Prediction for Software-Defined Networks
Abstract
Accurate network traffic forecasting is fundamental to Quality of Service enforcement, proactive congestion control, and dynamic resource allocation in modern backbone and software-defined networks. However, existing approaches often lack adaptability to non-stationary traffic patterns and fail to provide a consistent comparative evaluation across diverse models under unified experimental conditions. This paper presents an adaptive, data-driven framework that integrates Bidirectional LSTM (Bi-LSTM), LSTM, Gated Recurrent Units (GRU), Random Forest, XGBoost, Support Vector Regression (SVR), and classical ARIMA regressors for short- and medium-term traffic forecasting. The proposed architecture couples multi-scale temporal feature extraction with a feedback-driven online retraining loop, enabling continuous adaptation to distributional shifts. Extensive experiments are conducted on two publicly available datasets CAIDA Equinix backbone traces and the MAWI traffic archive comprising over 72 hours of flow-level measurements at one-minute resolution. Bi-LSTM achieves the lowest RMSE of 0.0287 Gbps and the highest $R^{2}=0.9714$, outperforming ARIMA by $\mathbf{7 5 . 2 \%}$ and vanilla LSTM by $\mathbf{8 . 0 \%}$. All results are confirmed via paired Diebold-Mariano (DM) tests and Student’s t-tests $(p \lt 0.01)$. System inference latency of 2.3 ms per batch satisfies real-time SDN control-plane requirements. Code and preprocessing scripts will be made publicly available to ensure full reproducibility.