Legal Case Retrieval: A Survey of the State of the Art

Yi Feng, Chuanyi Li, Vincent NgACL 2024

Introduction

Legal Case Retrieval (LCR) is a specialized information retrieval task focused on finding historical precedents relevant to a current legal query. Unlike general web search, LCR must navigate the complex distinction between textual similarity and legal relevance. This survey explores the evolution of the field from simple keyword matching to modern, knowledge-rich AI models.

In the legal world, finding a "similar" case isn't as simple as finding another document about a similar topic. In Common Law systems (like the U.S. or Canada), lawyers need precedents to build arguments. In Civil Law systems (like China), they need cases to see how specific statutes were applied.

The core challenge is that legal relevance is not semantic relevance. Two cases might look identical on the surface—for example, two incidents of theft involving similar amounts. However, if a specific statute draws a line for a higher-level offense at a certain dollar amount, one case might be a felony while the other is a misdemeanor. To a standard search engine, they are 99% similar; to a judge, they are fundamentally different. LCR research aims to bridge this gap between textual overlap and legal logic.

Evolution of Retrieval Methods

The authors categorize LCR evolution into three main stages:

  1. Traditional Approaches: Early systems relied on lexical matching (TF-IDF, BM25) or hand-crafted features. While efficient, they lack the nuance to understand legal context and suffer from the "vocabulary mismatch" problem.
  2. Neural Models: Modern research utilizes LSTMs, BERT, and RoBERTa to capture deeper meanings. Because legal documents are notoriously long, many models use Paragraph/Sentence-level approaches or Coarse-to-fine strategies—using a fast model to find the top 1000 candidates, then a heavy neural model to rank the top 10.
  3. Knowledge-Rich Approaches: This is the current frontier. These models incorporate external information such as Statute Knowledge (augmenting cases with the laws they cite), Legal Knowledge Graphs (mapping relationships between legal entities), and Domain-Specific Pre-training (using models like Lawformer or LEGAL-BERT).

Benchmarking LCR

Research in LCR is conducted across various jurisdictions, primarily split between Common Law and Civil Law systems. The scale and nature of these datasets vary significantly, as shown in the table below.

Comparison of major LCR datasets across different jurisdictions, languages, and scales.

In datasets like COLIEE, relevance is often determined by citation counts, whereas in LeCaRD, relevance labels are provided by legal experts, offering a more nuanced ground truth.

State-of-the-Art Performance

Current State-of-the-Art (SOTA) models leverage a mix of paragraph-level entailment, knowledge graphs, and multi-stage ranking. While neural models have improved performance—for example, outperforming BM25 by approximately 10% in precision on the LeCaRD dataset—they still face significant hurdles.

Summary of State-of-the-Art (SOTA) systems for major LCR benchmarks, highlighting their methodologies, strengths, and inherent weaknesses.

A recurring weakness across many SOTA systems is the reliance on pairwise classification rather than listwise ranking. This often prevents candidate cases from being compared against one another during the retrieval process, leading to potential ranking errors.

Critical Insights and Future Directions

The survey identifies several systemic issues in current LCR research:

  • Citation Bias: Most datasets assume that if Case A cites Case B, they are "similar." However, judges cite cases for many reasons—sometimes to distinguish them or even disagree with them. This introduces "annotation bias" into AI training.
  • The "Improper Usage" Trap: A common mistake is using the entire historical document (including the judge's final reasoning and verdict) to find similar cases. In a real-world scenario, a lawyer only has the facts of the current case. Using the verdict to find the case is essentially "cheating" with future information.
  • Temporal Robustness: Law is not static. A case that was a perfect precedent in 1970 might be irrelevant today if the underlying statute was repealed. Current models struggle with this "streaming" nature of law.
  • The Interpretability Gap: Lawyers require explanations for why a case is relevant, ideally linked to specific statutes. Moving beyond a single search box to a conversational interface that clarifies legal "elements" is a key goal for future systems.

Summary updated

BibTeX
@inproceedings{feng2024legal,
  author = {Yi Feng and Chuanyi Li and Vincent Ng},
  title = {{Legal Case Retrieval: A Survey of the State of the Art}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.350},
}
Figure