Saved in:
Bibliographic Details
Main Authors: Mo, Kangtong, Liu, Wenyan, Xu, Xuanzhen, Yu, Chang, Zou, Yuelin, Xia, Fangqing
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.13626
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917699492249600
author Mo, Kangtong
Liu, Wenyan
Xu, Xuanzhen
Yu, Chang
Zou, Yuelin
Xia, Fangqing
author_facet Mo, Kangtong
Liu, Wenyan
Xu, Xuanzhen
Yu, Chang
Zou, Yuelin
Xia, Fangqing
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_13626
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlines
Mo, Kangtong
Liu, Wenyan
Xu, Xuanzhen
Yu, Chang
Zou, Yuelin
Xia, Fangqing
Computation and Language
Artificial Intelligence
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.
title Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlines
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.13626