Zero-Shot Question Answering over Financial Documents using Large Language Models
Karmvir Singh Phogat, Chetan Harsha, Sridhar Dasaratha, Shashishekar, Ramakrishna, Sai Akhil Puranam

TL;DR
This paper presents a zero-shot prompting method for large language models to perform multi-hop numerical reasoning over financial documents by generating executable Python programs, significantly improving accuracy over baselines.
Contribution
The paper introduces a novel zero-shot prompt technique that guides LLMs to produce executable programs for complex reasoning, reducing reliance on few-shot examples.
Findings
Significant accuracy improvements over baseline models
Effective zero-shot reasoning with program generation
Potential for extracting complex numerical reasoning in finance
Abstract
We introduce a large language model (LLM) based approach to answer complex questions requiring multi-hop numerical reasoning over financial reports. While LLMs have exhibited remarkable performance on various natural language and reasoning tasks, complex reasoning problems often rely on few-shot prompts that require carefully crafted examples. In contrast, our approach uses novel zero-shot prompts that guide the LLM to encode the required reasoning into a Python program or a domain specific language. The generated program is then executed by a program interpreter, thus mitigating the limitations of LLM in performing accurate arithmetic calculations. We evaluate the proposed approach on three financial datasets using some of the recently developed generative pretrained transformer (GPT) models and perform comparisons with various zero-shot baselines. The experimental results…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Stock Market Forecasting Methods · Computational Physics and Python Applications
