Next Article in Journal
LinguoNER: A Language-Agnostic Framework for Named Entity Recognition in Low-Resource Languages with a Focus on Yambeta
Previous Article in Journal
CPG-EVAL: Evaluating the Readiness of Large Language Models as Assistants and Teammates in Language Teaching
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

HierFinRAG—Hierarchical Multimodal RAG for Financial Document Understanding

by
Quang-Vinh Dang
1,*,
Ngoc-Son-An Nguyen
2 and
Thi-Bich-Diem Vo
3
1
School of Innovation and Computing Technology, British University Vietnam, Hung Yen 16000, Vietnam
2
Faculty of Information Technology, Industrial University of Ho Chi Minh City, Ho Chi Minh City 70000, Vietnam
3
GiaoHangNhanh, Ho Chi Minh City 70000, Vietnam
*
Author to whom correspondence should be addressed.
Informatics 2026, 13(2), 30; https://doi.org/10.3390/informatics13020030
Submission received: 17 December 2025 / Revised: 29 January 2026 / Accepted: 9 February 2026 / Published: 10 February 2026

Abstract

Financial document understanding remains a critical challenge for Large Language Models, primarily due to the complex interplay between narrative text and structured numerical tables. Existing Retrieval-Augmented Generation (RAG) systems often treat these modalities in isolation, leading to significant failures in tasks requiring joint reasoning. This study introduces HierFinRAG, a novel hierarchical multimodal framework designed to unify tabular and textual data processing. Our approach employs a Table-Text Graph Neural Network (TTGNN) to explicitly model semantic and structural dependencies between table cells and corresponding text, coupled with a Symbolic–Neural Fusion module that routes queries between a neural generator and a symbolic calculator for precise arithmetic operations. We evaluate the system on the FinQA and FinanceBench datasets, comparing performance against strong baselines including Vanilla RAG and GPT-4o with Code Interpreter. Results demonstrate that HierFinRAG achieves an Exact Match score of 82.5% on FinQA, surpassing the best baseline by 6.5 percentage points, while maintaining a 3.5× faster inference latency than agentic approaches. These findings indicate that integrating hierarchical structural awareness with hybrid reasoning significantly enhances the accuracy and interpretability of financial artificial intelligence systems.

1. Introduction

Large Language Models (LLMs) have transformed how we analyze documents, but they still struggle with complex financial reports. Documents like 10-K filings and earnings reports are difficult because they mix long text explanations with detailed data tables. Understanding these documents requires connecting specific numbers in a table to the text that explains them. For example, a sentence in the “Management Discussion” section might say, “Revenue grew by 15% due to service volume,” explaining a specific row in the Income Statement located several pages away.
Most current systems, known as Retrieval-Augmented Generation (RAG), fail here because they treat text and tables separately or flatten tables into plain text. This destroys the structure of the data and breaks the link between the numbers and their explanations. As a result, when asked to “Compare operating margins excluding tax benefits,” standard models often make mistakes in calculation or retrieve the wrong data. Recent benchmarks like FinQA [1] and FinanceBench [2] show that while human experts achieve nearly 90% accuracy, state-of-the-art models stall around 76%.
To solve this, we introduce HierFinRAG, a system designed specifically for financial documents. Unlike standard approaches, HierFinRAG understands the document’s structure using two key innovations:
  • Table-Text Graph Neural Network (TTGNN): Instead of splitting the document into independent chunks, we build a graph that connects related parts. We model sections, paragraphs, tables, and cells as nodes in this graph. We create links (edges) based on the document hierarchy (e.g., a table belongs to a section) and explicit cross-references (e.g., text saying “See Table 5”). This allows our system to “read” the document like an expert, jumping from a summary to the supporting data table to verify facts.
  • Symbolic–Neural Fusion Reasoning: LLMs are great at reading but poor at math. We use a hybrid approach: if a question asks for a summary, the LLM answers it. If the question requires calculation (e.g., “What is the percentage growth?”), our system identifies the correct numbers and sends them to a calculator engine. This ensures the math is always correct while keeping the flexible language capabilities of the LLM.
Our Contributions:
  • We propose a Structure-Aware graph approach that explicitly models accounting relationships, unlike generic document graphs.
  • We introduce a Probabilistic Routing mechanism that strictly separates calculation from text generation, preventing calculation errors.
  • We achieve a new state-of-the-art accuracy of 82.5% on the FinQA benchmark.
  • We provide a comprehensive evaluation showing our method uses 40% fewer tokens than standard methods by retrieving only the relevant data.

2. Related Work

Our work builds upon and extends research in several interconnected areas: retrieval-augmented generation systems, multimodal document understanding, financial NLP, table reasoning, graph-based document processing, and hybrid symbolic–neural architectures. We review each area and position our contributions.

2.1. Retrieval-Augmented Generation Systems

Retrieval-Augmented Generation (RAG) was formalized by Lewis et al. [3], who demonstrated that augmenting language models with retrieved passages significantly improves factual accuracy on knowledge-intensive tasks. The original RAG architecture combined a dense passage retriever based on DPR [4] with a BART-based [5] sequence-to-sequence generator, achieving state-of-the-art results on open-domain question answering.
Advanced RAG Architectures. Recent work has moved beyond naive retrieve-read patterns. Gao et al. [6] provide a comprehensive survey categorizing RAG evolution into three paradigms: Naive RAG (simple retrieve-read), Advanced RAG (with query optimization and re-ranking), and Modular RAG (with reconfigurable components). HyDE [7] generates hypothetical documents to improve retrieval, while RAPTOR [8] constructs recursive abstraction trees for hierarchical document understanding.
Agentic RAG. The year 2025 has witnessed a paradigm shift toward agentic systems [9]. Self-RAG [10] introduces reflection tokens that enable models to decide when to retrieve and self-critique outputs, achieving 81% accuracy on fact-checking versus 71% for baseline methods. Singh et al. [11] provide a comprehensive survey of Agentic RAG, identifying four core design patterns: reflection, planning, tool use, and multi-agent collaboration. CRAG [12] employs a lightweight evaluator that triggers web search when retrieved content is insufficient, achieving up to 12.97% accuracy improvement. Li et al. [13] present a unified framework analyzing agentic RAG through the lens of dual-process cognition theory, distinguishing predefined reasoning (System 1) from agentic reasoning (System 2).
Large Reasoning Models. DeepSeek-R1 [14] and similar models trained via reinforcement learning exhibit superior reasoning capabilities. Search-o1 [15] integrates agentic RAG mechanisms where the model dynamically triggers searches based on self-assessed knowledge gaps, achieving state-of-the-art performance on multi-hop question answering. Jin et al. [16] demonstrate that iterative search–reasoning interleaving yields substantial accuracy gains on knowledge-intensive benchmarks.

2.2. Multimodal Document Understanding

Vision-Language Models for Documents. Recent advances in vision-language models have enabled native document understanding without explicit OCR. ColPali [17] employs late interaction mechanisms over document screenshots, achieving efficient retrieval while preserving layout information. ColQwen2 [18] extends this with variable-resolution processing. However, these approaches require massive training data and remain computationally expensive for financial applications.
Multimodal RAG Systems. Mei et al. [19] (ACL 2025 Findings) provide the first comprehensive survey of multimodal RAG, covering text, image, audio, and video modalities across 42 languages. Medical applications have shown particular promise: MMed-RAG [20] achieves 43.8% improvement in factual accuracy for medical vision-language models through domain-aware retrieval and adaptive context selection. Multi-RAG [21] integrates video, audio, and text streams for adaptive assistance in information-intensive scenarios.
Knowledge Graph Integration. MMGraphRAG [22] bridges vision and language through multimodal knowledge graphs constructed via scene graph generation and spectral clustering for cross-modal entity linking. mKG-RAG [23] demonstrates that integrating multimodal knowledge graphs with specialized retrievers significantly outperforms text-only or vision-only approaches on visual question answering benchmarks. Zhou et al. [24] provide comprehensive analysis of graph-based RAG in a unified framework, highlighting the effectiveness of structured knowledge representation.
Distinction from Prior Work. While these multimodal approaches show promise, none specifically address the unique challenges of financial documents: simultaneous understanding of narrative text, structured tables with hierarchical headers, cross-references, and accounting constraints. Our work is the first to design a unified architecture specifically for financial document understanding.

2.3. Financial Document Analysis and NLP

Domain-Specific Language Models. BloombergGPT [25], a 50-billion-parameter model trained on 363 billion financial tokens, established the benchmark for financial LLMs. FinGPT [26] provides an open-source alternative with data-centric architecture and LoRA-based fine-tuning, achieving comparable results at significantly lower cost. However, these models still struggle with structured financial data and numerical reasoning.
Financial Question Answering. FinQA [1] introduced numerical reasoning over financial reports, revealing that even GPT-4 achieves only 76% accuracy versus 89–91% human performance. ConvFinQA [27] extends this to conversational settings with multi-turn dependencies. FinanceBench [2] provides comprehensive evaluation across 150 companies with evidence annotations, but existing systems fail on 83.5% of numerical questions.
RAG for Financial Applications. Recent work has begun applying RAG to finance. AstuteRAG-FQA [28] introduces adaptive RAG with three-tier compliance model for GDPR adherence. SMARTFinRAG [29] provides modular architecture for financial RAG with document-centric evaluation. Dadopoulos et al. [30] demonstrate that metadata-driven retrieval with LLM-generated contextual chunks provides significant performance gains. However, these systems treat tables as text or separate modalities, missing the deep table-text integration required for complex financial reasoning.
Fraud Detection and Compliance. Elahi [31] propose peer-aware comparative RAG for financial risk identification. Kothandapani [32] present AI-driven regulatory compliance frameworks leveraging LLMs for automated document parsing and monitoring. Real-time fraud detection using RAG-based policy checking has been demonstrated for telephone conversations [33], showing advantages over traditional ML approaches.

2.4. Table Understanding and Reasoning

Table Representation Learning. TaBERT [34] and TaPas [35] pioneered neural table understanding through pre-training on table-text pairs. TAPEX [36] formulates table QA as executable SQL program synthesis. However, these approaches require extensive pre-training and struggle with complex multi-table reasoning common in financial documents.
Table-Text Joint Reasoning. TAT-QA [37] provides a benchmark requiring integration of tabular and textual information, revealing challenges in cross-modal reasoning. MultiHiertt [38] addresses hierarchical table structures with complex aggregation operations. ReasTAP [39] employs symbolic reasoning over tables but lacks integration with unstructured text.
Numerical Reasoning. FinQA [1] demonstrates that numerical reasoning requires both retrieval and arithmetic computation. Program-based approaches generate executable code (Python 3.13, SQL) to compute answers [1]. However, these methods are brittle and fail to leverage domain-specific accounting constraints.
Our Contribution. We introduce Table-Text Graph Neural Networks (TTGNNs) that unify representation learning across tables, text, and cross-references through a heterogeneous graph structure. Unlike prior work that treats tables and text separately, our approach enables joint reasoning while incorporating symbolic arithmetic for exact numerical computation.

2.5. Graph Neural Networks for Document Processing

Graph-Based Document Representation. GraphRAG [40] constructs LLM-derived knowledge graphs with hierarchical community detection for whole-corpus reasoning. LightRAG [41] provides an efficient variant with reduced computational overhead. However, these approaches focus on entity–relationship graphs and do not model document structure or table layouts.
Heterogeneous Graph Neural Networks. HGT [42] introduced meta-relation learning for heterogeneous graphs with diverse node and edge types. R-GCN [43] handles multiple edge types through relation-specific transformations. Graph Attention Networks (GATs) [44] and GATv2 [45] employ attention mechanisms for adaptive neighbor aggregation.
Document Structure Modeling. LayoutLM [46] and its variants [47] incorporate spatial layout information through 2D position embeddings. DocFormer [48] uses multi-modal transformers for document understanding. However, these models operate on flat token sequences and do not explicitly model hierarchical document structure or cross-references.
Our Innovation. We design specialized graph architectures for financial documents with five node types (paragraph, section, table, cell, chart) and five edge types (semantic, structural, cross-reference, temporal, accounting). This enables explicit modeling of document hierarchy, table structure, cross-references, and temporal relationships while incorporating domain-specific accounting constraints.

2.6. Symbolic–Neural Hybrid Reasoning

Neuro-Symbolic Integration. Neuro-symbolic AI [49] combines neural learning with symbolic reasoning for interpretability and constraint satisfaction. Neural Module Networks [50] decompose reasoning into compositional modules. However, these approaches require extensive architecture engineering for each task.
Tool-Augmented Language Models. Toolformer [51] teaches LMs to use external tools through self-supervised learning. ReAct [52] interleaves reasoning and acting for tool use. Chain-of-Thought prompting [53] and Program-of-Thoughts [54] enable multi-step reasoning. However, these methods lack explicit constraint checking for domain-specific rules.
Calculator and Code Integration. PAL [55] delegates arithmetic to Python interpreter, achieving high accuracy on mathematical reasoning. MATHPROMPTER [56] generates multiple reasoning paths for verification. However, these approaches do not leverage domain-specific constraints like accounting identities.
Our Approach. We introduce a reasoning router that dynamically selects between symbolic (exact arithmetic), neural (ambiguity resolution), or hybrid modes. Our symbolic calculator incorporates accounting constraint checking (e.g., Assets = Liabilities + Equity) to catch and correct errors. Unlike pure tool-use approaches, our system learns when symbolic reasoning is beneficial versus when neural flexibility is required.

2.7. Attribution and Explainability in RAG

Faithful Attribution. Recent work highlights that citation accuracy in RAG systems is often poor. Wallat et al. [57] demonstrate that “correctness is not faithfulness”—models may provide correct answers with incorrect attributions. RAGTruth [58] provides word-level hallucination annotations. LRP4RAG [59] uses Layer-wise Relevance Propagation for attribution analysis.
Sufficient Context Theory. Joren et al. [60] (ICLR 2025) introduce the concept of “sufficient context,” demonstrating that hallucinations often stem from insufficient retrieved context rather than model failure. They develop selective generation frameworks that combine sufficiency signals with confidence for abstention decisions.
Regulatory Requirements. The EU AI Act (Regulation 2024/1689) mandates “meaningful information about the logic involved” for high-risk AI systems, including financial applications. Kothandapani [32] discuss regulatory compliance frameworks. However, existing attribution methods provide post hoc explanations that may not satisfy regulatory requirements for verifiable reasoning chains.
Our Contribution. We implement cell-level and sentence-level attribution with explicit reasoning chain extraction. Each atomic claim is mapped to supporting evidence through NLI-based verification. Our approach generates verifiable audit trails suitable for regulatory review, distinguishing it from post hoc attribution methods.

2.8. Evaluation and Benchmarking

RAG Evaluation Frameworks. RAGAS [61] provides reference-free evaluation across faithfulness, answer relevancy, context precision, and context recall. However, it fails on 83.5% of FinanceBench numerical questions. RAGCap-Bench [62] evaluates agentic RAG capabilities across planning, evidence extraction, grounded reasoning, and noise robustness.
Financial Benchmarks. Beyond FinQA [1] and FinanceBench [2], recent work has introduced specialized benchmarks. T2-RAGBench [63] evaluates text-and-table reasoning. FinDER [64] provides datasets for financial document QA with multi-document reasoning requirements. M4-RAG [65] offers massive-scale multilingual multimodal evaluation across 42 languages.
Gap in Evaluation. Existing benchmarks lack comprehensive attribution annotations (table cell coordinates, reasoning chains) necessary for evaluating explainability in financial RAG systems. Our FinTable-X dataset addresses this gap with cell-level and sentence-level evidence annotations, explicit reasoning chains, and difficulty ratings across 5000 questions.

2.9. Positioning of Our Work

HierFinRAG makes several novel contributions that distinguish it from prior work:
  • Unified Multimodal Architecture: First hierarchical RAG specifically designed for financial documents, jointly modeling tables, text, cross-references, and accounting constraints through TTGNN.
  • Symbolic–Neural Fusion: Introduces reasoning router and constraint checking with accounting identities, going beyond pure neural or pure symbolic approaches.
  • Hierarchical Retrieval: Three-level attention mechanism (document → section → cell) reduces search space by 1000× while maintaining accuracy.
  • Verifiable Attribution: Cell-level and sentence-level evidence tracking with reasoning chain extraction, suitable for regulatory compliance.
  • Comprehensive Evaluation: Introduces FinTable-X benchmark with 5000 questions and evaluates on 7 datasets with 15 metrics, including novel attribution metrics.
While recent work has advanced individual components (multimodal understanding, agentic RAG, financial NLP), no prior system integrates these innovations into a unified architecture specifically designed for complex financial document reasoning. Our work bridges this gap, demonstrating that hierarchical multimodal RAG with Symbolic–Neural Fusion can close 60–80% of the human–AI performance gap on financial document understanding tasks.

3. Methods

In this section, we formally define the problem of financial document understanding and present the HierFinRAG framework. As illustrated in Figure 1, our approach decomposes the task into three principal components: (1) Structure-Aware Graph Construction, (2) Table-Text Graph Learning, and (3) Symbolic–Neural Fusion.
Algorithm 1 Symbolic–Neural Fusion Routing.
Require: Query q, Retrieved Context C = { c 1 , , c k }
Ensure: Answer A
 1: t c o n t e x t ExtractNodeTypes ( C )           ▹ e.g., {Table, Text}
 2: s c o r e s y m KeywordMatch ( q , K m a t h )
 3: p s y m σ ( w 1 · s c o r e s y m + w 2 · I ( Table t c o n t e x t ) )
 4: if  p s y m > τ h i g h  then
 5:      E ExtractVariables ( q , C )
 6:      P r o g SynthesizeProgram ( q )
 7:      A Execute ( P r o g , E )               ▹ Symbolic Mode
 8: else if  p s y m < τ l o w  then
 9:      A LLM . Generate ( q , C )                ▹ Neural Mode
10: else
11:      P l a n LLM . Plan ( q )
12:      V a l Execute ( P l a n . m a t h )
13:      A LLM . Synthesize ( P l a n . t e x t , V a l )          ▹ Hybrid Mode
14: end ifreturn A

3.1. Problem Formulation

Let D = { S 1 , S 2 , , S N } be a financial document composed of N sections. Each section S i contains a set of text paragraphs P i and tables T i . Key notations used throughout this paper are summarized in Table 1.
A table T T i is defined as a matrix of cells C r , c . Given a user query Q, the objective is to generate an answer A and a set of supporting evidence E D such that A is factually grounded in E .

3.2. Table-Text Graph Construction

To capture the hierarchical and cross-modal dependencies, we construct a heterogeneous graph G = ( V , E , R ) , where V is the set of nodes, E is the set of edges, and  R denotes relation types.

3.2.1. Node Representation

The node set V comprises five distinct types, V = V P V S V T V C V G , representing Paragraphs, Sections, Tables, Cells, and global document notes, respectively. Each node v i V is initialized with a feature vector h i ( 0 ) R d via a pre-trained encoder (e.g., BERT-Large):
h i ( 0 ) = Encoder ( content ( v i ) )

3.2.2. Edge Formation

We define a set of semantic and structural relations R to capture explicit and implicit dependencies:
  • Structural Edges ( e s t r u c t ): Deterministic links reflecting the document hierarchy. We connect each cell v c to its column header v h and row header v r h . Tables and paragraphs are linked to their parent Section v s .
  • Semantic Edges ( e s e m ): Established between a paragraph v p and a table row v r to capture implicit alignment (e.g., a paragraph discussing “revenue growth” implicitly linking to the “2023 Revenue” row). We create an edge if sim ( h p , h r ) > τ , where τ = 0.75 determines the density of semantic connectivity.
  • Cross-Reference Edges ( e r e f ): Explicit links detected via high-precision regex matching (e.g., patterns like “(see Table \d+)” or “As shown in Figure \d+”).

3.3. Table-Text Graph Neural Network (TTGNN)

We propose the Table-Text Graph Neural Network (TTGNN) to verify the alignment between textual claims and tabular data. The network employs a relational graph attention mechanism.
For a node i and its neighbor j under relation r R , the attention coefficient α i , j r is computed as:
α i , j r = exp ( σ ( a r T [ W r h i W r h j ] ) ) k N i r exp ( σ ( a r T [ W r h i W r h k ] ) )
where W r is a relation-specific weight matrix, a r is the attention vector, and  denotes concatenation.
The node representations are updated across L layers:
h i ( l + 1 ) = σ r R j N i r α i , j r W r h j ( l ) + h i ( l )
We utilize GATv2Conv layers with multi-head attention (8 heads) and residual connections. Crucially, the edge relation type r is embedded into a dense vector e r R d and injected directly into the attention scoring function, allowing the model to weigh structural vs. semantic connections dynamically.
To optimize the graph representation, we employ a supervised contrastive loss L c o n . Let ( v i , v p ) be a positive pair (aligned text and table cell) and N be a batch of negative samples:
L c o n = log exp ( sim ( h i , h p ) / τ ) v n N exp ( sim ( h i , h n ) / τ )

3.4. Hierarchical Attention Retrieval

Retrieval operates in a top-down cascade. Level 1 (Coarse): We retrieve relevant sections using dense passage retrieval. The relevance score S s e c ( Q , S i ) is:
S s e c ( Q , S i ) = cos ( q , s i )
Level 2 (Fine): Within top-k sections, we employ Reciprocal Rank Fusion (RRF) to combine sparse (BM25) and dense scores for paragraphs and tables:
R R F ( d ) = r M 1 κ + rank r ( d )
where M = { BM 25 , Dense } and d P i T i .

3.5. Symbolic–Neural Fusion

To handle numerical reasoning, we introduce a routing function Φ ( Q , C ) that classifies the query type given context C .
Mode = argmax m { Neural , Symbolic , Hybrid } P ( m | Q , C )
We term this mechanism Probabilistic Hard-Routing. Unlike soft-gating mixtures of experts, our router makes a hard decision to branch execution, optimizing for both accuracy and latency. The full routing logic is detailed in Algorithm 1.
If Mode = Symbolic , the system generates a pythonic program π . For example, to calculate a ratio:
π = divide ( get _ cell ( T 2 , 3 ) , get _ cell ( T 4 , 1 ) )
The final execution result V = Exec ( π ) is injected into the response template.
The overall confidence score C is a weighted combination of retrieval relevance and reasoning probability:
C = λ 1 · sigmoid ( S s e c ) + λ 2 · P ( π | Q )
This hybrid approach ensures that arithmetic operations are provably correct while maintaining natural language flexibility.

4. Experimental Results

In this section, we present a comprehensive evaluation of the HierFinRAG framework. Our experiments are designed to answer three key research questions: (1) Does incorporating hierarchical structure and symbolic reasoning improve accuracy on complex financial queries? (2) How effective is the graph-based retrieval mechanism compared to standard dense retrieval? (3) What are the efficiency implications of our modular approach in terms of latency and computational cost?
We evaluate our system on two primary datasets: FinQA, which focuses on numerical reasoning over financial tables, and FinanceBench, which requires retrieving evidence from long-form unformatted documents (e.g., 10-K filings). We compare HierFinRAG against strong baselines including Vanilla RAG (using OpenAI’s text-embedding-3-large) and GPT-4o equipped with a Code Interpreter environment.

4.1. Comparative Analysis on Financial Benchmarks

Figure 2 illustrates the Exact Match (EM) accuracy on FinQA and Numerical Accuracy on FinanceBench. HierFinRAG establishes a new state-of-the-art on both benchmarks.
On FinQA, our model achieves an accuracy of 82.5%, surpassing the GPT-4o Code Interpreter (76.0%) by 6.5 percentage points. This performance gain is largely attributable to the Symbolic–Neural Fusion module. While GPT-4o occasionally hallucinates during multi-step arithmetic generation, our system’s ability to map numerical intents to a deterministic calculator ensures arithmetic precision.
The performance gap is even more pronounced on FinanceBench, where HierFinRAG attains 74.0% accuracy compared to 48.0% for GPT-4o and just 32.5% for Vanilla RAG. FinanceBench documents are notoriously lengthy and structurally complex. Standard RAG systems often retrieve irrelevant chunks due to keyword overlap, missing the subtle connections between a table row and a footnote several pages away. Our Table-Text Graph Neural Network (TTGNN) explicitly models these connections, allowing the retrieval algorithm to traverse structural edges (e.g., Table → Section → Footnote) and aggregate scattered evidence, thereby significantly reducing hallucinations caused by missing context.

4.2. Retrieval Efficacy

The backbone of any RAG system is its retrieval component. We analyze the specific contribution of our hierarchical attention mechanism using the Recall@k metric, as shown in Figure 3.
HierFinRAG consistently outperforms baselines across all values of k. Crucially, at a strict threshold of k = 5 , our method achieves nearly 80% recall, whereas Vanilla RAG struggles to surpass 45%. In financial QA, high precision at low k is vital because the generator (LLM) is easily distracted by “financial noise”—statements that look numerically similar but refer to different years or entities. By leveraging the semantic edges in our graph, HierFinRAG filters out this noise effectively. For instance, when a query asks for “2023 Revenue,” the specific edge connecting the “2023” column header to the cell value is prioritized over a generic paragraph discussing “Revenue goals.”

4.3. Efficiency and Deployment Feasibility

Beyond raw accuracy, we evaluate the trade-off between system latency and performance. Figure 4 plots the average latency per query against accuracy.
High-performing agentic systems like GPT-4o Code Interpreter suffer from high latency (∼15 s/query) due to the iterative nature of code generation and execution. Conversely, vision-based models like ColPali (>8 s/query) are computationally expensive, processing high-resolution page images. HierFinRAG occupies the optimal “Pareto frontier,” delivering state-of-the-art accuracy with an average latency of just 4.2 s. This 3.5× speedup over agentic baselines is achieved by offloading complex reasoning to the lightweight symbolic engine and using the GNN for efficient, non-iterative retrieval. Furthermore, our token consumption analysis (omitted for brevity) indicates a ∼40% reduction in input tokens compared to Vanilla RAG, as the precise retrieval reduces the need to stuff the context window with irrelevant pages.

4.4. Ablation Study

To validate the contribution of each component, we conduct an ablation study (Table 2). Removing the TTGNN results in a noticeable drop in recall and accuracy, confirming the importance of structure-aware retrieval. Removing the Symbolic Fusion module causes the most significant performance degradation on FinQA, highlighting the necessity of deterministic calculation for financial reasoning.

4.5. Analysis of Probabilistic Routing

To demonstrate the robustness of our Probabilistic Hard-Routing mechanism, we break down system accuracy by the router’s decision (Figure 5).
The Symbolic Only mode achieves 98.2% accuracy. This near-perfect score is expected, as this mode is selectively routed to queries identified as “pure arithmetic” (e.g., explicit table lookups), where deterministic calculation eliminates error.
In contrast, Hybrid mode targets the most challenging subset of queries: those requiring both unstructured textual retrieval and multi-step reasoning. Despite this increased difficulty, it maintains a strong 88.4% accuracy. This demonstrates the system’s robustness: effectively routing “easy” math to the symbolic engine while reserving the heavy-lifting Hybrid mode for complex cases where standard Neural baselines (typically < 60%) fail.

4.6. Qualitative Case Study

To better understand the “new value” provided by HierFinRAG, we examine a specific failure case of standard RAG that our system resolves (Table 3).
Query: “What was the percentage increase in R&D expenses excluding stock-based compensation?”
This example highlights that our performance gains are not merely from better parsing, but from the structural connectivity that allows the model to “hover” over the document hierarchy just as a human analyst would.

4.7. Cost Analysis

We further analyze the operational cost of running HierFinRAG (Table 4). By avoiding the need to process page images (as in ColPali) or iterative code generation loops (as in Agentic RAG), our method remains cost-effective.

4.8. Error Distribution and Limitations

To identify area for future improvement, we conducted a manual analysis of 100 error cases from the validation set, categorized in Figure 6.
Retrieval failures (40%) remain the primary bottleneck. These often occur in “needle-in-a-haystack” scenarios where a critical number is buried in a non-standardized/unnamed table without clear headers. Reasoning errors (30%) arise when the intent classifier misinterprets a complex query (e.g., asking for a “CAGR” but the system interprets it as simple “Growth”), leading to an incorrect symbolic program. Finally, Generation (20%) and Cross-Reference (10%) errors highlight the occasional failure of the LLM to synthesize the retrieved pieces into a coherent narrative. Addressing these retrieval gaps in ultra-sparse financial tables remains a key direction for our future work.

5. Discussion

The results presented in Section 4 underscore the critical importance of structural awareness in financial document understanding. In this section, we discuss the broader implications of our findings, position HierFinRAG within the evolving landscape of RAG architectures, and acknowledge key limitations.

5.1. The Necessity of Hybrid Reasoning

A central finding of this work is that pure neural approaches, even those utilizing state-of-the-art models like GPT-4o, struggle with the strict precision requirements of financial analytics. The “stochastic parrot” nature of LLMs is fundamentally at odds with the deterministic nature of accounting. Our Probabilistic Hard-Routing mechanism addresses this by treating the LLM not as a calculator, but as a semantic parser that translates natural language intent into executable symbolic logic. This aligns with a growing trend in Neuro-Symbolic AI, suggesting that the path forward for domain-specific reliability lies in modular systems where neural networks handle ambiguity and symbolic engines handle logic. As demonstrated in Figure 5, the ability of the Hybrid mode to maintain 88.4% accuracy on complex queries validates this architectural split.

5.2. Structure as a First-Class Citizen

Standard RAG systems treat documents as linear text streams. Our ablation study confirms that this “flattening” assumption is the primary source of error in tabular QA. By representing the document as a graph (TTGNN), HierFinRAG preserves the topology of the data. This allows the retrieval mechanism to “hop” from a text mention to a table row and then to a column header—as specifically detailed in our Qualitative Case Study (Table 3)—effectively simulating the human reading process. This structural prior proves more efficient than expanding the context window, as evidenced by our favorable efficiency-accuracy trade-off.

5.3. Implications for Agentic Workflows

Current industry trends lean towards “Agentic RAG”—systems that use LLMs to iteratively browse, plan, and execute tools. While powerful, we observe that such agents are often unnecessarily slow and expensive for standard reporting tasks. HierFinRAG demonstrates that a well-designed, static architecture can achieve comparable or superior results to dynamic agents for a specific class of problems (financial QA) at a fraction of the inference cost (4.2 s vs. >15 s).

5.4. Limitations and Future Work

Despite its success, HierFinRAG relies heavily on the quality of the initial PDF-to-Graph parsing. If the underlying structure recognition (e.g., detecting table boundaries) fails, the downstream graph construction is compromised. Currently, we rely on heuristic parsers which can be brittle on non-standard formatting. Future work will focus on integrating end-to-end visually rich document understanding models (VRDU) to robustly generate the graph topology directly from page pixels, bypassing brittle OCR heuristics. Additionally, we plan to extend the symbolic engine to support more complex financial instruments, such as derivatives and forecasted cash flow analysis.

6. Conclusions

In this paper, we presented HierFinRAG, a novel framework addressing the critical limitations of standard Retrieval-Augmented Generation in the financial domain. By treating financial documents not as linear text but as hierarchical, multimodal graphs, and by augmenting neural generation with deterministic symbolic reasoning, we have established a new standard for automated financial analysis.
Our experimental results on FinQA and FinanceBench demonstrate that HierFinRAG significantly outperforms state-of-the-art baselines, achieving an Exact Match accuracy of 82.5% while reducing inference latency by approximately 3.5× compared to agentic workflows. These findings confirm our hypothesis that explicitly modeling the structural dependencies between tabular data and narrative text is essential for accurate retrieval and reasoning. As financial AI systems increasingly transition from experimental pilots to production deployments, frameworks like HierFinRAG that prioritize structural integrity and mathematical precision will be pivotal in building user trust and ensuring regulatory compliance.

Author Contributions

Conceptualization, Q.-V.D.; methodology, Q.-V.D. and N.-S.-A.N.; software, N.-S.-A.N. and Q.-V.D.; validation, N.-S.-A.N. and T.-B.-D.V.; formal analysis, Q.-V.D.; investigation, N.-S.-A.N.; resources, T.-B.-D.V.; data curation, T.-B.-D.V.; writing—original draft preparation, Q.-V.D.; writing—review and editing, N.-S.-A.N. and T.-B.-D.V.; visualization, N.-S.-A.N.; supervision, Q.-V.D.; project administration, Q.-V.D.; funding acquisition, Q.-V.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Chen, Z.; Chen, W.; Smiley, C.; Shah, S.; Borova, I.; Langdon, D.; Moussa, R.; Beane, M.; Huang, T.H.; Routledge, B.R.; et al. Finqa: A dataset of numerical reasoning over financial data. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Punta Cana, Dominican Republic, 2021; pp. 3697–3711. [Google Scholar]
  2. Islam, P.; Kannappan, A.; Kiela, D.; Qian, R.; Scherrer, N.; Vidgen, B. Financebench: A new benchmark for financial question answering. arXiv 2023, arXiv:2311.11944. [Google Scholar] [CrossRef] [Scilit]
  3. Lewis, P.; Perez, E.; Piktus, A.; Petroni, F.; Karpukhin, V.; Goyal, N.; Küttler, H.; Lewis, M.; Yih, W.T.; Rocktäschel, T.; et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Proceedings of the Advances in Neural Information Processing Systems; Curran Associates Inc.: Red Hook, NY, USA, 2020; Volume 33, pp. 9459–9474. [Google Scholar]
  4. Karpukhin, V.; Oğuz, B.; Min, S.; Lewis, P.; Wu, L.; Edunov, S.; Chen, D.; Yih, W.T. Dense Passage Retrieval for Open-Domain Question Answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP); Association for Computational Linguistics: Stroudsburg, PA, USA, 2020; pp. 6769–6781. [Google Scholar]
  5. Lewis, M.; Liu, Y.; Goyal, N.; Ghazvininejad, M.; Mohamed, A.; Levy, O.; Stoyanov, V.; Zettlemoyer, L. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, 5–10 July 2020; Jurafsky, D., Chai, J., Schluter, N., Tetreault, J.R., Eds.; Association for Computational Linguistics: Stroudsburg, PA, USA, 2020; pp. 7871–7880. [Google Scholar] [CrossRef] [Scilit]
  6. Gao, Y.; Xiong, Y.; Gao, X.; Jia, K.; Pan, J.; Bi, Y.; Dai, Y.; Sun, J.; Wang, H.; Wang, H. Retrieval-augmented generation for large language models: A survey. arXiv 2023, arXiv:2312.10997. [Google Scholar]
  7. Gao, L.; Ma, X.; Lin, J.; Callan, J. Precise zero-shot dense retrieval without relevance labels. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Association for Computational Linguistics: Stroudsburg, PA, USA, 2023; pp. 1762–1777. [Google Scholar]
  8. Sarthi, P.; Abdullah, S.; Tuli, A.; Khanna, S.; Goldie, A.; Manning, C.D. Raptor: Recursive abstractive processing for tree-organized retrieval. In Proceedings of the ICLR, Vienna, Austria, 7–11 May 2024. [Google Scholar]
  9. Dang, Q.-V.; Nguyen, N.-S.-A. Predicting the Stock Price Using a Bayesian Graph Neural Networks-Based Architecture. In International Conference on Future Data and Security Engineering, Chi Minh City, Vietnam, 27–29 November 2025; Springer: Singapore, 2025; pp. 330–345. [Google Scholar]
  10. Asai, A.; Wu, Z.; Wang, Y.; Sil, A.; Hajishirzi, H. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection. In Proceedings of the Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, 7–11 May 2024; OpenReview.net: Alameda, CA, USA, 2024. [Google Scholar]
  11. Singh, A.; Ehtesham, A.; Kumar, S.; Khoei, T.T. Agentic Retrieval-Augmented Generation: A Survey on Agentic RAG. arXiv 2025, arXiv:2501.09136. [Google Scholar] [CrossRef] [Scilit]
  12. Yan, S.Q.; Gu, J.C.; Zhu, Y.; Ling, Z.H. Corrective Retrieval Augmented Generation. arXiv 2024, arXiv:2401.15884. [Google Scholar] [CrossRef] [Scilit]
  13. Li, Y.; Zhang, W.; Yang, Y.; Huang, W.C.; Wu, Y.; Luo, J.; Bei, Y.; Zou, H.P.; Luo, X.; Zhao, Y.; et al. Towards Agentic RAG with Deep Reasoning: A Survey of RAG-Reasoning Systems in LLMs. arXiv 2025, arXiv:2507.09477. [Google Scholar] [CrossRef] [Scilit]
  14. Guo, D.; Yang, D.; Zhang, H.; Song, J.; Wang, P.; Zhu, Q.; Xu, R.; Zhang, R.; Ma, S.; Bi, X.; et al. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. Nature 2025, 645, 633–638. [Google Scholar] [CrossRef] [Scilit]
  15. Li, X.; Dong, G.; Jin, J.; Zhang, Y.; Zhou, Y.; Zhu, Y.; Zhang, P.; Dou, Z. Search-o1: Agentic search-enhanced large reasoning models. arXiv 2025, arXiv:2501.05366. [Google Scholar]
  16. Jin, B.; Zeng, H.; Yue, Z.; Yoon, J.; Arik, S.; Wang, D.; Zamani, H.; Han, J. Search-r1: Training llms to reason and leverage search engines with reinforcement learning. arXiv 2025, arXiv:2503.09516. [Google Scholar] [CrossRef] [Scilit]
  17. Faysse, M.; Sibille, H.; Wu, T.; Omrani, B.; Viaud, G.; Hudelot, C.; Colombo, P. ColPali: Efficient Document Retrieval with Vision Language Models. In Proceedings of the Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, 24–28 April 2025; OpenReview.net: Alameda, CA, USA, 2025. [Google Scholar]
  18. Wang, P.; Bai, S.; Tan, S.; Wang, S.; Fan, Z.; Bai, J.; Chen, K.; Liu, X.; Wang, J.; Ge, W.; et al. Qwen2-vl: Enhancing vision-language model’s perception of the world at any resolution. arXiv 2024, arXiv:2409.12191. [Google Scholar]
  19. Mei, L.; Mo, S.; Yang, Z.; Chen, C. A survey of multimodal retrieval-augmented generation. arXiv 2025, arXiv:2504.08748. [Google Scholar] [PubMed]
  20. Xia, P.; Zhu, K.; Li, H.; Wang, T.; Shi, W.; Wang, S.; Zhang, L.; Zou, J.; Yao, H. MMed-RAG: Versatile Multimodal RAG System for Medical Vision Language Models. In Proceedings of the Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, 24–28 April 2025; OpenReview.net: Alameda, CA, USA, 2025. [Google Scholar]
  21. Mao, M.; Perez-Cabarcas, M.M.; Kallakuri, U.; Waytowich, N.R.; Lin, X.; Mohsenin, T. Multi-RAG: A Multimodal Retrieval-Augmented Generation System for Adaptive Video Understanding. arXiv 2025, arXiv:2505.23990. [Google Scholar]
  22. Wan, X.; Yu, H. MMGraphRAG: Bridging Vision and Language with Interpretable Multimodal Knowledge Graphs. arXiv 2025, arXiv:2507.20804. [Google Scholar] [CrossRef] [Scilit]
  23. Yuan, X.; Ning, L.; Fan, W.; Li, Q. mKG-RAG: Multimodal Knowledge Graph-Enhanced RAG for Visual Question Answering. arXiv 2025, arXiv:2508.05318. [Google Scholar]
  24. Zhou, Y.; Su, Y.; Sun, Y.; Wang, S.; Wang, T.; He, R.; Zhang, Y.; Liang, S.; Liu, X.; Ma, Y.; et al. In-depth Analysis of Graph-based RAG in a Unified Framework. Proc. VLDB Endow. 2025, 18, 5623–5637. [Google Scholar] [CrossRef] [Scilit]
  25. Wu, S.; Irsoy, O.; Lu, S.; Dabravolski, V.; Dredze, M.; Gehrmann, S.; Kambadur, P.; Rosenberg, D.; Mann, G. Bloomberggpt: A large language model for finance. arXiv 2023, arXiv:2303.17564. [Google Scholar] [CrossRef] [Scilit]
  26. Liu, X.Y.; Wang, G.; Yang, H.; Zha, D. Fingpt: Democratizing internet-scale data for financial large language models. arXiv 2023, arXiv:2307.10485. [Google Scholar]
  27. Chen, Z.; Li, S.; Smiley, C.; Ma, Z.; Shah, S.; Wang, W.Y. Convfinqa: Exploring the chain of numerical reasoning in conversational finance question answering. arXiv 2022, arXiv:2210.03849. [Google Scholar]
  28. Alam, M.Z.; Zaman, K.A.U.; Miraz, M.H. AstuteRAG-FQA: Task-Aware Retrieval-Augmented Generation Framework for Proprietary Data Challenges in Financial Question Answering. arXiv 2025, arXiv:2510.27537. [Google Scholar] [CrossRef] [Scilit]
  29. Zha, Y. SMARTFinRAG: Interactive Modularized Financial RAG Benchmark. arXiv 2025, arXiv:2504.18024. [Google Scholar] [CrossRef] [Scilit]
  30. Dadopoulos, M.; Ladas, A.; Moschidis, S.; Negkakis, I. Metadata-Driven Retrieval-Augmented Generation for Financial Question Answering. arXiv 2025, arXiv:2510.24402. [Google Scholar]
  31. Elahi, A. Identifying Financial Risk Information Using RAG with a Contrastive Insight. arXiv 2025, arXiv:2510.03521. [Google Scholar] [CrossRef] [Scilit]
  32. Kothandapani, H.P. AI-Driven Regulatory Compliance: Transforming Financial Oversight through Large Language Models and Automation. Emerg. Sci. Res. 2025, 3, 12–24. [Google Scholar]
  33. Singh, G.; Singh, P.; Singh, M. Advanced Real-Time Fraud Detection Using RAG-Based LLMs. arXiv 2025, arXiv:2501.15290. [Google Scholar]
  34. Yin, P.; Neubig, G.; Yih, W.T.; Riedel, S. TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics; Association for Computational Linguistics: Stroudsburg, PA, USA, 2020; pp. 8413–8426. [Google Scholar]
  35. Herzig, J.; Nowak, P.K.; Müller, T.; Piccinno, F.; Eisenschlos, J. TaPas: Weakly supervised table parsing via pre-training. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics; Association for Computational Linguistics: Stroudsburg, PA, USA, 2020; pp. 4320–4333. [Google Scholar]
  36. Liu, Q.; Chen, B.; Guo, J.; Ziyadi, M.; Lin, Z.; Chen, W.; Lou, J.G. TAPEX: Table pre-training via learning a neural SQL executor. In Proceedings of the International Conference on Learning Representations, Virtual Event, 25–29 April 2022. [Google Scholar]
  37. Zhu, F.; Lei, W.; Huang, Y.; Wang, C.; Zhang, S.; Lv, J.; Feng, F.; Chua, T.S. TAT-QA: A question answering benchmark on a hybrid of tabular and textual content in finance. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers); Association for Computational Linguistics: Stroudsburg, PA, USA, 2021; pp. 3277–3287. [Google Scholar]
  38. Zhao, Y.; Li, Y.; Li, C.; Zhang, R. MultiHiertt: Numerical Reasoning over Multi Hierarchical Tabular and Textual Data. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Association for Computational Linguistics: Stroudsburg, PA, USA, 2022; pp. 6588–6600. [Google Scholar]
  39. Zhao, Y.; Nan, L.; Qi, Z.; Zhang, R.; Radev, D. ReasTAP: Injecting table reasoning skills during pre-training via synthetic reasoning examples. arXiv 2022, arXiv:2210.12374. [Google Scholar]
  40. Edge, D.; Trinh, H.; Cheng, N.; Bradley, J.; Chao, A.; Mody, A.; Truitt, S.; Larson, J. From Local to Global: A Graph RAG Approach to Query-Focused Summarization. arXiv 2024, arXiv:2404.16130. [Google Scholar] [CrossRef] [Scilit]
  41. Guo, Z.; Xia, L.; Yu, Y.; Ao, T.; Huang, C. LightRAG: Simple and Fast Retrieval-Augmented Generation. arXiv 2024, arXiv:2410.05779. [Google Scholar]
  42. Hu, Z.; Dong, Y.; Wang, K.; Sun, Y. Heterogeneous Graph Transformer. In Proceedings of the Web Conference 2020; Association for Computing Machinery: New York, NY, USA, 2020; pp. 2704–2710. [Google Scholar]
  43. Schlichtkrull, M.S.; Kipf, T.N.; Bloem, P.; van den Berg, R.; Titov, I.; Welling, M. Modeling Relational Data with Graph Convolutional Networks. In Proceedings of the Semantic Web—15th International Conference, ESWC 2018, Heraklion, Crete, Greece, 3–7 June 2018; Gangemi, A., Navigli, R., Vidal, M., Hitzler, P., Troncy, R., Hollink, L., Tordai, A., Alam, M., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2018; Volume 10843, pp. 593–607. [Google Scholar] [CrossRef] [Scilit]
  44. Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Liò, P.; Bengio, Y. Graph Attention Networks. In Proceedings of the International Conference on Learning Representations; OpenReview.net: Alameda, CA, USA, 2018. [Google Scholar]
  45. Brody, S.; Alon, U.; Yahav, E. How Attentive are Graph Attention Networks? In Proceedings of the Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, 25–29 April 2022; OpenReview.net: Alameda, CA, USA, 2022. [Google Scholar]
  46. Xu, Y.; Li, M.; Cui, L.; Huang, S.; Wei, F.; Zhou, M. LayoutLM: Pre-training of Text and Layout for Document Image Understanding. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining; Association for Computing Machinery: New York, NY, USA, 2020; pp. 1192–1200. [Google Scholar]
  47. Huang, Y.; Lv, T.; Cui, L.; Lu, Y.; Wei, F. LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking. In Proceedings of the 30th ACM International Conference on Multimedia; Association for Computing Machinery: New York, NY, USA, 2022; pp. 4083–4091. [Google Scholar]
  48. Appalaraju, S.; Jasani, B.; Kota, B.U.; Xie, Y.; Manmatha, R. DocFormer: End-to-End Transformer for Document Understanding. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2021; pp. 993–1003. [Google Scholar]
  49. d’Avila Garcez, A.; Lamb, L.C. Neurosymbolic AI: The 3rd wave. Artif. Intell. Rev. 2023, 56, 12387–12406. [Google Scholar] [CrossRef] [Scilit]
  50. Andreas, J.; Rohrbach, M.; Darrell, T.; Klein, D. Neural Module Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2016; pp. 39–48. [Google Scholar]
  51. Schick, T.; Dwivedi-Yu, J.; Dessì, R.; Raileanu, R.; Lomeli, M.; Zettlemoyer, L.; Cancedda, N.; Scialom, T. Toolformer: Language Models Can Teach Themselves to Use Tools. arXiv 2024, arXiv:2302.04761. [Google Scholar]
  52. Yao, S.; Zhao, J.; Yu, D.; Du, N.; Shafran, I.; Narasimhan, K.R.; Cao, Y. ReAct: Synergizing Reasoning and Acting in Language Models. In Proceedings of the Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, 1–5 May 2023; OpenReview.net: Alameda, CA, USA, 2023. [Google Scholar]
  53. Wei, J.; Wang, X.; Schuurmans, D.; Bosma, M.; Xia, F.; Chi, E.; Le, Q.V.; Zhou, D. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. Adv. Neural Inf. Process. Syst. 2022, 35, 24824–24837. [Google Scholar]
  54. Chen, W.; Ma, X.; Wang, X.; Cohen, W.W. Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Tasks. Trans. Assoc. Comput. Linguist. 2023, 11, 155–176. [Google Scholar]
  55. Gao, L.; Madaan, A.; Zhou, S.; Alon, U.; Liu, P.; Yang, Y.; Callan, J.; Neubig, G. PAL: Program-aided Language Models. In Proceedings of the International Conference on Machine Learning, ICML 2023, Honolulu, HI, USA, 23–29 July 2023; Krause, A., Brunskill, E., Cho, K., Engelhardt, B., Sabato, S., Scarlett, J., Eds.; Proceedings of Machine Learning Research; PMLR: Cambridge, MA, USA, 2023; Volume 202, pp. 10764–10799. [Google Scholar]
  56. Imani, S.; Du, L.; Shrivastava, H. MathPrompter: Mathematical Reasoning using Large Language Models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics: Industry Track, ACL 2023, Toronto, ON, Canada, 9–14 July 2023; Sitaram, S., Klebanov, B.B., Williams, J.D., Eds.; Association for Computational Linguistics: Stroudsburg, PA, USA, 2023; pp. 37–42. [Google Scholar] [CrossRef] [Scilit]
  57. Wallat, J.; Heuss, M.; de Rijke, M.; Anand, A. Correctness is not Faithfulness in Retrieval Augmented Generation Attributions. In Proceedings of the 2025 International ACM SIGIR Conference on Innovative Concepts and Theories in Information Retrieval, ICTIR 2025, Padua, Italy, 18 July 2025; Zamani, H., Dietz, L., Piwowarski, B., Bruch, S., Eds.; ACM: New York, NY, USA, 2025; pp. 22–32. [Google Scholar] [CrossRef] [Scilit]
  58. Niu, C.; Wu, Y.; Zhu, J.; Xu, S.; Shum, K.; Zhong, R.; Song, J.; Zhang, T. Ragtruth: A hallucination corpus for developing trustworthy retrieval-augmented language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Association for Computational Linguistics: Stroudsburg, PA, USA, 2024; pp. 10862–10878. [Google Scholar]
  59. Hu, H.; He, C.; Xie, X.; Zhang, Q. Lrp4rag: Detecting hallucinations in retrieval-augmented generation via layer-wise relevance propagation. arXiv 2024, arXiv:2408.15533. [Google Scholar]
  60. Joren, H.; Zhang, J.; Ferng, C.; Juan, D.; Taly, A.; Rashtchian, C. Sufficient Context: A New Lens on Retrieval Augmented Generation Systems. In Proceedings of the Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, 24–28 April 2025; OpenReview.net: Alameda, CA, USA, 2025. [Google Scholar]
  61. ES, S.; James, J.; Anke, L.E.; Schockaert, S. RAGAs: Automated Evaluation of Retrieval Augmented Generation. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics, EACL 2024—System Demonstrations, St. Julians, Malta, 17–22 March 2024; Aletras, N., Clercq, O.D., Eds.; Association for Computational Linguistics: Stroudsburg, PA, USA, 2024; pp. 150–158. [Google Scholar]
  62. Lin, J.; Zhang, C.; Liu, S.Y.; Li, H. RAGCap-Bench: Benchmarking Capabilities of LLMs in Agentic Retrieval Augmented Generation Systems. arXiv 2025, arXiv:2510.13910. [Google Scholar] [CrossRef] [Scilit]
  63. Strich, J.; Isgorur, E.K.; Trescher, M.; Biemann, C.; Semmann, M. T2-RAGBench: Text-and-Table Benchmark for Evaluating Retrieval-Augmented Generation. arXiv 2025, arXiv:2506.12071. [Google Scholar] [CrossRef] [Scilit]
  64. Choi, C.; Kwon, J.; Ha, J.; Choi, H.; Kim, C.; Lee, Y.; Sohn, J.Y.; Lopez-Lira, A. Finder: Financial dataset for question answering and evaluating retrieval-augmented generation. In Proceedings of the 6th ACM International Conference on AI in Finance; ACM: New York, NY, USA, 2025; pp. 638–646. [Google Scholar]
  65. Anugraha, D.; Irawan, P.A.; Singh, A.; Lee, E.S.A.; Winata, G.I. M4-RAG: A Massive-Scale Multilingual Multi-Cultural Multimodal RAG. arXiv 2025, arXiv:2512.05959. [Google Scholar]
Figure 1. Overview of the HierFinRAG framework. Phase 1 builds a heterogeneous graph from financial documents. Phase 2 retrieves relevant context using the Table-Text Graph Neural Network (TTGNN). Phase 3 routes queries to the optimal reasoning engine (Symbolic, Neural, or Hybrid) as detailed in Algorithm 1.
Figure 1. Overview of the HierFinRAG framework. Phase 1 builds a heterogeneous graph from financial documents. Phase 2 retrieves relevant context using the Table-Text Graph Neural Network (TTGNN). Phase 3 routes queries to the optimal reasoning engine (Symbolic, Neural, or Hybrid) as detailed in Algorithm 1.
Informatics 13 00030 g001
Figure 2. Comparative performance of HierFinRAG versus Vanilla RAG and GPT-4o Code Interpreter. Our multimodal approach demonstrates substantial gains, particularly on the long-context FinanceBench dataset.
Figure 2. Comparative performance of HierFinRAG versus Vanilla RAG and GPT-4o Code Interpreter. Our multimodal approach demonstrates substantial gains, particularly on the long-context FinanceBench dataset.
Informatics 13 00030 g002
Figure 3. Retrieval Recall@k comparison. The steep learning curve of HierFinRAG indicates its ability to locate the correct evidence within the first few retrieved chunks, minimizing noise for the generator.
Figure 3. Retrieval Recall@k comparison. The steep learning curve of HierFinRAG indicates its ability to locate the correct evidence within the first few retrieved chunks, minimizing noise for the generator.
Informatics 13 00030 g003
Figure 4. Efficiency vs. accuracy analysis. HierFinRAG provides a scalable solution for real-time financial analysis, balancing high accuracy with low latency.
Figure 4. Efficiency vs. accuracy analysis. HierFinRAG provides a scalable solution for real-time financial analysis, balancing high accuracy with low latency.
Informatics 13 00030 g004
Figure 5. Accuracy breakdown by Reasoning Mode. Symbolic mode achieves near-perfect precision for pure arithmetic, while Hybrid mode effectively bridges the gap for complex mixed queries.
Figure 5. Accuracy breakdown by Reasoning Mode. Symbolic mode achieves near-perfect precision for pure arithmetic, while Hybrid mode effectively bridges the gap for complex mixed queries.
Informatics 13 00030 g005
Figure 6. Distribution of error types. While reasoning and generation are robust, retrieval remains the largest challenge, motivating further research into structure-aware embedding models.
Figure 6. Distribution of error types. While reasoning and generation are robust, retrieval remains the largest challenge, motivating further research into structure-aware embedding models.
Informatics 13 00030 g006
Table 1. Summary of notations.
Table 1. Summary of notations.
SymbolDescription
G = ( V , E ) Heterogeneous Table-Text Graph
V P , V T , V C Paragraph, Table, and Cell nodes
e s t r u c t , e s e m Structural and Semantic edges
h i Embedding vector for node v i
π Synthesized symbolic program
Table 2. Ablation study showing the impact of removing key components. The TTGNN is critical for retrieval recall, while Symbolic Fusion drives reasoning accuracy.
Table 2. Ablation study showing the impact of removing key components. The TTGNN is critical for retrieval recall, while Symbolic Fusion drives reasoning accuracy.
ConfigurationFinQA EMFinanceBench AccRetrieval R@5
Full Model82.5%74.0%78.0%
No Hierarchy78.0%69.5%65.0%
No Graph (TTGNN)75.5%66.0%62.0%
No Symbolic70.0%62.5%78.0%
No Reranking79.2%71.0%72.0%
Table 3. Qualitative comparison for complexities involving scattered evidence (Query: “Percentage increase in R&D excluding stock-based compensation”). HierFinRAG’s graph traversal bridges the context gap.
Table 3. Qualitative comparison for complexities involving scattered evidence (Query: “Percentage increase in R&D excluding stock-based compensation”). HierFinRAG’s graph traversal bridges the context gap.
StepVanilla RAG (Baseline)HierFinRAG (Ours)
RetrievalRetrieves generic “Operating Expenses” paragraph. Misses footnote 3 pages away due to lack of structural link.TTGNN traverses Structural edge to header, then Cross-Ref edge to “Note 12: Stock-Based Compensation”.
ReasoningLLM attempts generation from incomplete context.Router triggers Hybrid mode. Decomposes query into “Gross R&D” and “Stock Comp”.
ExecutionHallucinates a value or returns gross figure (incorrect).Symbolically executes ( v 1 v 2 ) c u r r ( v 1 v 2 ) p r e v ( v 1 v 2 ) p r e v using extracted values.
OutcomeFailure (Incorrect/Hallucinated)Success (Exact Derived Match)
Table 4. Estimated token usage and cost for deployment. HierFinRAG’s targeted retrieval minimizes input context size.
Table 4. Estimated token usage and cost for deployment. HierFinRAG’s targeted retrieval minimizes input context size.
DatasetAvg Input TokensAvg Output TokensEst. Cost (1k Queries)
FinQA1250150$6.20
FinanceBench4500300$21.50
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Dang, Q.-V.; Nguyen, N.-S.-A.; Vo, T.-B.-D. HierFinRAG—Hierarchical Multimodal RAG for Financial Document Understanding. Informatics 2026, 13, 30. https://doi.org/10.3390/informatics13020030

AMA Style

Dang Q-V, Nguyen N-S-A, Vo T-B-D. HierFinRAG—Hierarchical Multimodal RAG for Financial Document Understanding. Informatics. 2026; 13(2):30. https://doi.org/10.3390/informatics13020030

Chicago/Turabian Style

Dang, Quang-Vinh, Ngoc-Son-An Nguyen, and Thi-Bich-Diem Vo. 2026. "HierFinRAG—Hierarchical Multimodal RAG for Financial Document Understanding" Informatics 13, no. 2: 30. https://doi.org/10.3390/informatics13020030

APA Style

Dang, Q.-V., Nguyen, N.-S.-A., & Vo, T.-B.-D. (2026). HierFinRAG—Hierarchical Multimodal RAG for Financial Document Understanding. Informatics, 13(2), 30. https://doi.org/10.3390/informatics13020030

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop