Extracting Legal Norm Analysis Categories from German Law Texts with Large Language Models

被引:0
|
作者
Bachinger, Sarah T. [1 ,2 ]
Feddoul, Leila [1 ]
Mauch, Marianne [1 ,2 ]
Koenig-Ries, Birgitta [1 ]
机构
[1] Friedrich Schiller Univ Jena, Heinz Nixdorf Chair Distributed Informat Syst, Jena, Germany
[2] Friedrich Schiller Univ Jena, Competence Ctr Digital Res Zedif, Jena, Germany
来源
PROCEEDINGS OF THE 25TH ANNUAL INTERNATIONAL CONFERENCE ON DIGITAL GOVERNMENT RESEARCH, DGO 2024 | 2024年
关键词
Named Entity Recognition; Large Language Models; Federal Information Management; Digital Transformation; Public Administration;
D O I
10.1145/3657054.3657277
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The digitization of public services in Germany is always based on a legal basis (e.g., laws). In the digitization process, first relevant entities in law documents (e.g., actors) are detected, then a list of possible process steps of their interactions is derived. The final process is constructed and transformed to a digital service for citizens and companies. Today, the discovery of custom entities in German law documents is still manual high effort work. In our study, we investigate the capabilities of Large Language Models (LLMs) to automate this task, choose five LLMs from 61 evaluated candidates, and perform prompt engineering to create five different prompt variants with differing parts. We examine the automatic annotation by two LLMs (LeoLM and BLOOM CLP German) in detail and find that the inclusion of more information in the prompts as well as an increased number of examples per prompt are beneficial. We report micro F1-scores for the optimal scenario of 0.91 for BLOOM CLP German, and 0.82 for LeoLM, with a higher balanced accuracy for LeoLM. The results indicate that LLMs have a good potential to perform named entity recognition, especially for supporting legal norm analysis in the context of the digitization of public administration.
引用
收藏
页码:481 / 493
页数:13
相关论文
共 50 条
  • [1] Semantic role extraction in law texts: a comparative analysis of language models for legal information extraction
    Bakker, Roos M.
    Schoevers, Akke J.
    van Drie, Romy A. N.
    Schraagen, Marijn P.
    de Boer, Maaike H. T.
    ARTIFICIAL INTELLIGENCE AND LAW, 2025,
  • [2] Extracting Domain Models from Textual Requirements in the Era of Large Language Models
    Arulmohan, Sathurshan
    Meurs, Marie-Jean
    Mosser, Sebastien
    2023 ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION, MODELS-C, 2023, : 580 - 587
  • [3] Enhancing Legal Compliance and Regulation Analysis with Large Language Models
    Hassani, Shabnam
    32ND IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, RE 2024, 2024, : 507 - 511
  • [4] Legal-LM: Knowledge Graph Enhanced Large Language Models for Law Consulting
    Shi, Juanming
    Guo, Qinglang
    Liao, Yong
    Wang, Yuxing
    Chen, Shijia
    Liang, Shenglin
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, PT IV, ICIC 2024, 2024, 14878 : 175 - 186
  • [5] Enhancing Relation Extraction from Biomedical Texts by Large Language Models
    Asada, Masaki
    Fukuda, Ken
    ARTIFICIAL INTELLIGENCE IN HCI, PT III, AI-HCI 2024, 2024, 14736 : 3 - 14
  • [6] Performance analysis of large language models in the domain of legal argument mining
    Al Zubaer, Abdullah
    Granitzer, Michael
    Mitrovic, Jelena
    FRONTIERS IN ARTIFICIAL INTELLIGENCE, 2023, 6
  • [7] PROSPER: Extracting Protocol Specifications Using Large Language Models
    Sharma, Prakhar
    Yegneswaran, Vinod
    PROCEEDINGS OF THE 22ND ACM WORKSHOP ON HOT TOPICS IN NETWORKS, HOTNETS 2023, 2023, : 41 - 47
  • [8] Using Large Language Models to Support Thematic Analysis in Empirical Legal Studies
    Drapal, Jakub
    Westermann, Hannes
    Savelka, Jaromir
    LEGAL KNOWLEDGE AND INFORMATION SYSTEMS, 2023, 379 : 197 - 206
  • [9] Can large language models apply the law?
    Marcos, Henrique
    AI & SOCIETY, 2024,
  • [10] Classifying legal interpretations using large language models
    Dugac, Gaspar
    Altwicker, Tilmann
    ARTIFICIAL INTELLIGENCE AND LAW, 2025,