Identifying Legal Holdings with LLMs: A Systematic Study of Performance, Scale, and Memorization
Chuck Arvin
TL;DR
This study assesses how modern large language models (3B–90B+ parameters) perform on CaseHOLD, a benchmark for identifying legal holdings, and demonstrates a clear scaling effect where larger models achieve higher macro F1 scores without fine-tuning. Notably, GPT4o and AmazonNovaPro reach macro F1 scores of 0.744 and 0.720, competitive with specialized legal models, under zero-shot conditions. To address memorization concerns, the authors introduce a citation anonymization test which preserves semantics while altering case names and citations; results remain strong (macro F1 ≈ 0.728), suggesting performance is not merely memorized text. The work advances legal NLP benchmarking by showing promise for general-purpose LLMs in legal tasks and outlining future directions for memorization detection and broader evaluation across legal datasets.
Abstract
As large language models (LLMs) continue to advance in capabilities, it is essential to assess how they perform on established benchmarks. In this study, we present a suite of experiments to assess the performance of modern LLMs (ranging from 3B to 90B+ parameters) on CaseHOLD, a legal benchmark dataset for identifying case holdings. Our experiments demonstrate scaling effects - performance on this task improves with model size, with more capable models like GPT4o and AmazonNovaPro achieving macro F1 scores of 0.744 and 0.720 respectively. These scores are competitive with the best published results on this dataset, and do not require any technically sophisticated model training, fine-tuning or few-shot prompting. To ensure that these strong results are not due to memorization of judicial opinions contained in the training data, we develop and utilize a novel citation anonymization test that preserves semantic meaning while ensuring case names and citations are fictitious. Models maintain strong performance under these conditions (macro F1 of 0.728), suggesting the performance is not due to rote memorization. These findings demonstrate both the promise and current limitations of LLMs for legal tasks with important implications for the development and measurement of automated legal analytics and legal benchmarks.
