Skip to main content
QUICK REVIEW

[Paper Review] LegalBench: Prototyping a Collaborative Benchmark for Legal Reasoning

Neel Guha, Daniel E. Ho|arXiv (Cornell University)|Sep 13, 2022
Artificial Intelligence in LawSocial Sciences12 citations
TL;DR

LegalBench proposes a collaborative, open benchmark for evaluating foundation models on legal reasoning tasks, structured around the IRAC framework to capture diverse legal reasoning types. Initial results show larger models outperform smaller ones, chain-of-thought prompting improves performance, and classification tasks are easier than application or issue-spotting tasks, highlighting the need for law-specific prompting strategies.

ABSTRACT

Can foundation models be guided to execute tasks involving legal reasoning? We believe that building a benchmark to answer this question will require sustained collaborative efforts between the computer science and legal communities. To that end, this short paper serves three purposes. First, we describe how IRAC-a framework legal scholars use to distinguish different types of legal reasoning-can guide the construction of a Foundation Model oriented benchmark. Second, we present a seed set of 44 tasks built according to this framework. We discuss initial findings, and highlight directions for new tasks. Finally-inspired by the Open Science movement-we make a call for the legal and computer science communities to join our efforts by contributing new tasks. This work is ongoing, and our progress can be tracked here: https://github.com/HazyResearch/legalbench.

Motivation & Objective

  • To address the lack of benchmarks that evaluate foundation models on nuanced legal reasoning tasks requiring specialized knowledge and multi-step inference.
  • To create a community-driven, data-centric benchmark enabling continuous contribution of new legal reasoning tasks from legal and computer science experts.
  • To study which types of legal reasoning foundation models can perform and which prompting strategies are most effective in legal contexts.
  • To support the development of safe, ethical, and reliable AI tools that can assist—rather than replace—legal professionals.
  • To foster interdisciplinary collaboration between legal scholars and computer scientists in evaluating and advancing legal AI.

Proposed method

  • The benchmark is structured around the IRAC framework (Issue, Rule, Application, Conclusion) to systematically categorize legal reasoning tasks.
  • 44 initial tasks were curated across four legal domains: contracts, constitutional law, criminal law, and intellectual property.
  • Each task is designed as a few-shot learning problem, using natural language instructions and labeled demonstrations to guide foundation models.
  • Tasks include classification, conclusion prediction, and issue-spotting, with performance evaluated using F1 (macro) scores.
  • Chain-of-thought prompting and in-context demonstrations are systematically tested to assess their impact on model performance.
  • The benchmark is hosted on GitHub, enabling community contributions of new tasks and ongoing evaluation of emerging foundation models.

Experimental results

Research questions

  • RQ1Which types of legal reasoning—such as rule application, issue spotting, or conclusion generation—can foundation models perform effectively?
  • RQ2How do different foundation model architectures and sizes perform across diverse legal reasoning tasks?
  • RQ3To what extent do prompting strategies like chain-of-thought or in-context demonstrations improve legal reasoning performance?
  • RQ4How do the lexical and structural properties of legal language affect foundation model performance compared to general-domain tasks?
  • RQ5Can the benchmark support the development of reliable, auditable, and ethically sound AI tools for legal practice?

Key findings

  • Larger foundation models consistently outperform smaller ones across all legal reasoning task types, indicating a strong correlation between model scale and performance.
  • Even with identical architectures, performance varies significantly due to differences in pretraining data and instruction fine-tuning regimes.
  • Foundation models perform best on classification tasks and worst on application and issue-spotting tasks, suggesting difficulty with complex, multi-step legal reasoning.
  • For some issue-spotting tasks, in-context demonstrations provide only marginal improvement, indicating that performance is largely driven by prompt clarity and model understanding of task description.
  • Chain-of-thought prompting significantly improves performance across multiple task types, demonstrating its value in enhancing reasoning transparency and accuracy.
  • Foundation models show stronger performance on information-extraction and relation-extraction tasks, suggesting that legal reasoning tasks amenable to these formats are more tractable for current models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.