Paper: arXiv 2603.05917
Authors: Mohammad Al Ridhawi, Mahtab Haj Ali, Hussein Al Osman
Abstract
Stock market prediction presents considerable challenges for investors, financial institutions, and policymakers operating in complex market environments characterized by noise, non-stationarity, and behavioral dynamics. Traditional forecasting methods, including fundamental analysis and technical indicators, often fail to capture the intricate patterns and cross-sectional dependencies inherent in financial markets. This paper presents an integrated framework combining a node transformer architecture with BERT-based sentiment analysis for stock price forecasting. The proposed model represents the stock market as a graph structure where individual stocks form nodes and edges capture relationships including sectoral affiliations, correlated price movements, and supply chain connections. A fine-tuned BERT model extracts sentiment information from social media posts and combines it with quantitative market features through attention-based fusion mechanisms. The node transformer processes historical market data while capturing both temporal evolution and cross-sectional dependencies among stocks. Experiments conducted on 20 S&P 500 stocks spanning January 1982 to March 2025 demonstrate that the integrated model achieves a mean absolute percentage error (MAPE) of 0.80% for one-day-ahead predictions, compared to 1.20% for ARIMA and 1.00% for LSTM. The inclusion of sentiment analysis reduces prediction error by 10% overall and 25% during earnings announcements, while the graph-based architecture contributes an additional 15% improvement by capturing inter-stock dependencies. Directional accuracy reaches 65% for one-day forecasts. Statistical validation through paired t-tests confirms the significance of these improvements (p < 0.05 for all comparisons). The model maintains lower error during high-volatility periods, achieving MAPE of 1.50% while baseline models range from 1.60% to 2.10%.
Complexity vs Empirical Score
- Math Complexity: 5.5/10
- Empirical Rigor: 7.5/10
- Quadrant: Holy Grail — high math complexity, high empirical rigor
Why this score: The paper provides a solid integration of Graph Transformer networks with fine-tuned BERT sentiment analysis for multi-modal stock prediction. Empirical validation is strong, featuring extensive historical data, baseline comparisons, and statistical significance testing via paired t-tests.
Research Flowchart
flowchart TD
A[Research Goal: Improve Stock Market Prediction Accuracy & Capture Inter-Stock Dependencies] --> B[Data Inputs: Historical S&P 500 Data 1982-2025 & Social Media Posts]
B --> C[Sentiment Extraction & Graph Modeling: Fine-Tuned BERT & Graph Structure Setup]
C --> D[Model Processing: Node Transformer with Attention-Based Sentiment Fusion]
D --> E[Model Evaluation: 1-Day-Ahead Price Forecasting & Statistical Validation]
E --> F[Key Outcomes: 0.80% MAPE, 65% Directional Accuracy & Superior Volatility Performance]
Cited References (33)
- Prospect theory: An analysis of decision under risk (1979)
- Efficient capital markets: A review of theory and empirical work (1970)
- Technical analysis of the financial markets: A comprehensive guide to trading methods and applications (1999)
- Stock market prediction via deep learning techniques: A survey — → 2212.12717
- Deep learning with long short-term memory networks for financial market predictions (2018)
- Attention is all you need (2017)
- A comprehensive survey on graph neural networks (2020)
- NodeFormer: A scalable graph structure learning transformer for node classification (2022)
and 25 more
- BERT : Pre-training of deep bidirectional transformers for language understanding (2019)
- Comparison between autoregressive integrated moving average and long short-term memory models for stock price prediction (2023)
- The ARIMA model for the Indonesia stock price (2017)
- A na "i ve SVM-KNN based stock market trend reversal analysis for I ndian benchmark indices (2015)
- Prediction of stock index of T ata S teel using hybrid machine learning based optimization techniques (2019)
- Predicting the direction of stock market prices using tree-based classifiers (2019)
- Convolutional neural network for stock trading using technical indicators (2022)
- Stock market trend prediction using high-order information of time series (2019)
- Recurrent neural networks approach to the financial forecast of G oogle assets (2017)
- Stacked deep learning structure with bidirectional long-short term memory for stock market prediction (2020)
- A new deep network model for stock price prediction (2022)
- Hybrid deep learning model for stock price prediction (2018)
- A novel graph convolutional feature based convolutional neural network for stock trend prediction (2021)
- MG-Conv : A spatiotemporal multi-graph convolutional neural network for stock market index trend prediction (2022)
- A financial forecasting model based on transformer architecture (2019)
- A CNN-BiLSTM-AM method for stock price prediction (2021)
- SemEval -2017 Task 5: Fine-grained sentiment analysis on financial microblogs and news (2017)
- Market efficiency in the age of big data (2022)
- Information in financial markets and its real effects (2023)
- Comparing predictive accuracy (1995)
- Semi-supervised classification with graph convolutional networks (2017)
- Enhancing stock market prediction with hybrid deep learning: Integrating LSTM , transformer attention, federated learning, and sentiment analysis (2025) — link
- EGCN : Entropy-based graph convolutional network for anomalous pattern detection and forecasting in real estate markets (2025) — link
- Enhancing real estate prediction with entropy-based pattern analysis and economic sentiment integration (2025) — link
- Stock price forecasting from sentiment and financial stock data using machine learning (2023) — link
1 of 33 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.