arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.15684cs.IRcs.AI
收藏

一种面向实时金融信息搜索的大语言模型智能体框架

An Agent Framework for Real-Time Financial Information Searching with Large Language Models

Fudan University(复旦大学);JF SmartInvest Holdings(JF智投控股);Johns Hopkins University(约翰斯·霍普金斯大学)

Jinzheng Li, Jingshu Zhang, Hongguang Li, Yiqing Shen

AI总结:

针对现有LLM结合搜索方案在金融场景下的三大缺陷,提出含四大组件的FinSearch智能体搜索框架,并构建FinSearchBench-24基准用于性能评估。

摘要:

金融决策需要处理海量实时信息,同时理解这些信息之间复杂的时序关系。传统搜索引擎虽擅长提供实时信息访问能力,却往往难以理解复杂的用户意图与上下文细微差别。反之,大语言模型(LLMs)虽具备推理与交互能力,但在无法获取当前数据的情况下可能生成并不可靠的输出。尽管近期已有研究尝试将LLMs与搜索能力相结合,但这些方案存在三大缺陷:(1)对专业金融数据的访问受限;(2)查询结构静态,无法适配动态市场行情;(3)结果生成的时序感知能力不足。\n为解决上述挑战,我们提出FinSearch,这是一款专为金融场景设计的新型基于智能体的搜索框架,可对接市场数据、股票数据、新闻数据等多元金融数据源。FinSearch的创新之处在于包含四大核心组件:(1)基于LLM的多步搜索预规划器,可将用户查询拆解为结构化子查询,并通过图表示将子查询映射至对应数据源;(2)带基于LLM的自适应查询重写器的搜索执行器,负责执行每个子查询的搜索任务,同时根据中间搜索结果动态优化后续节点的子查询;(3)时序加权机制,可根据从用户查询中推断出的时间上下文,对信息相关性进行优先级排序;(4)基于LLM的响应生成器,可将搜索结果整合成连贯、贴合上下文的输出。\n为评估FinSearch的性能,我们构建了FinSearchBench-24基准数据集,该数据集包含1500道四选一题目,覆盖股票市场、利率变动、货币政策、行业发展四大领域,时间跨度为2024年6月至10月。

英文摘要:

Financial decision-making requires processing vast amounts of real-time information while understanding their complex temporal relationships. While traditional search engines excel at providing real-time information access, they often struggle to comprehend sophisticated user intentions and contextual nuances. Conversely, Large Language Models (LLMs) demonstrate reasoning and interaction capabilities but may generate unreliable outputs without access to current data. While recent attempts have been made to combine LLMs with search capabilities, they suffer from (1) restricted access to specialized financial data, (2) static query structures that cannot adapt to dynamic market conditions, and (3) insufficient temporal awareness in result generation. To address these challenges, we present FinSearch, a novel agent-based search framework specifically designed for financial applications that interface with diverse financial data sources including market, stock, and news data. Innovatively, FinSearch comprises four components: (1) an LLM-based multi-step search pre-planner that decomposes user queries into structured sub-queries mapped to specific data sources through a graph representation; (2) a search executor with an LLM-based adaptive query rewriter that executes the searching of each sub-query while dynamically refining the sub-queries in its subsequent node based on intermediate search results; (3) a temporal weighting mechanism that prioritizes information relevance based on the deduced time context from the user's query; (4) an LLM-based response generator that synthesizes results into coherent, contextually appropriate outputs. To evaluate FinSearch, we construct FinSearchBench-24, a benchmark of 1,500 four-choice questions across the stock market, rate changes, monetary policy, and industry developments spanning from June to October 2024.

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

↑