It is demonstrated that framing LSTM architecture optimization as a mixed-variable combinatorial problem, coupled with PSO-based optimization, substantially improves forecasting performance, offering a robust and versatile strategy for accurate traffic prediction and other complex sequential data applications.
Abstract
Long short-term memory (LSTM) networks, a class of recurrent neural networks (RNNs), are widely used for sequential data modeling and time series forecasting. Their predictive accuracy, however, strongly depends on architectural choices and hyperparameter settings. In this study, we formulate LSTM architecture optimization as a mixed-variable combinatorial problem and propose a hybrid framework combining Particle Swarm Optimization (PSO) with the Adam optimizer to adaptively tune various LSTM variants, including standard LSTM, stacked LSTM (sLSTM), multiplicative LSTM (mLSTM), and extended LSTM (xLSTM). The approach is evaluated on two traffic flow datasets: the Metro Interstate dataset with daily forecasting intervals, and the PeMS datasets with one-hour ahead predictions across multiple sensor networks. Experimental results reveal a consistent performance hierarchy: the PSO-optimized xLSTM achieves the highest predictive accuracy (MAE = 257.83, RMSE = 385.97, SMAPE = 11.88%, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$R^2 = 0.961$$\end{document} on Metro Interstate; MAE = 6.056, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$R^2 = 0.992$$\end{document} on PeMS08), followed by the mLSTM, while standard LSTM and sLSTM lag behind. These findings demonstrate that framing LSTM architecture optimization as a mixed-variable combinatorial problem, coupled with PSO-based optimization, substantially improves forecasting performance, offering a robust and versatile strategy for accurate traffic prediction and other complex sequential data applications.
The CNN-LSTM model consistently outperforms both unidirectional and bidirectional LSTMs, and consistently outperforms both unidirectional and bidirectional LSTMs during periods of market turbulence, with CNN-LSTM demonstrating the strongest resilience.
Siyi Zheng· Applied and Computational En...· 0 citations
This study compares Support Vector Regression (SVR) and Long Short-Term Memory (LSTM) models for forecasting annual West Texas Intermediate (WTI) crude oil prices using data from 1981-2023, with projections to 2035. The US Dollar Index (DXY) is incorporated as an explanatory variable to capture exchange-rate effects in...
R. Parvin, Rafayet Rahman Ridoy, Tofayel Ahmed et al.· 2026 International Conferenc...· 0 citations
The results indicate that GRU consistently achieves the best performance in terms of mean absolute percentage error, whereas CNN-RNN hybrid models show sensitivity to the depth of architecture and choice of activation function.
Muath E. Alharbi, Sreerama Kumar, A. Milyani· European Journal of Engineer...· 0 citations
Forecasting time series over long horizons is essential for proactive decision-making in many systems. Recent research has focused on transformer-based architectures, which capture long-range dependencies in sequential data. However, several studies show that simpler linear models can outperform transformers by avoidin...
P. F. Pérez, Claudio Fiandrino, Marco Fiore et al.· La Main· 0 citations
A hybrid framework by integrating Multi-Head Self-Attention mechanism into baseline LSTM architecture to dynamically weight critical historical features, combined with Bayesian optimization to systematically refine hyper-parameters for superior forecasting accuracy is proposed.
S. Shameem, Sonal S. Deshmukh· Indian Journal of Science an...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.