Unsupervised law article mining based on deep pre-trained language representation models with application to the Italian civil code
Open Access
- 15 September 2021
- journal article
- research article
- Published by Springer Nature in Artificial Intelligence and Law
- Vol. 30 (3) , 417-473
Abstract
Modeling law search and retrieval as prediction problems has recently emerged as a predominant approach in law intelligence. Focusing on the law article retrieval task, we present a deep learning framework named LamBERTa, which is designed for civil-law codes, and specifically trained on the Italian civil code. To our knowledge, this is the first study proposing an advanced approach to law article prediction for the Italian legal system based on a BERT (Bidirectional Encoder Representations from Transformers) learning framework, which has recently attracted increased attention among deep learning approaches, showing outstanding effectiveness in several natural language processing and learning tasks. We define LamBERTa models by fine-tuning an Italian pre-trained BERT on the Italian civil code or its portions, for law article retrieval as a classification task. One key aspect of our LamBERTa framework is that we conceived it to address an extreme classification scenario, which is characterized by a high number of classes, the few-shot learning problem, and the lack of test query benchmarks for Italian legal prediction tasks. To solve such issues, we define different methods for the unsupervised labeling of the law articles, which can in principle be applied to any law article code system. We provide insights into the explainability and interpretability of our LamBERTa models, and we present an extensive experimental analysis over query sets of different type, for single-label as well as multi-label evaluation tasks. Empirical evidence has shown the effectiveness of LamBERTa, and also its superiority against widely used deep-learning text classifiers and a few-shot learner conceived for an attribute-aware prediction task.Keywords
All Related Versions
Funding Information
- Università della Calabria
This publication has 41 references indexed in Scilit:
- Classifying sentential modality in legal language2017
- Learning to Predict Charges for Criminal Cases with Legal Basis2017
- Predicting judicial decisions of the European Court of Human Rights: a Natural Language Processing perspectivePeerJ Computer Science, 2016
- Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification2016
- Hierarchical Attention Networks for Document Classification2016
- Predicting associated statutes for legal problemsInformation Processing & Management, 2015
- Convolutional Neural Networks for Sentence Classification2014
- Exploring Phrase-Based Classification of Judicial Documents for Criminal Charges in Chinese2006
- A statistical interpretation of term specificity and its application in retrievalJournal of Documentation, 2004
- Empirical and Theoretical Comparisons of Selected Criterion Functions for Document ClusteringMachine Learning, 2004