Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language Models

Повышение эффективности анализа финансовых настроений с помощью больших языковых моделей, дополненных поиском
Boyu Zhang, Hongyang Yang, Tianyu Zhou, Muhammad Ali Babar, Xiao-Yang Liu
2023-11-25

F1 scoreexternal context retrievalfinancial sentiment analysisinstruction-tuned LLMsretrieval-augmented LLMs
Financial sentiment analysis is critical for valuation and investment decision-making. Traditional NLP models, however, are limited by their parameter size and the scope of their training datasets, which hampers their generalization capabilities and effectiveness in this field. Recently, Large Language Models (LLMs) pre-trained on extensive corpora have demonstrated superior performance across various NLP tasks due to their commendable zero-shot abilities. Yet, directly applying LLMs to financial sentiment analysis presents challenges: The discrepancy between the pre-training objective of LLMs and predicting the sentiment label can compromise their predictive performance. Furthermore, the succinct nature of financial news, often devoid of sufficient context, can significantly diminish the reliability of LLMs’ sentiment analysis. To address these challenges, we introduce a retrieval-augmented LLMs framework for financial sentiment analysis. This framework includes an instruction-tuned LLMs module, which ensures LLMs behave as predictors of sentiment labels, and a retrieval-augmentation module which retrieves additional context from reliable external sources. Benchmarked against traditional models and LLMs like ChatGPT and LLaMA, our approach achieves 15% to 48% performance gain in accuracy and F1 score.
1
A retrieval-augmentation module supplies contextual information from reliable external sources to address the limited context in concise financial news.
2
An instruction-tuned LLM module aligns the models’ behavior with financial sentiment-label prediction despite their original pre-training objectives.
3
Compared with traditional models and LLMs such as ChatGPT and LLaMA, the framework improves accuracy and F1 score by 15% to 48%.
4
The paper introduces a retrieval-augmented large language model framework tailored for financial sentiment analysis.

financial sentiment analysis using retrieval-augmented large language models

the predictive performance and reliability of sentiment-label classification, including the effects of instruction tuning and retrieved external context

Publication Details
Publication Date
2023-11-25
Journal
Publisher
ISSN
Cited by
180
Access Type
Author Information
Authors
Boyu Zhang
Hongyang Yang
Tianyu Zhou
Muhammad Ali Babar
Xiao-Yang Liu
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat →
Make a presentation
100%