Document-Level Numerical Reasoning across Single and Multiple Tables in Financial Reports
Organizations: Department of Computer Science and Information Engineering, National Taiwan University · FinTech Center, National Taiwan University
Abstract
Despite the strong language understanding abilities of large language models (LLMs), they still struggle with reliable question answering (QA) over long, structured documents, particularly for numerical reasoning. Financial annual reports exemplify this difficulty: financial statement analysis often hinges on accurate arithmetic, and analysts derive key indicators by integrating evidence scattered across multiple tables and narrative text. However, existing benchmarks focus largely on single-table settings, leaving cross-table document-level numerical reasoning underexplored. To address this gap, we introduce FinLongDocQA, a dataset for both single-table and cross-table financial numerical reasoning in long-context reports. Evaluating both closed-source and open-source LLMs on FinLongDocQA reveals two bottlenecks: (1) annual reports often exceed 129k tokens, exacerbating the context rot problem for locating relevant tables; and (2) even when relevant evidence is located, LLMs remain prone to errors in multi-step numerical reasoning. We propose FinLongDocAgent, a Multi-Agent Multi-Round Retrieval-Augmented Generation (RAG) approach that iteratively retrieves evidence, performs intermediate calculations, and verifies results across rounds. Experiments highlight the importance of iterative retrieval and verification for reliable numerical QA in long financial documents.
Figures & tables
| Dataset | Task | Input Modality | Doc RAG | Cross Table | ||
| Tab. | Text | Img. | ||||
| FiQA-SA (WWW’18) | Semantic analysis | ✗ | ✓ | ✗ | ✗ | ✗ |
| FinQA (EMNLP’21) | Numerical reasoning | ✓ | ✓ | ✗ | ✗ | ✗ |
| TAT-QA (ACL’21) | Numerical reasoning | ✓ | ✓ | ✗ | ✗ | ✗ |
| TAT-DQA (MM’22) | Numerical reasoning | ✗ | ✓ | ✓ | ✗ | ✗ |
| MultiHiertt (ACL’22) | Numerical reasoning | ✓ | ✓ | ✗ | ✗ | ✓ |
| Error Analysis |
| Retrieval Error (62%) |
| Q: What was the 2023 net sales per facility in Europe, the Middle East & Africa? G: 518.75 Retrieved: 29, 32, 36, 37, 39 (+10 more) Failure cue: Missing required operands (EMEA net sales; # facilities). P: Retrieved pages do not contain (2023 EMEA Net Sales) / (2023 EMEA # Facilities). |
| Evidence Utilization Error (19%) |
| Q: What was the total lease liability per proved BoE of reserves at year-end 2022? G: 0.06 (GT: p.101, p.105) Retrieved: 101, 105, 104, 108, 107 (+10 more) Failure cue: Gold pages are retrieved, but the model uses reserves from the wrong page . P: \frac{296+33+584+182\;({\color[rgb]{0,0.5,0}p.101})}{4{,}238\;({\color[rgb]{0.668,0.2734,0.2734}p.107})}=0.26 |
| Value Extraction Error (11%) |
| Q: What is the absolute difference between 2022 underlying net income available to common stockholders and GAAP net income? G: 352 (GT: p.16, p.17) Retrieved: 16, 17, 15, 14, 18 (+10 more) Failure cue: Evidence is retrieved and used, but the model extracts a wrong GAAP value . P: |2312-{\color[rgb]{0.668,0.2734,0.2734}2073}|={\color[rgb]{0.668,0.2734,0.2734}239} (should be 352) |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Methods | Prompting Design | FinQA † |
| FinQAPT ( Singh et al., 2024 ) | Few-shot | 62.0 |
| FinLongDocAgent (ours) | Zero-shot | 66.2 |
Numerical Reasoning in Language Models
Numerical reasoning in language models studies how systems represent, calculate with, and explain numbers across mathematical and real-world tasks.
See all 150 papers