Agentic Retrieval-Augmented Generation for Financial Document Question Answering

Yang Shu, Yingmin Liu, Zequn Xie
5/6/2026
cs.AIcs.CL

No official code found. Best implementation: cheer932041235/FinAgent-RAG (8 stars, MIT, last commit 2026-05-06).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

FinAgent-RAG: Agentic Retrieval-Augmented Generation for Financial Document Question Answering

82May 6, 20265 months agoMIT

Similar Papers

Cite this paper

@article{shu2026agentic,
  title  = {Agentic Retrieval-Augmented Generation for Financial Document Question Answering},
  author = {Yang Shu and Yingmin Liu and Zequn Xie},
  year   = {2026},
  eprint = {2605.05409},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.05409v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.05409.svg)](https://codeofpaper.com/paper/2605.05409)

Discussion