Towards an automated production of legal texts using recurrent neural networks

Wolfgang Alschner, D. Skougarevskiy
{"title":"Towards an automated production of legal texts using recurrent neural networks","authors":"Wolfgang Alschner, D. Skougarevskiy","doi":"10.1145/3086512.3086536","DOIUrl":null,"url":null,"abstract":"This paper constructs a legal text generation and assembly system in the domain of international investment law. We rely on a corpus of 1600+ bilateral investment treaties split into 22 600 articles to train a character-level recurrent neural network (char-RNN). Prior work [1] has shown that while char-RNNs can produce legally meaningful texts, its output tends to be repetitive. In this contribution, we remedy this shortcoming by proposing a new framework for RNN-based text production. First, we elicit priors at the training stage to give more weight to under-represented treaty practice. Second, we use q-gram distance and GloVe word embeddings [12] as filters imposed on the generated texts to draw them closer to a target document. Third, we develop a validation routine that compares the distribution of pre-defined legal concepts in actual and generated texts. Our results indicate that the RNN produces texts that are not repetitive and convey meaningful legal concepts. We conclude by showcasing a practical application of our framework by predicting provisions of the USA-China bilateral investment treaty currently under negotiation.","PeriodicalId":425187,"journal":{"name":"Proceedings of the 16th edition of the International Conference on Articial Intelligence and Law","volume":"172 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 16th edition of the International Conference on Articial Intelligence and Law","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3086512.3086536","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

This paper constructs a legal text generation and assembly system in the domain of international investment law. We rely on a corpus of 1600+ bilateral investment treaties split into 22 600 articles to train a character-level recurrent neural network (char-RNN). Prior work [1] has shown that while char-RNNs can produce legally meaningful texts, its output tends to be repetitive. In this contribution, we remedy this shortcoming by proposing a new framework for RNN-based text production. First, we elicit priors at the training stage to give more weight to under-represented treaty practice. Second, we use q-gram distance and GloVe word embeddings [12] as filters imposed on the generated texts to draw them closer to a target document. Third, we develop a validation routine that compares the distribution of pre-defined legal concepts in actual and generated texts. Our results indicate that the RNN produces texts that are not repetitive and convey meaningful legal concepts. We conclude by showcasing a practical application of our framework by predicting provisions of the USA-China bilateral investment treaty currently under negotiation.
使用循环神经网络实现法律文本的自动生成
本文构建了国际投资法领域的法律文本生成与汇编系统。我们依靠1600多个双边投资条约的语料库,分成22 600个条目来训练字符级递归神经网络(char-RNN)。先前的工作[1]表明,虽然char- rnn可以产生具有法律意义的文本,但其输出往往是重复的。在这篇文章中,我们通过提出一个基于rnn的文本生成的新框架来弥补这个缺点。首先,我们在训练阶段引出先验,以给予代表性不足的条约实践更多的权重。其次,我们使用q-gram距离和GloVe词嵌入[12]作为对生成文本施加的过滤器,使它们更接近目标文档。第三,我们开发了一个验证例程,用于比较实际文本和生成文本中预定义法律概念的分布。我们的结果表明,RNN产生的文本不重复,传达有意义的法律概念。最后,我们通过预测目前正在谈判的美中双边投资协定的条款,展示了我们的框架的实际应用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信