Financial Sentiment Analysis on News and Reports Using Large Language Models and FinBERT
Information Retrieval
2024-10-04 v1 Computation and Language
Social and Information Networks
General Finance
Abstract
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.
Keywords
Cite
@article{arxiv.2410.01987,
title = {Financial Sentiment Analysis on News and Reports Using Large Language Models and FinBERT},
author = {Yanxin Shen and Pulin Kirin Zhang},
journal= {arXiv preprint arXiv:2410.01987},
year = {2024}
}