arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.04335cs.CLcs.AIcs.LG
收藏

LegalLens:利用大语言模型识别非结构化文本中的法律违规

LegalLens: Leveraging LLMs for Legal Violation Identification in Unstructured Text

Darrow AI Ltd.(达罗人工智能有限公司)

Dor Bernsohn, Gil Semo, Yaron Vazana, Gila Hayat, Ben Hagag, Joel Niklaus, Rohit Saha, Kyryl Truskovskyi

AI总结:

本研究利用大语言模型构建数据集,针对集体诉讼案件,实现非结构化文本中法律违规检测及受害者关联,F1分别达62.69%和81.02%,并公开数据集与代码。

摘要:

在本研究中,我们聚焦于两个主要任务:第一个是在非结构化文本数据中检测法律违规,第二个是将这些违规与可能受影响的个体关联起来。我们使用大语言模型(LLMs)构建了两个数据集,随后由领域专家标注者进行验证。这两个任务都是专门针对集体诉讼(class-action)案件的背景设计的。实验设计包括微调BERT系列模型和开源大语言模型,并使用闭源大语言模型进行少样本实验。我们的结果显示,违规识别的F1分数为62.69%,受害者关联的F1分数为81.02%,表明我们的数据集和实验设置可用于这两个任务。最后,我们公开发布了数据集和实验代码,以推动法律自然语言处理(NLP)领域的进一步研究。

英文摘要:

In this study, we focus on two main tasks, the first for detecting legal violations within unstructured textual data, and the second for associating these violations with potentially affected individuals. We constructed two datasets using Large Language Models (LLMs) which were subsequently validated by domain expert annotators. Both tasks were designed specifically for the context of class-action cases. The experimental design incorporated fine-tuning models from the BERT family and open-source LLMs, and conducting few-shot experiments using closed-source LLMs. Our results, with an F1-score of 62.69\% (violation identification) and 81.02\% (associating victims), show that our datasets and setups can be used for both tasks. Finally, we publicly release the datasets and the code used for the experiments in order to advance further research in the area of legal natural language processing (NLP).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑