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

基于关联学习的统一文本到文本Transformer的法律判决预测

Dependency Learning for Legal Judgment Prediction with a Unified Text-to-Text Transformer

State Key Laboratory for Novel Software Technology, Software Institute, Nanjing University(南京大学软件学院计算机软件新技术国家重点实验室);Amazon Alexa AI(亚马逊 Alexa AI)

Yunyun Huang, Xiaoyu Shen, Chuanyi Li, Jidong Ge, Bin Luo

摘要:

法律判决预测是根据案件的实际情况,对违法条款、罪名、刑期等进行预测的一系列子任务。我们建议利用一个统一的文本到文本的Transformer的LJP,其中子任务之间的依赖关系可以自然地建立在自回归解码器。与以前的工作相比,它有三个优点:(1)它适合于掩蔽语言模型的预训练模式,从而可以受益于每个子任务的语义提示,而不是将它们视为原子标签,(2)它利用一个统一的架构,使所有子任务之间的完整参数共享,(3)它可以合并分类和生成子任务。我们表明,这个统一的Transformer,虽然预训练的一般领域的文本,优于专门为法律领域定制的预训练模型。通过大量的实验,我们发现捕获依赖关系的最佳顺序与人类的直觉不同,人类最合理的逻辑顺序可能是模型的次优顺序。我们还包括两个辅助任务:法院视图生成和文章内容预测,表明它们不仅可以提高预测精度,而且即使在错误发生时也可以为模型输出提供可解释的解释。在最佳配置下,我们的模型比以前的SOTA和统一Transformer的单任务版本性能更好。

英文摘要:

Given the fact of a case, Legal Judgment Prediction (LJP) involves a series of sub-tasks such as predicting violated law articles, charges and term of penalty. We propose leveraging a unified text-to-text Transformer for LJP, where the dependencies among sub-tasks can be naturally established within the auto-regressive decoder. Compared with previous works, it has three advantages: (1) it fits in the pretraining pattern of masked language models, and thereby can benefit from the semantic prompts of each sub-task rather than treating them as atomic labels, (2) it utilizes a single unified architecture, enabling full parameter sharing across all sub-tasks, and (3) it can incorporate both classification and generative sub-tasks. We show that this unified transformer, albeit pretrained on general-domain text, outperforms pretrained models tailored specifically for the legal domain. Through an extensive set of experiments, we find that the best order to capture dependencies is different from human intuitions, and the most reasonable logical order for humans can be sub-optimal for the model. We further include two more auxiliary tasks: court view generation and article content prediction, showing they can not only improve the prediction accuracy, but also provide interpretable explanations for model outputs even when an error is made. With the best configuration, our model outperforms both previous SOTA and a single-tasked version of the unified transformer by a large margin.

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

↑