GPT-3 Models are Few-Shot Financial Reasoners

Raul Salles de Padua, Imran Qureshi, Mustafa U. Karakaplan
7/25/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Financial analysis is an important tool for evaluating company performance. Practitioners work to answer financial questions to make profitable investment decisions, and use advanced quantitative analyses to do so. As a result, Financial Question Answering (QA) is a question answering task that requires deep reasoning about numbers. Furthermore, it is unknown how well pre-trained language models can reason in the financial domain. The current state-of-the-art requires a retriever to collect relevant facts about the financial question from the text and a generator to produce a valid financial program and a final answer. However, recently large language models like GPT-3 have achieved state-of-the-art performance on wide variety of tasks with just a few shot examples. We run several experiments with GPT-3 and find that a separate retrieval model and logic engine continue to be essential components to achieving SOTA performance in this task, particularly due to the precise nature of financial questions and the complex information stored in financial documents. With this understanding, our refined prompt-engineering approach on GPT-3 achieves near SOTA accuracy without any fine-tuning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{padua2023gpt,
  title  = {GPT-3 Models are Few-Shot Financial Reasoners},
  author = {Raul Salles de Padua and Imran Qureshi and Mustafa U. Karakaplan},
  year   = {2023},
  eprint = {2307.13617},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.13617v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.13617.svg)](https://codeofpaper.com/paper/2307.13617)

Discussion