arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.07190cs.CLcs.AI
收藏

长上下文长格式法律领域问答

Long-Context Long-Form Question Answering for Legal Domain

J. P. Morgan Chase(摩根大通)

Anagha Kulkarni, Parin Rajesh Jhaveri, Prasha Shrestha, Yu Tong Han, Reza Amini, Behrouz Madahian

AI总结:

本文提出了一种针对法律文档长上下文长格式问答的系统,通过解构领域词汇、解析复杂布局和生成全面回答,提升问答精度与实用性。

摘要:

法律文件具有复杂的文档布局,包含多个嵌套部分、长注释以及进一步使用复杂的语法和领域特定词汇来确保精确性和权威性。这些固有的法律文件特征使得问答任务具有挑战性,尤其是在答案跨越多页(即需要长上下文)且需要全面回答(即长格式回答)的情况下。在本文中,我们针对长上下文长格式回答的问答挑战,特别是在法律文件的特殊性背景下,提出了一种问答系统。该系统可以(a)解构领域特定词汇以更好地从源文档中检索,(b)解析复杂的文档布局,同时隔离部分和注释并适当链接它们,(c)使用精确的领域特定词汇生成全面的回答。我们还引入了一个覆盖度度量,将性能分类为基于召回的覆盖类别,使用户能够轻松评估召回率。我们通过利用法律和企业税务等领域的专业人士的专业知识,编纂了一个问答数据集。通过全面的实验和消融研究,我们展示了所提出系统的实用性和价值。

英文摘要:

Legal documents have complex document layouts involving multiple nested sections, lengthy footnotes and further use specialized linguistic devices like intricate syntax and domain-specific vocabulary to ensure precision and authority. These inherent characteristics of legal documents make question answering challenging, and particularly so when the answer to the question spans several pages (i.e. requires long-context) and is required to be comprehensive (i.e. a long-form answer). In this paper, we address the challenges of long-context question answering in context of long-form answers given the idiosyncrasies of legal documents. We propose a question answering system that can (a) deconstruct domain-specific vocabulary for better retrieval from source documents, (b) parse complex document layouts while isolating sections and footnotes and linking them appropriately, (c) generate comprehensive answers using precise domain-specific vocabulary. We also introduce a coverage metric that classifies the performance into recall-based coverage categories allowing human users to evaluate the recall with ease. We curate a QA dataset by leveraging the expertise of professionals from fields such as law and corporate tax. Through comprehensive experiments and ablation studies, we demonstrate the usability and merit of the proposed system.

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

↑