Pre-trained Large Language Models for Financial Sentiment Analysis

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Luo, Wei, Gong, Dihong
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910293412544512
author Luo, Wei
Gong, Dihong
author_facet Luo, Wei
Gong, Dihong
contents Financial sentiment analysis refers to classifying financial text contents into sentiment categories (e.g. positive, negative, and neutral). In this paper, we focus on the classification of financial news title, which is a challenging task due to a lack of large amount of training samples. To overcome this difficulty, we propose to adapt the pretrained large language models (LLMs) [1, 2, 3] to solve this problem. The LLMs, which are trained from huge amount of text corpora,have an advantage in text understanding and can be effectively adapted to domain-specific task while requiring very few amount of training samples. In particular, we adapt the open-source Llama2-7B model (2023) with the supervised fine-tuning (SFT) technique [4]. Experimental evaluation shows that even with the 7B model (which is relatively small for LLMs), our approach significantly outperforms the previous state-of-the-art algorithms.
format Preprint
id arxiv_https___arxiv_org_abs_2401_05215
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Pre-trained Large Language Models for Financial Sentiment Analysis
Luo, Wei
Gong, Dihong
Computation and Language
Artificial Intelligence
Financial sentiment analysis refers to classifying financial text contents into sentiment categories (e.g. positive, negative, and neutral). In this paper, we focus on the classification of financial news title, which is a challenging task due to a lack of large amount of training samples. To overcome this difficulty, we propose to adapt the pretrained large language models (LLMs) [1, 2, 3] to solve this problem. The LLMs, which are trained from huge amount of text corpora,have an advantage in text understanding and can be effectively adapted to domain-specific task while requiring very few amount of training samples. In particular, we adapt the open-source Llama2-7B model (2023) with the supervised fine-tuning (SFT) technique [4]. Experimental evaluation shows that even with the 7B model (which is relatively small for LLMs), our approach significantly outperforms the previous state-of-the-art algorithms.
title Pre-trained Large Language Models for Financial Sentiment Analysis
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.05215