arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.13899cs.IRcs.CL
收藏

用于法律文档检索的注意力深度神经网络

Attentive Deep Neural Networks for Legal Document Retrieval

Japan Advanced Institute of Science and Technology(日本北陆先端科学技术大学院大学);National Institute of Informatics(日本国立信息学研究所);Posts and Telecommunications Institute of Technology(邮电技术学院)

Ha-Thanh Nguyen, Manh-Kien Phi, Xuan-Bach Ngo, Vu Tran, Le-Minh Nguyen, Minh-Phuong Tu

AI总结:

本文针对法律文档检索中长文本表示难题,提出基于注意力机制的Attentive CNN和Paraformer层次化模型,在多语言数据集上验证其优于非神经方法及现有最优方法。

摘要:

法律文本检索是法律问答、法律案例蕴含和法条检索等众多法律文本处理任务中的关键组成部分。法律文本检索的性能在很大程度上取决于查询和法律文档的文本表示。基于良好的表示,法律文本检索模型能够有效地将查询与其相关文档进行匹配。由于法律文档通常包含长篇文章,并且只有部分内容与查询相关,因此现有模型表示此类文档面临相当大的挑战。本文研究了基于注意力神经网络的文本表示在法条文档检索中的应用。我们提出了一种使用带注意力机制的深度神经网络的通用方法。在此基础上,我们开发了两种具有稀疏注意力的层次化架构来表示长句和文章,并将其命名为Attentive CNN和Paraformer。这些方法在英语、日语和越南语的不同规模和特征的数据集上进行了评估。实验结果表明:i)在跨数据集和跨语言的检索性能方面,注意力神经方法显著优于非神经方法;ii)预训练的基于Transformer的模型在小型数据集上以较高的计算复杂度为代价取得了更好的准确率,而更轻量的Attentive CNN在大型数据集上取得了更好的准确率;iii)我们提出的Paraformer在COLIEE数据集上优于最先进的方法,在top-N检索任务中取得了最高的召回率和F2分数。

英文摘要:

Legal text retrieval serves as a key component in a wide range of legal text processing tasks such as legal question answering, legal case entailment, and statute law retrieval. The performance of legal text retrieval depends, to a large extent, on the representation of text, both query and legal documents. Based on good representations, a legal text retrieval model can effectively match the query to its relevant documents. Because legal documents often contain long articles and only some parts are relevant to queries, it is quite a challenge for existing models to represent such documents. In this paper, we study the use of attentive neural network-based text representation for statute law document retrieval. We propose a general approach using deep neural networks with attention mechanisms. Based on it, we develop two hierarchical architectures with sparse attention to represent long sentences and articles, and we name them Attentive CNN and Paraformer. The methods are evaluated on datasets of different sizes and characteristics in English, Japanese, and Vietnamese. Experimental results show that: i) Attentive neural methods substantially outperform non-neural methods in terms of retrieval performance across datasets and languages; ii) Pretrained transformer-based models achieve better accuracy on small datasets at the cost of high computational complexity while lighter weight Attentive CNN achieves better accuracy on large datasets; and iii) Our proposed Paraformer outperforms state-of-the-art methods on COLIEE dataset, achieving the highest recall and F2 scores in the top-N retrieval task.

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

↑