TL;DR
This paper tackles the challenge of automatically summarizing long, complex U.S. court opinions using a massive dataset of 430K annotated documents. The authors discover that a lightweight, reinforcement learning-based model called MemSum consistently outperforms heavy-duty, long-context transformer architectures (like Longformer and LawFormer) in both automated metrics and expert human evaluations.
What Problem Does This Paper Address?
Legal documents, particularly U.S. Supreme Court opinions, are notoriously long, dense, and complex. For instance, the landmark 2022 Dobbs v. Jackson abortion opinion spans 213 pages, making it difficult even for trained attorneys to digest quickly.
While recent advances in large language models (LLMs) excel at abstractive summarization (rewriting text), they suffer from a fatal flaw in the legal domain: hallucinations. Generating non-factual legal text is completely unacceptable in law. Therefore, this paper focuses on extractive summarization—identifying and extracting the most critical sentences directly from the original text. The core challenge is scaling these models to handle documents containing thousands of tokens without losing global context or exceeding computational limits.
Methods
The authors evaluate two distinct architectural approaches to handle long-document summarization:
- MemSum (Multi-step Episodic Markov Decision Process Extractive Summarizer): A lightweight reinforcement learning (RL) framework. It uses a policy network to iteratively select sentences. At each step, it balances local sentence context (via a bi-LSTM), global document context (via another bi-LSTM), and extraction history (via a mini-transformer). The model is rewarded based on non-differentiable ROUGE scores, optimizing directly for summary quality.
- Long-Context Transformers: The authors adapt the sparse-attention Longformer architecture to handle extra-long sequences of up to 16,384 tokens, framing summarization as a binary token-level classification task. They test two versions: a standard Longformer fine-tuned on their dataset, and LawFormer, which undergoes additional domain-specific pre-training on 6 million U.S. court opinions using a legal BART objective.
Datasets
The models were trained and evaluated on a dataset of 436,889 U.S. judicial opinions (both state and federal) spanning from 1755 to 2016.
- Each opinion is paired with human-annotated key passages, which serve as the gold-standard extractive summaries.
- The average opinion contains 86 sentences (~3,500 tokens), while the average summary contains 6 sentences, yielding a compression ratio of roughly 15.8%.
- The dataset was split into 410,732 opinions for training, 13,146 for validation, and 13,011 for testing.
Key Insights and Ideas
- RL Outperforms Heavyweight Transformers: Surprisingly, the lightweight, RL-based MemSum model achieved significantly better results than the massive transformer models. This indicates that iterative sentence selection guided by global context can be more effective for long-form extraction than dense token-level self-attention.
- Diminishing Returns on Domain Pre-training: LawFormer, despite being pre-trained on 35GB of legal text, only marginally outperformed the standard Longformer.
- Tunable Compression Ratios: By adjusting the stopping probability threshold ($p_{stop\_thres}$) in MemSum, researchers can tune how concise or verbose the final summary is. The authors found that a threshold of $0.65$ yielded the optimal balance of length and information density.
Key Results
In quantitative evaluations using ROUGE metrics (measuring unigram, bigram, and longest common subsequence overlap), MemSum was the clear winner:
- MemSum: ROUGE-1: 62.8, ROUGE-2: 55.3, ROUGE-L: 61.1
- LawFormer: ROUGE-1: 56.0, ROUGE-2: 48.4, ROUGE-L: 41.1
- Longformer: ROUGE-1: 54.0, ROUGE-2: 46.7, ROUGE-L: 39.9
MemSum consistently improved upon the transformer baselines by at least 6% across all metrics, including a massive 1.5x boost in ROUGE-L over the second-best model.
For qualitative validation, a practicing U.S. lawyer conducted a blind review comparing human-written summaries against MemSum-generated summaries for 14 landmark Supreme Court cases. The attorney found the machine summaries to be highly satisfactory and remarkably concise, though human summaries were still slightly preferred overall.
Limitations and Future Work
- Extractive Coherence: Extractive summaries can occasionally feel disconnected or verbose because sentences are pulled verbatim without smoothing transitions.
- Dataset Restrictions: Due to licensing constraints, the authors cannot publicly release the 430K training dataset, though they have open-sourced their trained models and code.
- Compute Constraints: The massive scale of the corpus limited the authors' ability to run extensive hyperparameter tuning or replace MemSum’s RNN backbone with a full transformer architecture.
Future work includes exploring how well these models generalize to other legal jurisdictions and testing hybrid approaches that combine extractive safety with abstractive readability.
Summary updated