A novel framework using particle swarm optimization and long short-term memory networks for stock market forcasting

Accurate stock price forecasting remains a challenging task due to the complex, nonlinear, and sentiment-driven nature of financial markets. This study presents an intelligent hybrid framework that integrates long-short-term memory (LSTM) networks with metaheuristic optimization and financial sentiment analysis to improve stock price forecasting. Initially, three single-layer, two-layers, and three-layer LSTM architectures are evaluated using fixed parameters, showing that deeper networks do not always perform better without proper tuning. Three nature-inspired algorithms, particle swarm optimization (PSO), gray wolf optimization (GWO), and artificial rabbit optimization (ARO), are used to optimize the model configurations. Experimental results showed that PSO consistently outperformed other techniques in all evaluation metrics (RMSE, MAE, R², MAPE). In the final stage, sentiment features extracted from economic news are integrated into the input data using the FinBERT model. The resulting hybrid model, SEN_PSO_LSTM, achieved superior forecasting performance on the four major stocks Apple, Amazon, Google, and Microsoft, as well as three others from diverse industries, including JPMorgan Chase in the financial sector, UnitedHealth Group in healthcare, and Toyota Motor in the automotive industry.The findings confirm that combining deep learning with hyperparametric optimization and sentiment analysis significantly improves forecasting accuracy under volatile market conditions.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-11-27
DOI
https://doi.org/10.1038/s41598-025-26087-w
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A novel framework using particle swarm optimization and long short-term memory networks for stock market forcasting

Mohammad Safari, Soodeh Hosseini
Scientific Reports
Stock Market Forecasting Methods
article

A novel framework using particle swarm optimization and long short-term memory networks for stock market forcasting

Mohammad Safari, Soodeh Hosseini
article en

Abstract

Accurate stock price forecasting remains a challenging task due to the complex, nonlinear, and sentiment-driven nature of financial markets. This study presents an intelligent hybrid framework that integrates long-short-term memory (LSTM) networks with metaheuristic optimization and financial sentiment analysis to improve stock price forecasting. Initially, three single-layer, two-layers, and three-layer LSTM architectures are evaluated using fixed parameters, showing that deeper networks do not always perform better without proper tuning. Three nature-inspired algorithms, particle swarm optimization (PSO), gray wolf optimization (GWO), and artificial rabbit optimization (ARO), are used to optimize the model configurations. Experimental results showed that PSO consistently outperformed other techniques in all evaluation metrics (RMSE, MAE, R², MAPE). In the final stage, sentiment features extracted from economic news are integrated into the input data using the FinBERT model. The resulting hybrid model, SEN_PSO_LSTM, achieved superior forecasting performance on the four major stocks Apple, Amazon, Google, and Microsoft, as well as three others from diverse industries, including JPMorgan Chase in the financial sector, UnitedHealth Group in healthcare, and Toyota Motor in the automotive industry.The findings confirm that combining deep learning with hyperparametric optimization and sentiment analysis significantly improves forecasting accuracy under volatile market conditions.

Scientific ReportsVol. 15(1)
Shahid Bahonar University of Kerman (IR)
Openalex Percentile: Top 58%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A novel framework using particle swarm optimization and long short-term memory networks for stock market forcasting — Mohammad Safari, Soodeh Hosseini · Scientific Reports (2025) | TGRS Research Map | TGRS