# Sprawdzanie twierdzeń o umowie

EN: **Contract natural language inference** · id `contractnli` · aliases: ContractNLI, document-level NLI for contracts, contract entailment, contract hypothesis checking, wnioskowanie z umów

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w prawie](https://aiatlasgraph.com/t/legalai.md) › [Analiza umów](https://aiatlasgraph.com/t/contractai.md) › Sprawdzanie twierdzeń o umowie

## Description

- PL: Wnioskowanie na poziomie całego dokumentu: dla umowy i hipotezy model klasyfikuje wynikanie, sprzeczność lub brak wzmianki i wskazuje dowodowe fragmenty.
- EN: Document-level inference: given a contract and a hypothesis, the model labels entailment, contradiction or not mentioned and identifies evidence spans.

## In one sentence

- PL: Program dostaje twierdzenie, np. „obowiązek poufności trwa po zakończeniu umowy”, i odpowiada, czy umowa to potwierdza, zaprzecza, czy milczy.
- EN: Software takes a statement, such as 'confidentiality survives termination', and answers whether the contract confirms it, contradicts it or says nothing.

## Problem it solves

- PL: Znalezienie klauzuli to nie wszystko: trzeba jeszcze zrozumieć, czy jej wyjątki i zaprzeczenia faktycznie dają to, czego szukasz.
- EN: Finding a clause is not enough: you still need to understand whether its exceptions and negations actually give you what you are looking for.

## What it does

- PL: Działa jak sędzia w quizie z trzema przyciskami: tak, nie, brak informacji, i zawsze pokazuje zdanie, na którym oparł werdykt.
- EN: It acts like a quiz judge with three buttons, yes, no and not mentioned, and always shows the sentence its verdict rests on.

## Everyday example

- PL: Przed podpisaniem umowy o zachowaniu poufności sprawdzasz, czy wolno ci pokazać dokumenty doradcy; odpowiedź wskazuje właściwy ustęp.
- EN: Before signing a non-disclosure agreement you check whether you may show the documents to your adviser; the answer points to the right paragraph.

## This concerns you if you…

- PL: podpisujesz umowę o poufności
- PL: porównujesz umowy z firmowym wzorcem
- EN: are signing a non-disclosure agreement
- EN: compare contracts against a company standard

## Keywords

ContractNLI · natural language inference · evidence spans · NDA review · long-document classification · negation by exception

## How it works

- PL: Umowę dzieli się na fragmenty z kontekstem, a model dla każdej hipotezy klasyfikuje relację i wybiera fragmenty dowodowe jako klasyfikację wieloetykietową. Hipotezy pochodzą ze stałej listy pytań istotnych przy danym typie umowy, np. umowach o poufności.
- EN: The contract is split into context-aware segments, and for each hypothesis the model classifies the relation and selects evidence spans as multi-label classification. Hypotheses come from a fixed list of questions that matter for a contract type, such as NDAs.

## Limits

- PL: Zaprzeczenia przez wyjątki i odesłania między punktami mylą modele. Zbiory obejmują głównie jeden typ umów w języku angielskim, a odpowiedź „brak wzmianki” bywa myląca, gdy kwestię rozstrzyga prawo, a nie umowa.
- EN: Negation by exception and cross-references confuse models. Datasets cover mostly one contract type in English, and 'not mentioned' can mislead when the matter is settled by law rather than the contract.

## Key terms

- PL: **NLI**: Wnioskowanie w języku naturalnym: czy z tekstu wynika dane zdanie.
- PL: **hipoteza**: Twierdzenie, które sprawdza się względem treści dokumentu.
- PL: **fragment dowodowy**: Zdanie z dokumentu, na którym opiera się odpowiedź.
- EN: **NLI**: Natural language inference: whether a sentence follows from a text.
- EN: **hypothesis**: A statement checked against a document's content.
- EN: **evidence span**: A sentence from the document on which the answer rests.

## Know first

- [Klasyfikacja tekstu i analiza sentymentu (Text classification and sentiment analysis)](https://aiatlasgraph.com/t/textclassification.md)
- [Zarządzanie oknem kontekstu (Context window management: placement, compaction and context rot)](https://aiatlasgraph.com/t/contextmanagement.md)

## Related topics

Untyped, symmetric "see also" links.

- [Odpowiedzi na pytania z przepisów (Statute retrieval and legal entailment)](https://aiatlasgraph.com/t/statuteqa.md)
- [Przegląd umowy według zasad firmy (playbook) (Playbook-based contract review)](https://aiatlasgraph.com/t/playbookreview.md)
- [Wnioskowanie z tekstu: czy zdanie wynika z innego (NLI) (Natural language inference (textual entailment))](https://aiatlasgraph.com/t/nli.md)

## Sources

- [ContractNLI: A Dataset for Document-level Natural Language Inference for Contracts](<https://arxiv.org/abs/2110.01799>) `koreeda-contractnli-2021` · by Yuta Koreeda, Christopher D. Manning

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/contractnli · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
