arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.17050cs.CL
收藏

使用检索增强大型语言模型的可解释长篇法律问答

Interpretable Long-Form Legal Question Answering with Retrieval-Augmented Large Language Models

Maastricht University(马斯特里赫特大学)

Antoine Louis, Gijs van Dijck, Gerasimos Spanakis

AI总结:

本文提出“先检索后阅读”的检索增强LLM端到端方法,并发布含1,868个法语专家标注样本的LLeQA数据集,以生成可解释的成文法长篇答案。

摘要:

许多人在人生中的某个阶段都可能面临法律纠纷,但由于不了解如何应对这些复杂问题,他们往往处于弱势地位。自然语言处理的发展为通过构建自动化法律援助系统来弥合这一法律素养差距开辟了新途径。然而,现有的法律问答(LQA)方法通常存在范围狭窄的问题,要么局限于特定法律领域,要么只能给出简短且信息量不足的回答。在本研究中,我们提出了一种端到端方法,旨在利用“先检索后阅读”流水线为任何成文法问题生成长篇回答。为支持该方法,我们引入并发布了长篇法律问答(Long-form Legal Question Answering,LLeQA)数据集,其中包含1,868个由专家标注的法语法律问题,并配有基于相关法律条文的详细回答。实验结果表明,该方法在自动评估指标上取得了具有前景的性能,但定性分析也揭示了有待改进之处。作为为数不多的综合性、专家标注长篇LQA数据集之一,LLeQA不仅有望推动针对这一重大现实问题的研究,还可作为评估NLP模型在专业领域表现的严格基准。我们公开发布了代码、数据和模型。

英文摘要:

Many individuals are likely to face a legal dispute at some point in their lives, but their lack of understanding of how to navigate these complex issues often renders them vulnerable. The advancement of natural language processing opens new avenues for bridging this legal literacy gap through the development of automated legal aid systems. However, existing legal question answering (LQA) approaches often suffer from a narrow scope, being either confined to specific legal domains or limited to brief, uninformative responses. In this work, we propose an end-to-end methodology designed to generate long-form answers to any statutory law questions, utilizing a "retrieve-then-read" pipeline. To support this approach, we introduce and release the Long-form Legal Question Answering (LLeQA) dataset, comprising 1,868 expert-annotated legal questions in the French language, complete with detailed answers rooted in pertinent legal provisions. Our experimental results demonstrate promising performance on automatic evaluation metrics, but a qualitative analysis uncovers areas for refinement. As one of the only comprehensive, expert-annotated long-form LQA dataset, LLeQA has the potential to not only accelerate research towards resolving a significant real-world issue, but also act as a rigorous benchmark for evaluating NLP models in specialized domains. We publicly release our code, data, and models.

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

↑