# Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlines

arXiv: https://arxiv.org/abs/2406.13626 · HTML: https://mlsanity.com/paper/2406.13626/

## Key facts

- Cited by 8 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 32 references that are in the map.
- First posted on arXiv 19 Jun 2024.

## Builds on (most cited first, 13 of 13)

- [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://mlsanity.com/paper/1810.04805/) (2018)
- [Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Texts](https://mlsanity.com/paper/1307.5336/) (2013)
- [Deception Detection from Linguistic and Physiological Data Streams Using Bimodal Convolutional Neural Networks](https://mlsanity.com/paper/2311.10944/) (2023)
- [NeSLAM: Neural Implicit Mapping and Self-Supervised Feature Tracking With Depth Completion and Denoising](https://mlsanity.com/paper/2403.20034/) (2024)
- [Enhanced Detection Classification via Clustering SVM for Various Robot Collaboration Task](https://mlsanity.com/paper/2405.03026/) (2024)
- [Adaptive speed planning for Unmanned Vehicle Based on Deep Reinforcement Learning](https://mlsanity.com/paper/2404.17379/) (2024)
- [Efficiency optimization of large-scale language models based on deep learning in natural language processing tasks](https://mlsanity.com/paper/2405.11704/) (2024)
- [DeepGI: An Automated Approach for Gastrointestinal Tract Segmentation in MRI Scans](https://mlsanity.com/paper/2401.15354/) (2024)
- [Development and Application of a Monte Carlo Tree Search Algorithm for Simulating Da Vinci Code Game Strategies](https://mlsanity.com/paper/2403.10720/) (2024)
- [Localization Through Particle Filter Powered Neural Network Estimated Monocular Camera Poses](https://mlsanity.com/paper/2404.17685/) (2024)
- [Ensemble Methodology:Innovations in Credit Default Prediction Using LightGBM, XGBoost, and LocalEnsemble](https://mlsanity.com/paper/2402.17979/) (2024)
- [Research on Intelligent Aided Diagnosis System of Medical Image Based on Computer Deep Learning](https://mlsanity.com/paper/2404.18419/) (2024)
- [Parameterized Decision-making with Multi-modal Perception for Autonomous Driving](https://mlsanity.com/paper/2312.11935/) (2023)

## Built on by (most cited first, 8 of 8)

- [Harnessing Earnings Reports for Stock Predictions: A QLoRA-Enhanced LLM Approach](https://mlsanity.com/paper/2408.06634/) (2024)
- [Deep Learning-based Anomaly Detection and Log Analysis for Computer Networks](https://mlsanity.com/paper/2407.05639/) (2024)
- [AdaPI: Facilitating DNN Model Adaptivity for Efficient Private Inference in Edge Computing](https://mlsanity.com/paper/2407.05633/) (2024)
- [Gradient-Based Model Fingerprinting for LLM Similarity Detection and Family Classification](https://mlsanity.com/paper/2506.01631/) (2025)
- [Bridging Language Models and Financial Analysis](https://mlsanity.com/paper/2503.22693/) (2025)
- [Enhancing Exchange Rate Forecasting with Explainable Deep Learning Models](https://mlsanity.com/paper/2410.19241/) (2024)
- [Innovative Deep Learning Techniques for Obstacle Recognition: A Comparative Study of Modern Detection Algorithms](https://mlsanity.com/paper/2410.10096/) (2024)
- [Align2Act: Instruction-Tuned Models for Human-Aligned Autonomous Driving](https://mlsanity.com/paper/2510.10503/) (2025)

## Abstract (arXiv)

In this study, we explore the application of sentiment analysis on financial news headlines to understand investor sentiment. By leveraging Natural Language Processing (NLP) and Large Language Models (LLM), we analyze sentiment from the perspective of retail investors. The FinancialPhraseBank dataset, which contains categorized sentiments of financial news headlines, serves as the basis for our analysis. We fine-tuned several models, including distilbert-base-uncased, Llama, and gemma-7b, to evaluate their effectiveness in sentiment classification. Our experiments demonstrate that the fine-tuned gemma-7b model outperforms others, achieving the highest precision, recall, and F1 score. Specifically, the gemma-7b model showed significant improvements in accuracy after fine-tuning, indicating its robustness in capturing the nuances of financial sentiment. This model can be instrumental in providing market insights, risk management, and aiding investment decisions by accurately predicting the sentiment of financial news. The results highlight the potential of advanced LLMs in transforming how we analyze and interpret financial information, offering a powerful tool for stakeholders in the financial industry.
