Your browser doesn't support javascript.
loading
Large language models as tax attorneys: a case study in legal capabilities emergence.
Nay, John J; Karamardian, David; Lawsky, Sarah B; Tao, Wenting; Bhat, Meghana; Jain, Raghav; Lee, Aaron Travis; Choi, Jonathan H; Kasai, Jungo.
Affiliation
  • Nay JJ; CodeX, Center for Legal Informatics, Stanford University, Stanford, CA, USA.
  • Karamardian D; Stanford University, Stanford, CA, USA.
  • Lawsky SB; Northwestern Pritzker School of Law, Chicago, IL, USA.
  • Tao W; Stanford University, Stanford, CA, USA.
  • Bhat M; Engineering, University of Michigan, Ann Arbor, MI, USA.
  • Jain R; SimPPL, India.
  • Lee AT; Independent, Northern Ireland.
  • Choi JH; School of Law, University of Southern California, Los Angeles, CA, USA.
  • Kasai J; Department of Computer Science, University of Washington, Seattle, WA, USA.
Philos Trans A Math Phys Eng Sci ; 382(2270): 20230159, 2024 Apr 15.
Article in En | MEDLINE | ID: mdl-38403061
ABSTRACT
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 using 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. This article is part of the theme issue 'A complexity science approach to law and governance'.
Subject(s)
Key words

Full text: 1 Collection: 01-internacional Database: MEDLINE Main subject: Artificial Intelligence / Lawyers Limits: Humans Language: En Journal: Philos Trans A Math Phys Eng Sci Journal subject: BIOFISICA / ENGENHARIA BIOMEDICA Year: 2024 Type: Article Affiliation country: United States

Full text: 1 Collection: 01-internacional Database: MEDLINE Main subject: Artificial Intelligence / Lawyers Limits: Humans Language: En Journal: Philos Trans A Math Phys Eng Sci Journal subject: BIOFISICA / ENGENHARIA BIOMEDICA Year: 2024 Type: Article Affiliation country: United States