Evaluating LLMs’ Mathematical Reasoning in Financial Document Question Answering
- Pragya Srivastava ,
- Manuj Malik ,
- Vivek Gupta ,
- Tanuja Ganu ,
- Dan Roth
Findings of the Association for Computational Linguistics ACL 2024 |
Published by Association for Computational Linguistics
Editor(s): Lun-Wei Ku, Andre Martins, Vivek Srikumar
Large Language Models (LLMs), excel in natural language understanding, but their capability for complex mathematical reasoning with an amalgamation of structured tables and unstructured text is uncertain. This study explores LLMs’ mathematical reasoning on four financial tabular question-answering datasets: TATQA, FinQA, ConvFinQA, and Multihiertt. Through extensive experiments with various models and prompting techniques, we assess how LLMs adapt to complex tables and mathematical tasks. We focus on sensitivity to table complexity and performance variations with an increasing number of arithmetic reasoning steps. The results provide insights into LLMs’ capabilities and limitations in handling complex mathematical scenarios for semi-structured tables. Ultimately, we introduce a novel prompting technique tailored to semi-structured documents, matching or outperforming other baselines in performance while providing a nuanced understanding of LLMs abilities for such a task.