ACORD: An Expert-Annotated Retrieval Dataset for Legal Contract Drafting

Steven H. Wang, Maksim Zubkov, Kexin Fan, Sarah Harrell, Yuyang Sun, Wei Chen, Andreas Plesner, Roger Wattenhofer · DOI

Abstract

Contract drafting is a retrieval-intensive task where legal professionals rely on high-quality precedents to construct new agreements. Despite the rise of Large Language Models (LLMs), automated retrieval for legal drafting remains challenging due to the nuance of legal language. We introduce the Atticus Clause Retrieval Dataset (ACORD), the first expert-annotated benchmark for this domain, containing over 126,000 query-clause pairs. Our evaluation shows that while LLMs are powerful rerankers, they struggle with specific legal jargon, and pointwise ranking strategies surprisingly outperform pairwise methods.

Introduction

In legal practice, "drafting" a contract rarely involves writing from scratch. Lawyers spend approximately half of their time locating, editing, and negotiating clauses based on established precedents. For instance, when a "Limitation of Liability" clause is required, a lawyer searches through thousands of past agreements to find a version that is both relevant and battle-tested.

The ACORD interface illustrates the task of retrieving relevant legal clauses based on natural language queries.

While LLMs excel at general text generation, they often produce clauses that conflict with other sections or use non-standard language when drafting independently. Retrieval-Augmented Generation (RAG) offers a solution, but its success depends on highly accurate retrieval systems. Until ACORD, there was no gold-standard dataset to evaluate AI's ability to find the specific precedents lawyers require.

The ACORD Dataset

The Atticus Clause Retrieval Dataset (ACORD) is a large-scale resource designed to bridge this gap. It consists of 114 unique queries across nine complex categories, such as Indemnification, Change of Control, and Most Favored Nation.

Key features of ACORD include:

  • Expert Annotation: The dataset was annotated by 12 experienced attorneys and 10 law students, representing an estimated market value of over $1 million in professional time.
  • Granular Scoring: Unlike binary datasets, ACORD uses a 1-to-5 star rating system. This allows for a nuanced evaluation of "perfect" precedents versus "helpful but flawed" clauses.
  • Source Material: Clauses were sourced from the CUAD dataset and SEC EDGAR filings.

Methodology

We established a rigorous evaluation framework using several Information Retrieval (IR) techniques:

  1. Retrievers: We compared lexical methods (BM25) against neural methods (MiniLM bi-encoders, OpenAI text embeddings).
  2. Rerankers: A two-stage pipeline was implemented where the top 100 results from a retriever were re-ordered by models including GPT-4o, GPT-4o-mini, and Llama 3.2 (1B and 3B).
  3. Ranking Strategies: We compared pointwise reranking (scoring clauses individually) against pairwise reranking (comparing two clauses).
  4. Fine-tuning: We fine-tuned a MiniLM cross-encoder on the ACORD training set to assess the impact of domain-specific training.

Key Insights and Results

Our experiments yielded several critical insights into the state of legal retrieval:

The Lexical Gap and Context

Simple keyword searches often fail because legal concepts are frequently described using varying terminology (e.g., "Change of Control" vs. "ownership changes"). We found that providing descriptive sentences explaining legal intent, rather than short jargon-heavy queries, significantly improved performance.

Pointwise vs. Pairwise Ranking

Contrary to some recent IR literature, pointwise reranking generally outperformed pairwise methods. This suggests that in the legal domain, evaluating a clause's absolute merit against a rubric is more effective than relative comparisons between clauses.

Performance Metrics

While models achieved high NDCG scores, their "5-star precision"—the ability to find the absolute best clauses—remained low. For legal professionals, a "3-star" clause can be a liability; the system must prioritize "5-star" precedents.

Performance metrics comparison showing that while NDCG is high, precision for top-tier (5-star) clauses remains a challenge.

The top-performing configuration was a BM25 retriever paired with a GPT-4o pointwise reranker, achieving an NDCG@5 of 76.9%. We also observed a significant performance jump between Llama 3.2 1B and 3B, indicating a minimum parameter threshold for legal reasoning. Fine-tuning provided a modest boost but did not match the zero-shot performance of frontier models.

Conclusion

ACORD provides a vital benchmark for the development of legal AI. While frontier models like GPT-4o show promise, there is significant room for improvement in identifying high-quality legal precedents. Future work will expand ACORD to include more clause categories and international jurisdictions, as well as exploring extraction tasks within long-form documents.

Summary updated

BibTeX
@inproceedings{wang2025acord,
  author = {Steven H. Wang and Maksim Zubkov and Kexin Fan and Sarah Harrell and Yuyang Sun and Wei Chen and Andreas Plesner and Roger Wattenhofer},
  title = {{ACORD: An Expert-Annotated Retrieval Dataset for Legal Contract Drafting}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure