From News to Trends: A Financial Time Series Forecasting Framework with LLM-Driven News Sentiment Analysis and Selective State Spaces
Preprint
- 17 April 2025
- preprint
- Published by Springer Nature in Research Square
Abstract
Stock price prediction is inherently challenging due to market volatility and the influence of external factors. Traditional forecasting methods primarily rely on historical price data, limiting their ability to capture market sentiment embedded in financial news. To address this limitation, we propose Senti-MambaMoE, a novel model that integrates historical stock prices with sentiment information extracted from financial news. Specifically, we fine-tune a DeepSeek-based large language model (LLM) for financial sentiment classification and incorporate the extracted sentiment information into our predictive framework. At the core of our approach is MambaMoE, which leverages the efficiency of state space models (SSMs) to model long-range dependencies while maintaining linear computational complexity, making it well-suited for financial time series forecasting. Additionally, the MoE mechanism improves the model’s ability to capture diverse market behaviors by dynamically selecting specialized experts based on stock data patterns. Experimental results demonstrate that Senti-MambaMoE outperforms LSTM-based models by 23.7% and Transformer-based models by 6.3%, highlighting its superior performance in short-term stock prediction.Keywords
All Related Versions
This publication has 41 references indexed in Scilit:
- Stock Price Prediction Using LLM-Based Sentiment Analysis2024
- Is Mamba effective for time series forecasting?Neurocomputing, 2024
- Learning Hierarchical Representations in Temporal and Frequency Domains for Time Series Forecasting2023
- TRNN: An efficient time-series recurrent neural network for stock price predictionInformation Sciences, 2023
- Novel optimization approach for stock price forecasting using multi-layered sequential LSTMApplied Soft Computing, 2022
- Financial time series forecasting with multi-modality graph neural networkPattern Recognition, 2022
- Deep learning methods for forecasting COVID-19 time-Series data: A Comparative studyChaos, Solitons & Fractals, 2020
- Unsupervised Pre-training of a Deep LSTM-based Stacked Autoencoder for Multivariate Time Series Forecasting ProblemsScientific Reports, 2019
- Time series forecasting of petroleum production using deep LSTM recurrent networksNeurocomputing, 2019
- Multi-channel LSTM-CNN model for Vietnamese sentiment analysis2017