arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.10097cs.AIcs.IRcs.LG
收藏

LegalPro-BERT:通过微调 BERT 大语言模型进行法律条款分类

LegalPro-BERT: Classification of Legal Provisions by fine-tuning BERT Large Language Model

Amit Tewari

AI总结:

针对合同法律条款分类中专业词汇与标注数据不足的问题,本文提出并微调基于 BERT 的 LegalPro-BERT,实验表明其优于现有基准。

摘要:

合同是各类组织中常用的一种法律文件。合同审查是规避商业风险和责任不可或缺且重复性很高的流程。合同分析需要识别并分类协议中的关键条款和段落。识别与核验合同条款可能是一项耗时且具有挑战性的任务,需要训练有素且费用高昂的律师、律师助理或其他法律助理提供服务。由于模型训练需要领域专门的法律语言,而且法律领域缺乏足够的标注数据,因此利用人工智能和自然语言处理对合同中的法律条款进行分类十分复杂。在此情境下,使用通用模型效果不佳,因为合同中采用了专门的法律词汇,而通用模型可能无法识别这些词汇。为解决这一问题,我们提出使用一个预训练大语言模型,并随后在法律分类体系上对其进行校准。我们提出 LegalPro-BERT,这是一种 BERT transformer 架构模型,我们对其进行微调,以高效处理法律条款分类任务。我们开展实验来衡量各项指标,并与当前基准结果进行比较。我们发现,LegalPro-BERT 的表现优于本研究中用于比较的先前基准。

英文摘要:

A contract is a type of legal document commonly used in organizations. Contract review is an integral and repetitive process to avoid business risk and liability. Contract analysis requires the identification and classification of key provisions and paragraphs within an agreement. Identification and validation of contract clauses can be a time-consuming and challenging task demanding the services of trained and expensive lawyers, paralegals or other legal assistants. Classification of legal provisions in contracts using artificial intelligence and natural language processing is complex due to the requirement of domain-specialized legal language for model training and the scarcity of sufficient labeled data in the legal domain. Using general-purpose models is not effective in this context due to the use of specialized legal vocabulary in contracts which may not be recognized by a general model. To address this problem, we propose the use of a pre-trained large language model which is subsequently calibrated on legal taxonomy. We propose LegalPro-BERT, a BERT transformer architecture model that we fine-tune to efficiently handle classification task for legal provisions. We conducted experiments to measure and compare metrics with current benchmark results. We found that LegalPro-BERT outperforms the previous benchmark used for comparison in this research.

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

↑