Abstract
The emergence of contract specific programming languages has struggled to translate into widespread adoption of computable contracts due largely to high conversion costs. In this work, we present the first system for converting natural language contracts into code through the extraction of key entities, relationships, and formulas into a graph representation called the Obligation Logic Graph (OLG). This approach allows the semantic meaning of contract obligations, including dependencies between obligations, to be captured through the OLG and mapped to code downstream. We also introduce OLG extraction as a new joint entity and relation prediction task for legal contracts, and present the Contract-OLG dataset, consisting of 1,876 contract provisions, 18,597 entities and 18,170 relationships. We perform detailed experiments to understand the capabilities of state-of-the-art Transformer and graph-based models at completing these tasks, and identify where there is currently a significant gap between human expert and machine performance, particularly for relation extraction.
Original language | English (US) |
---|---|
Title of host publication | 19th International Conference on Artificial Intelligence and Law, ICAIL 2023 - Proceedings of the Conference |
Publisher | Association for Computing Machinery, Inc |
Pages | 267-276 |
Number of pages | 10 |
ISBN (Electronic) | 9798400701979 |
DOIs | |
State | Published - Jun 19 2023 |
Event | 19th International Conference on Artificial Intelligence and Law, ICAIL 2023 - Braga, Portugal Duration: Jun 19 2023 → Jun 23 2023 |
Publication series
Name | 19th International Conference on Artificial Intelligence and Law, ICAIL 2023 - Proceedings of the Conference |
---|
Conference
Conference | 19th International Conference on Artificial Intelligence and Law, ICAIL 2023 |
---|---|
Country/Territory | Portugal |
City | Braga |
Period | 6/19/23 → 6/23/23 |
Funding
This work was supported in part by Adobe Research. The authors thank Loraine Ferrer, Nissan Daquioag, and Amritanshu Tripathi for their contributions in annotating the Contract-OLG dataset.
Keywords
- computable contracts
- information extraction
- natural language processing
- obligation logic graph
ASJC Scopus subject areas
- Artificial Intelligence
- Software
- Law