Research

Finding the Clauses That Matter: CUAD

Research by Dan Hendrycks, Collin Burns, Anya Chen and Spencer Ball with The Atticus Project, published at NeurIPS 2021. Summarized by Dejargon, November 27, 2026. This is their study, not ours. Our own test results are published separately as Model Test Results: Round One.

What was tested

The Atticus Project, a nonprofit of legal experts, built CUAD (the Contract Understanding Atticus Dataset) to measure one job: finding the clauses in a contract that a lawyer would want to review.

The dataset holds more than 500 contracts and 9,283 pages, drawn from the SEC's public EDGAR filings. Law student annotators, trained for 70 to 100 hours and working to more than 100 pages of annotation standards, labeled over 13,000 clauses across 41 categories: governing law, renewal term, anti-assignment, non-compete, uncapped liability, and 36 more. Every annotation was verified by three additional annotators. The authors estimate the labeling effort at over $2 million of expert time.

For each category, a model has to highlight the exact text that belongs to it, or correctly return nothing when the clause is absent. The authors fine-tuned ten transformer models on the training split and scored them on held-out contracts and documents.

The scores below use precision at fixed recall. Recall is the share of real clauses the model found. Precision is the share of the model's highlights that were actually right. The authors score at 80% and 90% recall because the job is finding needles in a haystack: a missed clause costs more than an extra one flagged for review.

What they found

ModelAUPRPrecision at 80% recallPrecision at 90% recall
BERT-base (2018)32.48.2%0.0%
RoBERTa-base42.631.1%0.0%
RoBERTa-base + contract pretraining45.234.1%0.0%
RoBERTa-large48.238.1%0.0%
DeBERTa-xlarge47.844.0%17.8%

The strongest model at working recall levels, DeBERTa-xlarge, caught 80% of the clauses while being right 44% of the time. (RoBERTa-large edges it on AUPR, 48.2 to 47.8; DeBERTa-xlarge leads where it matters in practice, precision at fixed recall.) Put the other way: at a working recall level, more than half of what it flagged was not the clause asked for. Push recall to 90% and its precision fell to 17.8%. Every other model scored 0.0% precision at 90% recall.

The spread between clause types was wider than the spread between models. DeBERTa-xlarge's score sat near 100% for some categories and near 20% for others. A single overall score hides the categories where the model is weak.

Making the model bigger barely helped. A twenty-fold increase in parameters across the ALBERT family bought about 3 points. Pretraining a model on roughly 8 gigabytes of extra contracts bought about 3 points.

Labeled data was the lever that moved. Ten times more expert-labeled training contracts raised RoBERTa-base from 27.6% to 42.6% AUPR, a 15-point gain, about the same size as the entire gap between the best and worst models tested.

The authors' own verdict: performance was nascent, with substantial room for improvement. The models were 2021-era encoder models, not current frontier systems. The dataset is the durable part of the study: later benchmarks, including LegalBench, build contract tasks on top of CUAD's contracts and labels.

What it means for the stacks

Clause-finding is a recall job. A stack seat for decode and extraction work earns its place on per-category evidence, not on a general reputation score, because CUAD shows the same model can be near-perfect on one clause type and weak on the next.

Over-flagging is cheaper than missing. At the precision levels even good models reach, a reviewer still reads wrong highlights. The stack design consequence: extraction seats are picked for recall first, and the product pairs them with a reviewer pass instead of pretending one model run is the finished answer.

Scale is not a substitute for fit. Bigger models and generic domain pretraining each bought about 3 points in this study, while task-matched labeled data bought 15. When Scepter weighs a new model for contract work, evidence on contract-shaped tasks outranks headline size.

Sources

Hendrycks, Burns, Chen & Ball, "CUAD: An Expert-Annotated NLP Dataset for Legal Contract Review," NeurIPS 2021, Datasets and Benchmarks track. Paper: arxiv.org/abs/2103.06268. Dataset and code: atticusprojectai.org/cuad.

All figures in this summary come from the paper, including its Table 2. CUAD is published under a CC BY 4.0 license.

Open Dejargon