arXiv:2605.05409cs.AIcs.CL2026-05被引 1

金融问答需精准计算,该模型用迭代推理+代码执行解决复杂数字推理问题。

Agentic Retrieval-Augmented Generation for Financial Document Question Answering

论文配图:Agentic Retrieval-Augmented Generation for Financial Document Question Answering
图 1 · 摘自论文原文
  • 通过迭代检索与自我验证,实现多步数值推理。
  • 在三个数据集上准确率最高达78.46%,比基线高5.62~9.32个百分点。
  • 自适应调度降低41.3%调用成本,适合金融机构部署。

金融文档问答需要在结构化表格、文本叙述和脚注等异构证据间进行复杂的多步数值推理,这些信息分散于企业财报中。现有检索增强生成(RAG)方法采用单次检索-生成范式,难以应对金融分析中常见的组合推理链。我们提出FinAgent-RAG,一种面向金融数值推理精度需求的代理式RAG框架,通过迭代检索-推理循环与自我验证机制实现。该框架融合三项领域特定创新:(1) 基于硬负样本挖掘训练的对比金融检索器,可区分语义相似但数值不同的金融段落;(2) 思路程序化推理模块,生成可执行的Python代码以完成精确运算,避免依赖易出错的大模型心智计算;(3) 自适应策略路由器,根据问题复杂度动态分配计算资源,在FinQA上减少41.3%的API开销,同时保持准确率。在三个基准数据集FinQA、ConvFinQA和TAT-QA上的实验表明,FinAgent-RAG分别达到76.81%、78.46%和74.96%的执行准确率,优于最强基线5.62–9.32个百分点。消融实验、四种LLM的跨主干评估及部署成本分析验证了框架的鲁棒性与实用性。

原文摘要 · Abstract (English)

Financial document question answering (QA) demands complex multi-step numerical reasoning over heterogeneous evidence--structured tables, textual narratives, and footnotes--scattered across corporate filings. Existing retrieval-augmented generation (RAG) approaches adopt a single-pass retrieve-then-generate paradigm that struggles with the compositional reasoning chains prevalent in financial analysis. We propose FinAgent-RAG, an agentic RAG framework that orchestrates iterative retrieval-reasoning loops with self-verification, specifically engineered for the precision requirements of financial numerical reasoning. The framework integrates three domain-specific innovations: (1) a Contrastive Financial Retriever trained with hard negative mining to distinguish semantically similar but numerically distinct financial passages, (2) a Program-of-Thought reasoning module that generates executable Python code for precise arithmetic rather than relying on error-prone LLM-based mental computation, and (3) an Adaptive Strategy Router that dynamically allocates computational resources based on question complexity, reducing API costs by 41.3% on FinQA while preserving accuracy. Extensive experiments on three benchmark datasets--FinQA, ConvFinQA, and TAT-QA--demonstrate that FinAgent-RAG achieves 76.81%, 78.46%, and 74.96% execution accuracy respectively, outperforming the strongest baseline by 5.62--9.32 percentage points. Ablation studies, cross-backbone evaluation with four LLMs, and deployment cost analysis confirm the framework's robustness and practical viability for financial institutions.

金融问答数值推理RAG代码生成

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