arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2306.09237cs.CLcs.AIcs.LG
收藏

一部法律,多种语言:面向司法支持的多语言法律推理基准测试

One Law, Many Languages: Benchmarking Multilingual Legal Reasoning for Judicial Support

University of Bern(伯尔尼大学);University of Copenhagen(哥本哈根大学);Bern University of Applied Sciences(伯尔尼应用科学大学);University of Fribourg(弗里堡大学);Stanford University(斯坦福大学)

Ronja Stern, Vishvaksenan Rasiah, Veton Matoshi, Srinanda Brügger Bose, Matthias Stürmer, Ilias Chalkidis, Daniel E. Ho, Joel Niklaus

AI总结:

针对LLM在长文档、领域知识、多语言、多任务及推理上的挑战,构建瑞士法律体系的多语言法律NLP基准,发现现有公开多语言模型即使经领域预训练与微调仍难以胜任多数任务。

摘要:

大型语言模型(LLMs)的最新进展已使许多自然语言处理(NLP)基准测试达到饱和,这凸显了开发更具挑战性的基准以恰当评估LLM能力的必要性。然而,领域特定和多语言的基准测试较为罕见,因为它们需要深入的专业知识来开发。尽管如此,大多数公开模型主要基于英语语料进行训练,而其他语言的研究仍显不足,尤其是在实际的领域特定NLP任务中。在本工作中,我们为法律领域引入了一个新颖的NLP基准测试,该基准在五个关键维度上对LLM提出挑战:处理长文档(最长可达50K个词元)、运用领域特定知识(体现在法律文本中)、多语言理解(覆盖五种语言)、多任务处理(包括法律文档到文档的信息检索、法院判决生成、主要判决摘要、引文提取以及八项具有挑战性的文本分类任务)以及推理能力(尤其包括法院判决生成,但也包括文本分类任务)。我们的基准测试包含来自瑞士法律体系的多样化数据集,从而能够对底层非英语、天然多语言的法律体系进行全面研究。尽管我们的数据集规模庞大(有些包含数十万个样本),现有的公开多语言模型在大多数任务上仍表现不佳,即使在进行了广泛的领域内预训练和微调之后也是如此。我们以宽松的开放CC BY-SA许可协议发布所有资源(基准测试套件、预训练模型、代码)。

英文摘要:

Recent strides in Large Language Models (LLMs) have saturated many Natural Language Processing (NLP) benchmarks, emphasizing the need for more challenging ones to properly assess LLM capabilities. However, domain-specific and multilingual benchmarks are rare because they require in-depth expertise to develop. Still, most public models are trained predominantly on English corpora, while other languages remain understudied, particularly for practical domain-specific NLP tasks. In this work, we introduce a novel NLP benchmark for the legal domain that challenges LLMs in five key dimensions: processing \emph{long documents} (up to 50K tokens), using \emph{domain-specific knowledge} (embodied in legal texts), \emph{multilingual} understanding (covering five languages), \emph{multitasking} (comprising legal document-to-document Information Retrieval, Court View Generation, Leading Decision Summarization, Citation Extraction, and eight challenging Text Classification tasks) and \emph{reasoning} (comprising especially Court View Generation, but also the Text Classification tasks). Our benchmark contains diverse datasets from the Swiss legal system, allowing for a comprehensive study of the underlying non-English, inherently multilingual legal system. Despite the large size of our datasets (some with hundreds of thousands of examples), existing publicly available multilingual models struggle with most tasks, even after extensive in-domain pre-training and fine-tuning. We publish all resources (benchmark suite, pre-trained models, code) under permissive open CC BY-SA licenses.

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

↑