Conceptual model of the NLP-system for searching for the relevant legal position on the multiple court decisions of the judiciary of Ukraine
DOI:
https://doi.org/10.20535/kpisn.2023.1-4.310302Keywords:
NLP system, legal position, court decisions, interdisciplinary approach, Erikson-Penker profile, business language networks (LLM), search augmented text generation (RAG), search engines, vector storage, model embeddingAbstract
Problems. An applied problem of automating the search for relevant legal positions on a set of court decisions in the judiciary of Ukraine. The possibility of developing a high-quality NLP system for searching for a relevant, contextually justified legal position on a set of court decisions in the judiciary of Ukraine, which, based on the user's request, produces expert answers to the user's request by applying a reasoning-search algorithm based on large language models.
Objective. To develop and formalize the concept and conceptual model of the NLP system for finding legal positions on the basis of interdisciplinary knowledge of a technical and philosophical direction, which covers the existence of a person, community, enterprises, institutions and organizations, state authorities, and also substantiates the formation of a legal position on the basis of a plurality . legislative acts and court decisions.
Methodology of implementation. The method of implementation of the NLP system for searching for a context-based legal position lies in the interaction of the essences of tasks related to the judiciary of Ukraine, tools for analysis, processing, text generation and available available court decisions of the judiciary of Ukraine based on the Erikson-Penker business profile and large language models .
Results. The proposed interdisciplinary model of the concept of the NLP system of finding a solution to the problem, tasks and tasks of searching court documents for more rendering of court decisions and/or formation of a legal position in the form of a Venn diagram as a set of entities and their cooperation, which integrates philosophical, legal and technical knowledge. The Erikson-Penker business profile of the conceptual model of the NLP system for searching for a context-based legal position is formalized. A formalized model of the work process of the NLP system of searching for a context-based legal position based on the RAG method. A conceptual model of the NLP system for searching for a context-based legal position has been developed in the form of a structural mapping based on a component diagram and a dynamic mapping based on an activity diagram with a description of the internal structure of the components.
Conclusions. A number of important philosophical, legal and technical problems have been identified in the process of searching for legal positions on many court decisions. The interdisciplinary nature of the problem of developing the concept and conceptual model of the NLP system for finding a context-based legal position on a set of court decisions and the need to automate the process of finding a legal position for judicial practice has been established. At the meta levels, the concept of the NLP system for finding context-based legal positions on Venn diagrams and the conceptual model of the NLP system based on the modified Erikson-Penker business profile as a system of entities and cooperation are formalized. A conceptual model of the NLP system for finding a context-based legal position has been developed in the form of a structural mapping based on a diagram of components and a dynamic mapping based on an activity diagram with a description of the internal structure of the components. The functionality of the NLP system was compared with other main existing systems for searching court decisions in the judiciary and it was established that the developed system, at least, is not implemented in terms of functionality of existing systems and has additional opportunities for users.
References
"Про затвердження Положення про автоматизовану систему документообігу суду. Рада суддів України; Рішення від 02.04.2015 № 25
https://zakon.rada.gov.ua/go/v0025414-15
ВЕЛИКА УКРАЇНСЬКА ЕНЦИКЛОПЕДІЯ. ТЕМАТИЧНИЙ
РЕЄСТР ГАСЕЛ з напряму «Юридичні науки» / Укладачі: Бабка В. Л.,
Шумило М. М.; за ред. д. і. н., проф. Киридон А. М. – К: Державна
наукова установа «Енциклопедичне видавництво», 2017. – 152 с
https://ev.vue.gov.ua/wp-content/uploads/2018/02/Law_full.pdf
Lazariev V. V. Legal standpoint: general legal characteristics. Bulletin of Kharkiv National University of Internal Affairs. 2023. Vol. 101, no. 2 (P. 1). P. 20–31
https://doi.org/10.32631/v.2023.2.02
Ashley K. D. Artificial Intelligence and Legal Analytics: New Tools for Law Practice in the Digital Age. Cambridge University Press, 2017.
https://doi.org/10.1017/9781316761380
Maslianko, P. and Sielskyi Y. (2021). Data Science — Definition and Structural Representation. System Research & Information Technologies, 2021, № 1. pp.61-78. https://doi.org/10.20535/SRIT.2308-8893.2021.1.05
Маслянко П.П., Сєльський Є.П. Метод системної інженерії систем нейронного машинного перекладу. KPI Science News, 2021, № 2. с. 46 – 55.
https://doi.org/10.20535/kpisn.2021.2.236939
Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun, Meng Wang, Haofen Wang Retrieval-Augmented Generation for Large Language Models: A Survey. 2024.
https://doi.org/10.48550/arXiv.2312.10997
Bruch S. Foundations of Vector Retrieval. Cham : Springer Nature Switzerland, 2024.
ISBN 3031551826, 9783031551826
Єдиний державний реєстр судових рішень [Електронний ресурс] – Режим доступу до ресурсу: https://reyestr.court.gov.ua/
Закон Он-лайн [Електронний ресурс] – Режим доступу до ресурсу: https://zakononline.com.ua/
База правових позицій верховного суду [Електронний ресурс] – Режим доступу до ресурсу: https://lpd.court.gov.ua/home
Downloads
Published
Issue
Section
License
Copyright (c) 2023 Pavlo Maslianko, Sergy Mirko
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under CC BY 4.0 that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work