Research

Does the Contract Say That? ContractNLI

Research by Yuta Koreeda (Hitachi America / Stanford) and Christopher D. Manning (Stanford), published in Findings of EMNLP 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

Contract review, in practice, is checking a document against a list of claims: does this agreement let them share our data with third parties, do obligations survive termination, is reverse engineering banned. ContractNLI turns that checklist into a measured task.

The authors annotated 607 non-disclosure agreements with 17 fixed hypotheses. For every contract and every hypothesis, a model must answer one of three ways: the contract entails it, contradicts it, or never mentions it, and point to the evidence spans behind the answer. Silence is a valid and common answer: a contract that never mentions a right does not grant it.

The documents averaged about 2,254 tokens, and 86% of them exceeded the 512-token context window of the BERT-era models tested, so the task also forced the models to work across a whole document rather than a passage.

What they found

The authors' own summary is that existing models failed badly, and their proposed baseline, Span NLI BERT, was built to fix the worst of it. Its large version reached 87.5% accuracy on the three-way decision. The weak class was contradiction: spotting where a contract actually says the opposite scored an F1 of about 0.36, against about 0.83 for entailment. Models were far better at confirming what a contract says than at catching what it forbids.

One habit of contract drafting did outsized damage. Contracts state a rule, then carve out an exception: "shall not disclose to any person, except its employees." The authors call this negation by exception. It appears in 59% of the documents in local form, and in 44% with the exception stated pages away from the rule. Accuracy on the affected questions, split by whether the true answer was the common or the rare label:

ConditionAccuracy, common labelAccuracy, rare label
No negation by exception (local)0.910.77
Negation by exception in one clause0.920.40
No negation by exception (non-local)0.980.72
Exception stated pages away0.900.00

When the exception sat pages away from the rule, accuracy on the rare-label cases fell to zero. The model read the rule, stopped, and never reached the exception that reversed it.

Evidence was the bottleneck underneath everything. In a control experiment on a binary version of the task, entailment against contradiction only, the authors handed the model the correct evidence spans and asked only for the verdict: contradiction F1 rose from about 0.49 to about 0.62 to 0.66, depending on the model size. Much of what looks like bad judgment was bad retrieval arriving first.

What it means for the stacks

Verification seats are judged on the contradiction class, not the average. A checker that confirms the common reading and misses the exception is worse than no checker, because the exception is usually the clause with money attached. When Scepter weighs evidence for question-answering and comparison seats, per-class results outrank headline accuracy.

"Not mentioned" is an answer a stack has to respect. A model that invents a position the contract never took fails the signer twice: once on the facts, once on the confidence. Seats for document questions are picked partly on how they handle silence.

Retrieval quality caps verdict quality. The oracle experiment is the design lesson: give the deciding model the right passages and the verdict improves by double digits. Stack routing and document preparation are one decision, not two.

Sources

Koreeda & Manning, "ContractNLI: A Dataset for Document-level Natural Language Inference for Contracts," Findings of EMNLP 2021. Paper and dataset: aclanthology.org/2021.findings-emnlp.164 and stanfordnlp.github.io/contract-nli.

All figures in this summary come from the paper, including its Tables 5, 6 and 7.

Open Dejargon