Abstract
Financial documents present a significant challenge for automated reasoning due to the high density of numerical data. While current models can often determine the correct mathematical logic, they frequently struggle with "argument misrecognition"—selecting the wrong numbers from a retrieved context. This paper introduces the Arguments Set Loss, a novel training objective designed to improve a model's ability to identify relevant arguments. By supervising the set of numbers used in a reasoning program, the proposed method achieves state-of-the-art performance on financial QA benchmarks, outperforming even large-scale language models like ChatGPT.
The Challenge of Argument Misrecognition
In financial question answering (QA), models typically follow a "retrieve-then-generate" pipeline. They first retrieve relevant snippets from long documents and then generate a mathematical program to compute the answer. However, financial reports are often "noisy," containing numerous similar values within a single table or paragraph.
Analysis of the FinQA dataset reveals that selecting incorrect arguments is a more frequent source of error than choosing the wrong mathematical operators. Models may correctly identify that a "percentage change" requires subtraction and division but fail to pick the specific values corresponding to the correct years.
Methodology: Arguments Set Loss
To address this, the researchers developed a method to provide global supervision over the pool of numbers used in a generated program. The architecture introduces two key components to the standard encoder-decoder framework:
- Argument Aggregator: This component processes the probability distributions produced during program generation. By masking mathematical operators and applying Max Pooling across all generation steps, it creates a "global argument distribution." This distribution reflects the model's overall confidence that specific numbers from the input context should appear anywhere in the final program.
- Arguments Set Loss ($L_{argset}$): This auxiliary loss function compares the predicted global argument distribution against the ground truth set of numbers required for the answer.
By training the model with both standard sequence loss and this new set-based loss, the model is forced to become more "aware" of which numbers in the noisy input are actually relevant to the task.
Experimental Results
The approach was evaluated on the FinQA and ConvFinQA benchmarks. Key findings include:
- Performance Gains: On FinQA, the model achieved a 3.62% improvement in execution accuracy and a 3.98% improvement in program accuracy over the baseline.
- Outperforming LLMs: A RoBERTa-large implementation of this method reached 64.86% execution accuracy, significantly outperforming ChatGPT's zero-shot (48.56%) and Chain-of-Thought (63.87%) results.
- Robustness to Noise: The method proved particularly effective in "hard" cases where the input context contained more than 21 candidate numbers, showing the most significant gains over baselines in these scenarios.
Conclusion
The core bottleneck in financial mathematical reasoning is often data selection rather than logical reasoning. By introducing global supervision through the Arguments Set Loss, models can better navigate the "noisy" environment of financial reports. While dependencies on retriever performance and complex operator management remain, this work represents a significant step toward more reliable automated financial analysis.
Summary updated