Large Language Models as Tax Attorneys: A Case Study in Legal Capabilities Emergence

06/12/2023
by   John J. Nay, et al.
0

Better understanding of Large Language Models' (LLMs) legal analysis abilities can contribute to improving the efficiency of legal services, governing artificial intelligence, and leveraging LLMs to identify inconsistencies in law. This paper explores LLM capabilities in applying tax law. We choose this area of law because it has a structure that allows us to set up automated validation pipelines across thousands of examples, requires logical reasoning and maths skills, and enables us to test LLM capabilities in a manner relevant to real-world economic lives of citizens and companies. Our experiments demonstrate emerging legal understanding capabilities, with improved performance in each subsequent OpenAI model release. We experiment with retrieving and utilising the relevant legal authority to assess the impact of providing additional legal context to LLMs. Few-shot prompting, presenting examples of question-answer pairs, is also found to significantly enhance the performance of the most advanced model, GPT-4. The findings indicate that LLMs, particularly when combined with prompting enhancements and the correct legal texts, can perform at high levels of accuracy but not yet at expert tax lawyer levels. As LLMs continue to advance, their ability to reason about law autonomously could have significant implications for the legal profession and AI governance.

READ FULL TEXT
research
08/11/2023

Large Language Models in Cryptocurrency Securities Cases: Can ChatGPT Replace Lawyers?

Large Language Models (LLMs) could enhance access to the legal system. H...
research
08/02/2023

Exploring the psychology of GPT-4's Moral and Legal Reasoning

Large language models have been used as the foundation of highly sophist...
research
01/24/2023

Large Language Models as Fiduciaries: A Case Study Toward Robustly Communicating With Artificial Intelligence Through Legal Standards

Artificial Intelligence (AI) is taking on increasingly autonomous roles,...
research
05/16/2020

Imposing Regulation on Advanced Algorithms

This book discusses the necessity and perhaps urgency for the regulation...
research
06/20/2023

Hallucination is the last thing you need

The legal profession necessitates a multidimensional approach that invol...
research
01/17/2022

Data-Centric Machine Learning in the Legal Domain

Machine learning research typically starts with a fixed data set created...
research
08/20/2023

LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Models

The advent of large language models (LLMs) and their adoption by the leg...

Please sign up or login with your details

Forgot password? Click here to reset