ContractNLI: A Dataset for Document-level Natural Language Inference for Contracts

Yuta Koreeda, Christopher D. Manning
10/5/2021
cs.CLcs.AIcs.LG
benchmark-dataset

Official code: stanfordnlp/contract-nli-bert (38 stars, Python, Apache-2.0, last commit 2023-03-10).

Abstract

Reviewing contracts is a time-consuming procedure that incurs large expenses to companies and social inequality to those who cannot afford it. In this work, we propose "document-level natural language inference (NLI) for contracts", a novel, real-world application of NLI that addresses such problems.

Show full abstract

In this task, a system is given a set of hypotheses (such as "Some obligations of Agreement may survive termination.") and a contract, and it is asked to classify whether each hypothesis is "entailed by", "contradicting to" or "not mentioned by" (neutral to) the contract as well as identifying "evidence" for the decision as spans in the contract. We annotated and release the largest corpus to date consisting of 607 annotated contracts. We then show that existing models fail badly on our task and introduce a strong baseline, which (1) models evidence identification as multi-label classification over spans instead of trying to predict start and end tokens, and (2) employs more sophisticated context segmentation for dealing with long documents. We also show that linguistic characteristics of contracts, such as negations by exceptions, are contributing to the difficulty of this task and that there is much room for improvement.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A baseline system for ContractNLI (https://stanfordnlp.github.io/contract-nli/)

3814Python, ShellSep 18, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{koreeda2021contractnli,
  title  = {ContractNLI: A Dataset for Document-level Natural Language Inference for Contracts},
  author = {Yuta Koreeda and Christopher D. Manning},
  year   = {2021},
  eprint = {2110.01799},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.01799}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.01799.svg)](https://codeofpaper.com/paper/2110.01799)

Discussion