Abstract
The sheer volume of financial statements makes it difficult for humans to access and analyze a business's financials. Robust numerical reasoning likewise faces unique challenges in this domain. In this work, we focus on answering deep questions over financial data, aiming to automate the analysis of a large corpus of financial documents. In contrast to existing tasks on general domain, the finance domain includes complex numerical reasoning and understanding of heterogeneous representations. To facilitate analytical progress, we propose a new large-scale dataset, FinQA, with Question-Answering pairs over Financial reports, written by financial experts. We also annotate the gold reasoning programs to ensure full explainability. We further introduce baselines and conduct comprehensive experiments in our dataset. The results demonstrate that popular, large, pre-trained models fall far short of expert humans in acquiring finance knowledge and in complex multi-step numerical reasoning on that knowledge. Our dataset -- the first of its kind -- should therefore enable significant, new community research into complex application domains.
Introduction
Financial analysis is a high-stakes domain where a single calculation error can have significant consequences. Unlike general-domain Question Answering (QA) tasks—which often focus on simple fact retrieval from Wikipedia—financial analysis requires "deep reasoning." An analyst must locate specific data points scattered across heterogeneous sources, such as a row in a balance sheet and a clarifying sentence in a footnote, understand their relationship, and perform multi-step calculations. Existing datasets like DROP or SQuAD are insufficient for these professional-grade requirements. FinQA addresses this gap by introducing a benchmark that moves beyond simple arithmetic into the realm of complex fiscal logic.
The FinQA Dataset
The FinQA dataset consists of 8,281 QA pairs sourced from earnings reports of S&P 500 companies between 1999 and 2019. Unlike most datasets that rely on crowdsourcing, FinQA was curated by eleven finance professionals, including CPAs and MBAs. This ensures that the questions reflect real-world analytical needs.
A key feature of FinQA is the annotation of "gold" reasoning programs. Instead of providing just a final numerical answer, each question is paired with an executable program in a Domain Specific Language (DSL). This approach ensures both explainability and executability, preventing common errors associated with rounding or transcription.
Methodology: FinQANet
To address the challenges of FinQA, we propose FinQANet, a two-stage framework:
- Retriever: Given that financial reports often exceed 100 pages, the retriever uses a pre-trained Language Model (e.g., BERT) as a classifier to identify "supporting facts"—the specific sentences or table rows required to answer a question.
- Generator: Once facts are gathered, an encoder-decoder model generates a reasoning path. The generator produces a sequence of operations (e.g.,
divide,subtract) that form a program.
Experimental Results
Our experiments reveal a significant "expertise gap." While human financial experts achieved an execution accuracy of 91.16%, the best-performing model (RoBERTa-large) reached only 61.24%. Interestingly, general crowds (MTurk workers) only achieved ~50% accuracy, highlighting that FinQA requires specialized domain knowledge.
Key insights include:
- Retrieval Bottleneck: Model performance improves significantly when provided with "gold" supporting facts, suggesting that finding the right data in dense reports is a primary challenge.
- Heterogeneous Synthesis: Models perform better on questions involving only tables (67% accuracy) compared to those requiring synthesis across both tables and text (43% accuracy).
- Implicit Knowledge: Many errors stem from a lack of "financial common sense," such as understanding that "net change" implies a specific subtraction operation not explicitly labeled.
While the best AI models already outperform the average non-expert human, they still lag behind professionals by nearly 30%, suggesting that mastering the nuances of professional domains remains an open challenge for LLMs.
Conclusion and Future Work
FinQA provides a rigorous benchmark for numerical reasoning in the financial domain. Future research must address complex table layouts (e.g., nested tables), long-range dependencies across massive documents, and the integration of deeper financial logic into model pre-training. By providing gold reasoning programs, FinQA offers a roadmap for researchers to build AI that doesn't just find answers, but understands the fiscal logic behind them.
Summary updated