arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.18471cs.IRcs.AIcs.CLcs.LGq-fin.ST
收藏

FinBloom:基于实时金融数据的知识引导大型语言模型

FinBloom: Knowledge Grounding Large Language Model with Real-time Financial Data

Indian Institute of Management Ahmedabad(印度管理学院阿赫迈德亚德分校);Aalto University School of Business(阿尔托大学商学院)

Ankur Sinha, Chaitanya Agarwal, Pekka Malo

AI总结:

FinBloom通过实时金融数据增强LLMs能力,实现高效金融任务处理。

摘要:

大型语言模型(LLMs)在生成类人响应方面表现出色,但在需要访问实时信息的交互任务中往往面临挑战。在金融领域,模型必须访问最新的信息,如最近的新闻或价格波动,以支持决策。为此,我们引入了Financial Agent,一种用于LLMs处理金融查询的知识引导方法,利用实时文本和表格数据。我们的贡献有三方面:首先,我们开发了一个包含超过50,000个金融查询及其所需上下文的金融上下文数据集。其次,我们开发了FinBloom 7B,通过在雷电报道和德国新闻代理(DPA)的1400万篇金融新闻文章以及证券交易委员会(SEC)文件的25%随机样本上微调Bloom 7B,构建了一个定制的70亿参数LLM。第三,我们使用金融上下文数据集对FinBloom 7B进行微调,使其成为金融代理。该代理生成相关的金融上下文,从而能够高效地检索实时数据以回答用户查询。通过减少延迟并消除用户手动提供准确数据的需要,我们的方法显著增强了LLMs处理动态金融任务的能力。我们提出的方法使实时金融决策、算法交易等任务更加流畅,并在高数据流速度的上下文中具有价值。

英文摘要:

Large language models (LLMs) excel at generating human-like responses but often struggle with interactive tasks that require access to real-time information. This limitation poses challenges in finance, where models must access up-to-date information, such as recent news or price movements, to support decision-making. To address this, we introduce Financial Agent, a knowledge-grounding approach for LLMs to handle financial queries using real-time text and tabular data. Our contributions are threefold: First, we develop a Financial Context Dataset of over 50,000 financial queries paired with the required context. Second, we develop FinBloom 7B, a custom 7 billion parameter LLM, by fine-tuning Bloom 7B on 14 million financial news articles from Reuters and Deutsche Presse-Agentur (DPA), alongside a random sample of 25% from 12 million Securities and Exchange Commission (SEC) filings. Third, we fine-tune FinBloom 7B using the Financial Context Dataset to serve as a Financial Agent. This agent generates relevant financial context, enabling efficient real-time data retrieval to answer user queries. By reducing latency and eliminating the need for users to manually provide accurate data, our approach significantly enhances the capability of LLMs to handle dynamic financial tasks. Our proposed approach makes real-time financial decisions, algorithmic trading and other related tasks streamlined, and is valuable in contexts with high-velocity data flows.

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

↑