arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.14556cs.CL

CitaLaw:增强法律领域大语言模型的引用能力

CitaLaw: Enhancing LLM with Citations in Legal Domain

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);University of International Business and Economics(对外经济贸易大学)

Kepu Zhang, Weijie Yu, Sunhao Dai, Jun Xu

AI总结:

提出首个法律引用基准CitaLaw,通过参考语料库检索与三段论评估,增强LLM生成合法且带引用的回答,实验证明其有效性。

摘要:

在本文中,我们提出了CitaLaw,这是第一个旨在评估大语言模型(LLM)生成具有适当引用的合法合理回答能力的基准。CitaLaw包含了面向普通人和从业者的多样化法律问题,并配有一个包含法律条文和判例的综合语料库作为参考池。该框架使基于LLM的系统能够从参考语料库中检索支持性引用,并将这些引用与回答中的相应句子对齐。此外,我们引入了基于三段论的评估方法,以评估检索到的引用与LLM生成的回答之间的法律一致性,以及它们与用户问题的一致性。对2个开放领域和7个法律特定LLM的大量实验表明,整合法律引用显著提高了回答质量。此外,我们提出的基于三段论的评估方法与人类判断表现出高度一致性。

英文摘要:

In this paper, we propose CitaLaw, the first benchmark designed to evaluate LLMs' ability to produce legally sound responses with appropriate citations. CitaLaw features a diverse set of legal questions for both laypersons and practitioners, paired with a comprehensive corpus of law articles and precedent cases as a reference pool. This framework enables LLM-based systems to retrieve supporting citations from the reference corpus and align these citations with the corresponding sentences in their responses. Moreover, we introduce syllogism-inspired evaluation methods to assess the legal alignment between retrieved references and LLM-generated responses, as well as their consistency with user questions. Extensive experiments on 2 open-domain and 7 legal-specific LLMs demonstrate that integrating legal references substantially enhances response quality. Furthermore, our proposed syllogism-based evaluation method exhibits strong agreement with human judgments.

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

↑