TL;DR
ACORD is the first expert-annotated benchmark specifically designed for legal contract clause retrieval, a task foundational to how lawyers actually draft contracts by adapting precedents. The dataset provides over 126,000 query-clause pairs across 114 professional queries, revealing that while modern LLMs show promise in understanding legal concepts, they still struggle to identify the "perfect" (5-star) clauses required for high-stakes legal work.
What Problem Does This Paper Address?
In the legal world, drafting from scratch is a rarity. Attorneys spend a massive portion of their time searching for, adapting, and negotiating precedent clauses. While Large Language Models (LLMs) are increasingly used for legal analysis, they often fail at independent drafting—introducing non-standard language or creating internal conflicts between clauses.
To solve this, researchers use Retrieval-Augmented Generation (RAG), which mimics the lawyer's workflow: find a high-quality precedent first, then adapt it. However, evaluating these systems was nearly impossible because existing legal datasets focused on clause extraction (finding where a clause is) or classification (labeling what it is), rather than retrieval (ranking the best precedents for a specific drafting need). ACORD fills this gap with a large-scale, expert-rated ranking benchmark.
Methods
The authors evaluate a standard two-stage retrieval pipeline:
- Retrieval: Initial candidates are pulled using lexical methods (BM25) or dense vector embeddings (MiniLM bi-encoder, OpenAI embeddings).
- Reranking: The top 100 results are re-ordered using more computationally expensive models, including a fine-tuned MiniLM cross-encoder and several LLMs (GPT-4o, GPT-4o-mini, Llama-3.2) used as rerankers.
A notable technical choice was the comparison between pointwise reranking (scoring each clause individually) and pairwise reranking (comparing two clauses to see which is better).
Datasets
The Atticus Clause Retrieval Dataset (ACORD) is the centerpiece of this work.
- Scale: 114 unique expert-written queries and 126,000+ query-clause pairs.
- Source: Contracts sourced from the SEC's EDGAR system (via the CUAD dataset) and online Terms of Service from Fortune 500 companies.
- Annotation: A team of 12 experienced attorneys and 10 law students provided 1-to-5 star relevance ratings.
- 5-star: Exemplary, includes extra helpful legal concepts.
- 3-star: Relevant but has defects (e.g., too one-sided or non-standard language).
- 1-star: Entirely irrelevant.
- Cost: The authors estimate the annotation cost would exceed $1 million at prevailing legal market rates.
Key Insights and Ideas
- NDCG is Deceptive: While models achieved high NDCG scores (often >75%), their 5-star precision was dismal (often <20%). In law, a "relevant but flawed" 3-star clause can lead to malpractice or disputes; therefore, precision at the very top of the scale is the only metric that truly matters to a practitioner.
- The Jargon Paradox: Models are surprisingly good at semantic mapping (e.g., linking "change of control" to "ownership changes"). However, they fail on short, context-less legal jargon. A query for "as-is clause" often returned zero relevant results, even though a simple keyword search would have been perfect.
- Context is King: Providing longer, more descriptive queries significantly improved model performance.
- Pointwise > Pairwise: Contrary to much of the recent Information Retrieval literature, the authors found that pointwise reranking generally outperformed pairwise reranking for legal retrieval, except for the smallest Llama models.
Key Results
The best-performing system was a MiniLM bi-encoder paired with a GPT-4o reranker, achieving an NDCG@5 of 79.1%. However, even this top-tier system struggled to find the "perfect" precedents, as shown in the aggregated results below:
Domain-specific fine-tuning of smaller models (like the MiniLM cross-encoder) provided modest gains in NDCG and 5-star precision, but they still lagged significantly behind the largest LLMs.
Limitations and Future Work
- Pre-extracted Clauses: ACORD currently provides a "Clause Corpus" where clauses are already separated. In the real world, a model must first extract these clauses from massive, messy full-text contracts, a step that will likely degrade performance.
- Subjectivity: Legal relevance is inherently subjective; the authors noted a 21% disagreement rate among expert annotators, reflecting different professional backgrounds and industry focuses.
- Scope: The dataset is currently limited to English-language, U.S.-based commercial contracts and does not yet cover areas like payment terms or product descriptions.
Future work will focus on publishing the underlying full-text contracts to enable research on the end-to-end task of extraction and retrieval.
Summary updated