arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01987cs.IRcs.CLcs.SIq-fin.GN
收藏

使用大型语言模型与FinBERT对新闻和报告进行金融情感分析

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

Zhejiang University(浙江大学);Lehigh University(理海大学)

Yanxin Shen, Pulin Kirin Zhang

AI总结:

本文比较了LLMs与FinBERT在金融情感分析中的表现,发现结合少样本提示工程的GPT-4o可达到与微调FinBERT相当的水平。

摘要:

金融情感分析(FSA)对于评估市场情绪和做出明智的金融决策至关重要。大型语言模型(LLMs)如BERT及其金融变体FinBERT的出现,显著增强了情感分析能力。本文研究了LLMs和FinBERT在金融情感分析中的应用,比较了它们在新闻文章、财务报告和公司公告上的表现。研究重点强调了使用零样本和少样本策略进行提示工程的优势,以提高情感分类的准确性。实验结果表明,带有金融文本少样本示例的GPT-4o,在这一专业领域中能够与经过良好微调的FinBERT相媲美。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑