arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04873cs.CLcs.AIq-fin.CP
收藏

大型语言模型是金融情感分析的良好上下文学习者吗?

Are Large Language Models Good In-context Learners for Financial Sentiment Analysis?

Kenan-Flagler Business School, University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校凯南-弗拉格勒商学院)

Xinyu Wei, Luojia Liu

AI总结:

本文首次系统研究大型语言模型在金融情感分析中的上下文学习能力,覆盖DeepSeek V3等现代LLMs及多种样本选择方法,并通过实验验证其有效性。

摘要:

近年来,拥有数千亿参数的大型语言模型(LLMs)展现出涌现能力,即使未在领域特定数据上微调,也能在多个领域超越传统方法。然而,在金融情感分析(FSA)——金融人工智能中的一项基础任务——中,这些模型常常面临各种挑战,例如复杂的金融术语、主观的人类情绪以及模糊的倾向表达。本文旨在回答一个根本性问题:LLMs是否是FSA的良好上下文学习者?鉴于在金融特定数据上对这些模型进行微调即便并非完全不可能,也是十分困难的,揭示这一问题能够提供有益见解,即LLMs是否能够通过将金融文档-情感对的上下文示例泛化到新文档的情感分析中,来学会应对上述挑战。据我们所知,这是首篇探索FSA上下文学习的论文,覆盖了大多数现代LLMs(包括最近发布的DeepSeek V3)以及多种上下文样本选择方法。全面的实验验证了LLMs在FSA上的上下文学习能力。

英文摘要:

Recently, large language models (LLMs) with hundreds of billions of parameters have demonstrated the emergent ability, surpassing traditional methods in various domains even without fine-tuning over domain-specific data. However, when it comes to financial sentiment analysis (FSA)$\unicode{x2013}$a fundamental task in financial AI$\unicode{x2013}$these models often encounter various challenges, such as complex financial terminology, subjective human emotions, and ambiguous inclination expressions. In this paper, we aim to answer the fundamental question: whether LLMs are good in-context learners for FSA? Unveiling this question can yield informative insights on whether LLMs can learn to address the challenges by generalizing in-context demonstrations of financial document-sentiment pairs to the sentiment analysis of new documents, given that finetuning these models on finance-specific data is difficult, if not impossible at all. To the best of our knowledge, this is the first paper exploring in-context learning for FSA that covers most modern LLMs (recently released DeepSeek V3 included) and multiple in-context sample selection methods. Comprehensive experiments validate the in-context learning capability of LLMs for FSA.

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

↑