Can GPT-3 Perform Statutory Reasoning?

Andrew Blair-Stanek, Nils Holzenberger, Benjamin Van Durme
2/13/2023
cs.CLcs.AI

No official code found. Best implementation: BlairStanek/gpt-statutes (10 stars, last commit 2024-09-17).

Abstract

Statutory reasoning is the task of reasoning with facts and statutes, which are rules written in natural language by a legislature. It is a basic legal skill. In this paper we explore the capabilities of the most capable GPT-3 model, text-davinci-003, on an established statutory-reasoning dataset called SARA. We consider a variety of approaches, including dynamic few-shot prompting, chain-of-thought prompting, and zero-shot prompting. While we achieve results with GPT-3 that are better than the previous best published results, we also identify several types of clear errors it makes. We investigate why these errors happen. We discover that GPT-3 has imperfect prior knowledge of the actual U.S. statutes on which SARA is based. More importantly, we create simple synthetic statutes, which GPT-3 is guaranteed not to have seen during training. We find GPT-3 performs poorly at answering straightforward questions about these simple synthetic statutes.

View on arXivView PDF

Code Implementations(1)

Probe how GPT-n performs on statutory reasoning

100PythonFeb 12, 20232 years ago
gptlawnlp

Similar Papers

Cite this paper

@article{blairstanek2023gpt,
  title  = {Can GPT-3 Perform Statutory Reasoning?},
  author = {Andrew Blair-Stanek and Nils Holzenberger and Benjamin Van Durme},
  year   = {2023},
  eprint = {2302.06100},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.06100v2}
}

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/2302.06100.svg)](https://codeofpaper.com/paper/2302.06100)

Discussion