Using LLMs to Discover Legal Factors

395 LEGAL KNOWLEDGE AND INFORMATION SYSTEMS 60-71 (2024), DOI: 10.3233/FAIA241234

U. of Pittsburgh Legal Studies Research Paper No. 2025-11

13 Pages Posted: 28 Apr 2025

See all articles by Morgan A. Gray

Morgan A. Gray

University of Pittsburgh - Learning Research and Development Center

Jaromir Savelka

Carnegie Mellon University

Wesley Oliver

Duquesne Law School

Kevin Ashley

University of Pittsburgh - School of Law

Date Written: December 20, 2024

Abstract

Factors are a foundational component of legal analysis and computational models of legal reasoning. These factor-based representations enable lawyers, judges, and AI and Law researchers to reason about legal cases. In this paper, we introduce a methodology that leverages large language models (LLMs) to discover lists of factors that effectively represent a legal domain. Our method takes as input raw court opinions and produces a set of factors and associated definitions. We demonstrate that a semi-automated approach, incorporating minimal human involvement, produces factor representations that can predict case outcomes with moderate success, if not yet as well as expert-defined factors can.

Keywords: legal factors, machine learning, large language models, legal reasoning

Suggested Citation

Gray, Morgan A. and Savelka, Jaromir and Oliver, Wesley and Ashley, Kevin, Using LLMs to Discover Legal Factors (December 20, 2024). 395 LEGAL KNOWLEDGE AND INFORMATION SYSTEMS 60-71 (2024), DOI: 10.3233/FAIA241234, U. of Pittsburgh Legal Studies Research Paper No. 2025-11, Available at SSRN: https://ssrn.com/abstract=5233950 or http://dx.doi.org/10.2139/ssrn.5233950

Morgan A. Gray (Contact Author)

University of Pittsburgh - Learning Research and Development Center ( email )

PA
United States

Jaromir Savelka

Carnegie Mellon University ( email )

Pittsburgh, PA 15213-3890
United States

Wesley Oliver

Duquesne Law School ( email )

600 Forbes Avenue
Pittsburgh, PA 15282
United States

Kevin Ashley

University of Pittsburgh - School of Law ( email )

3900 Forbes Ave.
Pittsburgh, PA 15260
United States

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
23
Abstract Views
172
PlumX Metrics