Harnessing Earnings Reports for Stock Predictions: A QLoRA-Enhanced LLM Approach
Preprint
- 18 November 2024
- preprint
- Published by MDPI AG in Preprints.org
Abstract
Accurate stock market predictions following earnings reports are crucial for investors. Traditional methods, particularly classical machine learning models, struggle with these predictions because they cannot effectively process and interpret extensive textual data contained in earnings reports and often overlook nuances that influence market movements. This paper introduces an advanced approach by employing Large Language Models (LLMs) instruction fine-tuned with a novel combination of instruction-based techniques and quantized low-rank adaptation (QLoRA) compression. Our methodology integrates `base factors', such as financial metric growth and earnings transcripts, with `external factors', including recent market indices performances and analyst grades, to create a rich, supervised dataset. This comprehensive dataset enables our models to achieve superior predictive performance in terms of accuracy, weighted F1, and Matthews correlation coefficient (MCC), especially evident in the comparison with benchmarks such as GPT-4. We specifically highlight the efficacy of the llama-3-8b-Instruct-4bit model, which showcases significant improvements over baseline models. The paper also discusses the potential of expanding the output capabilities to include a `Hold' option and extending the prediction horizon, aiming to accommodate various investment styles and time frames. This study not only demonstrates the power of integrating cutting-edge AI with fine-tuned financial data but also paves the way for future research in enhancing AI-driven financial analysis tools.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- From Twitter to Reasoner: Understand Mobility Travel Modes and Sentiment Using Large Language Models2024
- Predicting Stock Prices with FinBERT-LSTM: Integrating News Sentiment Analysis2024
- Adaptive Ensembles of Fine-Tuned Transformers for LLM-Generated Text Detection2024
- Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlines2024
- Learning to Generate Explainable Stock Predictions using Self-Reflective Large Language Models2024
- Large Language Models Can Learn Temporal Reasoning2024
- Pruning as a Domain-specific LLM Extractor2024
- Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language Models2023
- Hadamard Adapter: An Extreme Parameter-Efficient Adapter Tuning Method for Pre-trained Language Models2023
- Twitter Sentiment Analysis of Covid Vaccines2021