Conversion of Legal Agreements into Smart Legal Contracts using NLP

Eason Chen,Niall Roche,Yuen-Hsien Tseng,Walter Hernandez,Jiangbo Shangguan,Alastair Moore
DOI: https://doi.org/10.1145/3543873.3587554
2023-04-05
Abstract:A Smart Legal Contract (SLC) is a specialized digital agreement comprising natural language and computable components. The Accord Project provides an open-source SLC framework containing three main modules: Cicero, Concerto, and Ergo. Currently, we need lawyers, programmers, and clients to work together with great effort to create a usable SLC using the Accord Project. This paper proposes a pipeline to automate the SLC creation process with several Natural Language Processing (NLP) models to convert law contracts to the Accord Project's Concerto model. After evaluating the proposed pipeline, we discovered that our NER pipeline accurately detects CiceroMark from Accord Project template text with an accuracy of 0.8. Additionally, our Question Answering method can extract one-third of the Concerto variables from the template text. We also delve into some limitations and possible future research for the proposed pipeline. Finally, we describe a web interface enabling users to build SLCs. This interface leverages the proposed pipeline to convert text documents to Smart Legal Contracts by using NLP models.
Computers and Society,Computation and Language
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the high cost and complexity in the process of converting traditional legal agreements into Smart Legal Contracts (SLC). Specifically, currently, creating a usable SLC requires the joint efforts of lawyers, programmers, and clients, which is not only time - consuming but also costly. The paper proposes an automated pipeline using Natural Language Processing (NLP) technology, aiming to simplify this process, enabling non - professionals to relatively easily convert legal texts into smart legal contracts, thereby lowering the adoption threshold of SLC. The main contributions of the paper include: 1. Proposing a pipeline composed of a set of NLP models, which can convert the original natural - language legal contracts into smart legal contracts. This pipeline achieves an accuracy rate of 0.8 when detecting CiceroMark in Accord Project templates, and can extract one - third of Concerto variables from the template text through the question - and - answer method. 2. Discussing the limitations of the proposed pipeline when evaluating existing data and proposing directions for further research. 3. Describing a user interface that allows users to use the above - mentioned pipeline to convert text documents into smart legal contracts. Through these contributions, the paper aims to provide a more efficient and simpler method for generating smart legal contracts, thereby promoting their wide application in the legal field.