Leveraging Large Language Models and Data Augmentation in Cognitive Computing to Enhance Stock Price Predictions
Precise stock price forecasting is essential for informed decision-making in financial markets. This study examines the combination of large language models (LLMs) with data augmentation approaches, utilizing improvements in cognitive computing to enhance stock price prediction. Traditional methods rely on structured data and basic time-series analysis. However, new research shows that deep learning and transformer-based architectures can effectively process unstructured financial data, such as news articles and social media sentiment. This study employs models, such as RNN, mBERT, RoBERTa, and GPT-4 based architectures, to illustrate the efficacy of our suggested method in forecasting stock movements. The research employs data augmentation techniques, including synthetic data creation using Generative Pre-trained Transformers, to rectify imbalances in training datasets. We assess metrics like accuracy, F1-score, recall, and precision to verify the models’ performance. We also investigate the influence of preprocessing methods like text normalization and feature engineering. Extensive tests show that transformer models are much better at predicting how stock prices will move than traditional methods. For example, the GPT-4 based model got an F1 score of 0.92 and an accuracy of 0.919, which shows that LLMs have a lot of potential in financial applications.
Authors
- Nouri Hicham (ORCID: https://orcid.org/0000-0003-4055-0616)
- Zahra Berradi (ORCID: https://orcid.org/0000-0001-8965-4016)
- Nassera Habbat (ORCID: https://orcid.org/0000-0002-7648-4545)
Institutions
- Abdelmalek Essaâdi University (MA)
- Université Hassan 1er (MA)
- University of Hassan II Casablanca (MA)
Publication Details
- Published
- 2025-10-17
- DOI
- https://doi.org/10.3390/engproc2025112040
- Primary Topic
- Stock Market Forecasting Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00