Legal Extractive Summarization of U.S. Court Opinions

Emmanuel Bauer, Dominik Stammbach, Nianlong Gu, Elliott Ash

Researchers from ETH Zurich have introduced a specialized AI system designed to navigate the dense, voluminous landscape of U.S. court opinions. By leveraging reinforcement learning, their model, MemSum, extracts critical sentences to create concise summaries that maintain the original legal phrasing, outperforming traditional Transformer-based architectures.

The U.S. legal system generates an immense amount of documentation. High-profile Supreme Court decisions, such as the 2022 Dobbs v. Jackson ruling, can exceed 200 pages. For the public and legal professionals alike, distilling these documents is a significant burden.

AI summarization typically faces two major hurdles in this domain:

  1. Extreme Length: Standard models like BERT are limited by token windows, often failing on documents longer than a few pages.
  2. High Stakes: "Abstractive" models, which paraphrase text, risk "hallucinations"—the fabrication of legal facts or misinterpretation of nuanced judicial language—which is unacceptable in a court context.

To mitigate these risks, the researchers focused on extractive summarization. This method identifies and pulls verbatim sentences from the source text, ensuring 100% fidelity to the judge's original wording while achieving up to 100x compression.

Methodology: MemSum vs. Transformers

The study compared two distinct approaches:

  • MemSum: A reinforcement learning (RL) model that operates iteratively. It employs a "policy network" to select sentences based on local context, global document structure, and the history of previously extracted content. It is optimized to maximize ROUGE scores, a standard metric for summary overlap with human references.
  • Long-Context Transformers: The team tested LongFormer and LawFormer (pre-trained on 6 million legal documents). These models use sparse attention mechanisms to process up to 16,000 tokens.

Results indicated that the lighter-weight RL approach of MemSum scaled more effectively to the thousands of sentences found in complex legal opinions compared to the computationally heavy Transformer models.

Data and Benchmarking

The models were trained on a massive dataset of 436,889 U.S. court opinions spanning from 1755 to 2016. These cases included human-annotated "key passages" provided by legal experts, serving as the gold standard for training. The dataset is particularly rigorous; while the average opinion contains 86 sentences, the longest entries contain thousands, making this a difficult benchmark for long-document processing.

Key Results and Human Evaluation

Quantitatively, MemSum significantly outperformed its peers. On the ROUGE-L metric, MemSum achieved a score of 61.1, nearly 50% higher than LawFormer’s 41.1.

To assess qualitative performance, a professional lawyer conducted a "blinded" validation, comparing MemSum’s output against human-written summaries without knowing the source of either.

Histogram showing the relative quality of machine-generated summaries compared to human experts.

The evaluation revealed that while human summaries were preferred in 70% of cases, the quality gap was narrow. The machine summaries received a mean relative score of -0.57 (on a -2 to +2 scale), which the researchers characterized as "impressive quality," nearly matching human expertise.

Case Study: Dobbs v. Jackson

A critical test for the model was the 213-page Dobbs opinion. MemSum successfully compressed the document by a factor of 100x, capturing the core legal and policy arguments from both the majority and the dissent.

The model's ability to navigate such a long document and identify pivotal sentences—such as those regarding the "deeply rooted" history of rights or the doctrine of stare decisis—demonstrates its utility in making primary legal sources more accessible to the general public.

Conclusion

While extractive summaries can occasionally feel less fluid than human prose, the fidelity and efficiency of MemSum offer a powerful tool for "democratizing law." The researchers have open-sourced their models and code on GitHub, aiming to assist both the general public and legal practitioners in navigating the complexities of the judicial system.

Summary updated

BibTeX
@inproceedings{bauer2023legal,
  author = {Emmanuel Bauer and Dominik Stammbach and Nianlong Gu and Elliott Ash},
  title = {{Legal Extractive Summarization of U.S. Court Opinions}},
  booktitle = {LIRAI@HT},
  year = {2023},
}
Figure