Skip to content
Open access

Mixed non linear programming model for optimizing and training long short-term memory architectures: application in traffic flow forecasting

Jul 2026 · Evolutionary Systematics · Vol 17 · 0 citations · 69 references

TL;DR

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.

Read PDF

Similar papers

Open access Aug 2026

Deep Learning for VIX Volatility Forecasting: A Comparative Study of LSTM, BiLSTM, and CNN-LSTM Architectures

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 · 0 citations
Conference Jul 2026

Machine Learning Versus Deep Learning: SVR and LSTM Models for WTI Price Forecasting

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. · 0 citations
Open access Jul 2026

Comparative Study of LSTM, GRU, and CNN-Based Hybrid Models for Short-Term Load Forecasting

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 · 0 citations
Conference Jul 2026

NeuroFlexMLP: A Low Complexity MLP Architecture for Long-Term Time Series Forecasting

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. · 0 citations
Open access Aug 2026

Attention-enhanced LSTM framework for stock forecasting using Bayesian optimization

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 · 0 citations

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