arXiv:2502.15684cs.IRcs.AI2025-02被引 6

用智能体框架让大模型实时精准搜金融信息,懂意图、会动态调整、还分时间轻重。

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

  • 用图结构拆解用户问题,分步匹配不同金融数据源
  • 根据搜索结果动态优化查询,提升响应准确率
  • 按时间重要性加权信息,适合关注市场变化的研究者

金融决策需处理海量实时信息并理解其复杂的时间关联。传统搜索引擎虽能快速获取信息,却难以理解用户深层意图与上下文;大语言模型(LLM)虽具推理能力,但缺乏实时数据支持,易产生不可靠输出。现有融合方案存在三大缺陷:受限的金融数据访问、静态查询结构无法适应市场变化、生成结果缺乏时间敏感性。为此,我们提出FinSearch——一个面向金融场景的代理式搜索框架,可对接市场、股票及新闻等多源数据。其核心包含四部分:(1)基于LLM的多步预规划器,将用户查询分解为结构化子查询,并通过图谱映射至特定数据源;(2)基于LLM的自适应查询重写执行器,根据中间结果动态优化后续子查询;(3)时间权重机制,依据用户提问推断时间上下文,优先呈现相关性强的信息;(4)基于LLM的响应生成器,整合结果生成连贯且语境恰当的回复。为评估性能,我们构建了FinSearchBench-24基准,涵盖1,500道四选一题目,覆盖2024年6月至10月间的股市、利率变动、货币政策及行业动态。

原文摘要 · Abstract (English)

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.

金融搜索智能体大模型应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。