Financial Sentiment Analysis on News and Reports Using Large Language Models and FinBERT

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shen, Yanxin, Zhang, Pulin Kirin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910630539165696
author Shen, Yanxin
Zhang, Pulin Kirin
author_facet Shen, Yanxin
Zhang, Pulin Kirin
contents Financial sentiment analysis (FSA) is crucial for evaluating market sentiment and making well-informed financial decisions. The advent of large language models (LLMs) such as BERT and its financial variant, FinBERT, has notably enhanced sentiment analysis capabilities. This paper investigates the application of LLMs and FinBERT for FSA, comparing their performance on news articles, financial reports and company announcements. The study emphasizes the advantages of prompt engineering with zero-shot and few-shot strategy to improve sentiment classification accuracy. Experimental results indicate that GPT-4o, with few-shot examples of financial texts, can be as competent as a well fine-tuned FinBERT in this specialized field.
format Preprint
id arxiv_https___arxiv_org_abs_2410_01987
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Financial Sentiment Analysis on News and Reports Using Large Language Models and FinBERT
Shen, Yanxin
Zhang, Pulin Kirin
Information Retrieval
Computation and Language
Social and Information Networks
General Finance
Financial sentiment analysis (FSA) is crucial for evaluating market sentiment and making well-informed financial decisions. The advent of large language models (LLMs) such as BERT and its financial variant, FinBERT, has notably enhanced sentiment analysis capabilities. This paper investigates the application of LLMs and FinBERT for FSA, comparing their performance on news articles, financial reports and company announcements. The study emphasizes the advantages of prompt engineering with zero-shot and few-shot strategy to improve sentiment classification accuracy. Experimental results indicate that GPT-4o, with few-shot examples of financial texts, can be as competent as a well fine-tuned FinBERT in this specialized field.
title Financial Sentiment Analysis on News and Reports Using Large Language Models and FinBERT
topic Information Retrieval
Computation and Language
Social and Information Networks
General Finance
url https://arxiv.org/abs/2410.01987