Next Article in Journal
Portable RGB-D Camera-Based System for Assessing Gait Impairment Progression in ATTRv Amyloidosis
Next Article in Special Issue
Enhancing Food Ingredient Named-Entity Recognition with Recurrent Network-Based Ensemble (RNE) Model
Previous Article in Journal
The Association of Preoperative Depression, and C-Reactive Protein Levels with a Postoperative Length of Stay in Patients Undergoing Coronary Artery Bypass Grafting
Previous Article in Special Issue
Leveraging Multi-Modal Information for Cross-Lingual Entity Matching across Knowledge Graphs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Survey of Text Mining Techniques Applied to Judicial Decisions Prediction

by
Olga Alejandra Alcántara Francia
1,*,
Miguel Nunez-del-Prado
2,3 and
Hugo Alatrista-Salas
4,5,*
1
Faculty of Law, Universidad de Lima, Lima 15023, Peru
2
Peru Research, Development and Innovation Center (Peru IDI), Lima 15076, Peru
3
Instituto de investigación de la Universidad de Andina del Cusco, Cusco 080104, Peru
4
Escuela de Posgrado Newman, Tacna 23001, Peru
5
Facultad de Ciencias e Ingeniería, Pontificia Universidad Católica del Perú, Lima 15088, Peru
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2022, 12(20), 10200; https://doi.org/10.3390/app122010200
Submission received: 2 September 2022 / Revised: 28 September 2022 / Accepted: 7 October 2022 / Published: 11 October 2022
(This article belongs to the Special Issue Natural Language Processing (NLP) and Applications)

Abstract

:
This paper reviews the most recent literature on experiments with different Machine Learning, Deep Learning and Natural Language Processing techniques applied to predict judicial and administrative decisions. Among the most outstanding findings, we have that the most used data mining techniques are Support Vector Machine (SVM), K Nearest Neighbours (K-NN) and Random Forest (RF), and in terms of the most used deep learning techniques, we found Long-Term Memory (LSTM) and transformers such as BERT. An important finding in the papers reviewed was that the use of machine learning techniques has prevailed over those of deep learning. Regarding the place of origin of the research carried out, we found that 64% of the works belong to studies carried out in English-speaking countries, 8% in Portuguese and 28% in other languages (such as German, Chinese, Turkish, Spanish, etc.). Very few works of this type have been carried out in Spanish-speaking countries. The classification criteria of the works have been based, on the one hand, on the identification of the classifiers used to predict situations (or events with legal interference) or judicial decisions and, on the other hand, on the application of classifiers to the phenomena regulated by the different branches of law: criminal, constitutional, human rights, administrative, intellectual property, family law, tax law and others. The corpus size analyzed in the reviewed works reached 100,000 documents in 2020. Finally, another important finding lies in the accuracy of these predictive techniques, reaching predictions of over 60% in different branches of law.

1. Introduction

Recently, we have witnessed the application of Artificial Intelligence (AI) in different domains, such as health, computer vision, privacy and law. This trend was due to the increasing data gathered worldwide. This amount of rich data allows the use of AI-based techniques. Particularly, we have seen different efforts to collect and make available legal corpora in the law domain, such as terms-of-service agreements [1], privacy policies (Privacy policies https://usableprivacy.org/data, accessed on 13 March 2022), English contracts manually annotated [2], legislative documents from The EU’s public document database [3], sentences from German rental agreements [4], court decisions on cybercrime and trade secrets [5], as well as Australian legal cases from the Federal Court of Australia (FCA https://archive.ics.uci.edu/ml/datasets/Legal+Case+Reports#, accessed on 13 March 2022), Danish Legal monolingual corpus (Danish Legal corpus elrc-share.eu/repository/browse/danish-legal-monolingual-corpus-from-the-contents-of-the-retsinformationdk-web-site, accessed on 20 March 2022), Japanese-English Legal Parallel Corpus (Japanese-English Legal Parallel Corpus https://datarepository.wolframcloud.com/resources/Japanese-English-Legal-Parallel-Corpus, accessed on 15 March 2022), and British and Irish Legal documents (British and Irish Legal Information Institute https://www.bailii.org/, accessed on 20 March 2022) and Human rights [6]. These sources of information enable the use of text mining to identify facts, relationships and assertions hidden in the vast amounts of textual data and documents. Text mining uses various methods to process text, the most important being Natural Language Processing (NLP). NLP, also known as computational linguistics, is a subfield of AI that learns, understands, recognizes, and produces human language content [7]. NLP techniques have been used in machine translation, word sense disambiguation, summarization, syntactic annotation and named entity recognition [8]. Specifically, NLP techniques have been used in different legal fields, demonstrating that AI can provide valuable support in legal work [9,10,11]. We mainly focused on Judgebot, which is the application of computational linguistic techniques for rule decision prediction in different legal domains, contexts, and languages.
In the industry, applying AI to certain processes is more accurate, faster, and cheaper than using humans. Thus, if we transpose these benefits to the legal system, using AI could reduce the time and costs of justice administration. Accordingly, technology is already transforming the justice system. For instance, in British Columbia, Canada, a new Civil Dispute Tribunal is intended to operate using an online platform to allow disputants to make initial contact and starts proceedings online. Furthermore, the Northern Ireland Courts and Tribunal Service now provides an online process for small claims. The UK Civil Justice Council (‘CJC’) report on ‘Online Dispute Resolution for Low-Value Civil Claims’ recommends the establishment of a new dedicated internet-based court service for civil disputes worth less than GBP 25,000. Furthermore, the AI Solicitor collects data and analyzes relevant case law (ROSS intelligence). Another example is the Estonian Ministry of Justice, which created a robot judge capable of resolving disputes of less than EUR 7000. Consequently, AI-based judgment is more likely to be used in small cases [12,13]. Therefore, the advantages of implementing such technologies include reduced case complexity and assistance with advice and suggestions [14]; courts can use Al to multiply the workforce to achieve more work with limited resources [15]. Thus, Judgebot reduces individual human biases and guarantees the impartiality of the process [16]. Consequently, implementing AI in the legal domain will be the next breakthrough in the legal domain. Furthermore, robot judges will change how humans and society make decisions [17]. Nevertheless, interpretability and fairness still exist. The former is concerned with the explanation of AI black-box models in the process of judgment. The latter is concerned with model learning over biased data, resulting in discriminatory models.
AI is used to improve public services decision-making, particularly, to manage many citizen contacts, identify financial reporting fraud, and enable governmental responses in assessing cyber-attacks [18]. However, some challenges regarding bias in AI due to incomplete and inaccurate data reflecting historical structural inequalities exist. Furthermore, the opaqueness created by the Machine Learning (ML) algorithm’s internal rules determining the input to output is a challenge. Finally, when an AI decision is made (the machine, the creators of the machine, the coders, the managers who decided to deploy the machine), responsibility or liability must be attributed.
ML techniques have also been used to combat crime. The survey of Henrique et al. [19] summarized the proportion of used learning techniques, such as unsupervised learning (38.53%), supervised learning (30.28%) and association rules (17.43%). In addition, the authors reported the most used algorithms such as K-Means (14.39%), K-Nearest Neighbors (KNN) (11.36%) and Apriori (9.85%).
Based on the legal technology domain, Park et al. [20] present a survey focused on legal research and predictive analytics, as well as litigation data mining. The authors showed the proportion of studies produced in different regions, such as Asia (50%), Europe (31%), North America (11%), South America (6%) and Africa (2%). Accordingly, these studies focus more on ruling prediction using supervised learning, such as Artificial Neural Networks (ANNs) and Deep Learning (DL). In addition, the authors highlight all the challenges in structuring raw legal text for consumption by a supervised learning algorithm using NLP techniques. In the same vein, Rosili et al. [21] survey gathered studies on court decision prediction in the literature. They used the publication standard Reporting Standards for Systematic Evidence Syntheses (ROSES) to collect different studies. The authors conclude that the Support Vector Machine (SVM) is the most used algorithm for this problem, with an accuracy of 80–91%. Sukanya and Priyadarshini [22] recently analyzed attention models on the ruling decision prediction. Specifically, they focus on encoding and decoding architecture using the attention mechanism of the transformer model. In a previously mentioned paper, the researchers have reviewed different previous studies on different DL models applied to the prediction of sentences in Human Rights from the European Court of Human Rights (ECtHR). They also analyzed documents from the different Chinese online judicial processes. Accordingly, the authors demonstrated that AI helps reduce procedural deadlines by 70%. Thus, integrating hierarchical attention neural network models with the adjusted transformer concept provides efficient quality- and time-based improvement in judgment prediction. However, further investigation is required to enhance multi-label classification for complex case facts with multiple defendants and charges. Future studies that focus on summarizing legal judgments, curating legal data, and simplifying legal documents will be very useful to the legal community.
Despite the significant advances in ML and DL techniques, there are still some challenges to overcome. For instance, to increase the predicting court’s ruling decision accuracy [21] to improve Judicial systems. In addition to prediction, there are some concerns about the explainability of how these models make decisions and the potentially biased data used to train such models [23,24]. Consequently, using ML techniques to predict decision rules requires explanations about the features considered in making the decision. Furthermore, litigants have the right to receive explanations of the decision made. Thus, Atkinson et al. [25] describe the different techniques to explain the law, such as the explanation by example, explanation using rules, and hybrid systems. The authors emphasize the excellent performance and the need for new techniques to explain DL based on techniques for ruling prediction. Regarding fairness, Pessach and Shmueli [26] present a literature review to measure and avoid biases in the dataset for learning, such as biases due to missing data, biases from algorithm objectives and biases due to the use of proxy attributes instead of sensitive private data (e.g., gender, race, etc.).
This study reviews the most recent literature on ML- and DL-based techniques for rule decision prediction. In addition, the text representation techniques used for transforming legal text into a suitable form input to the learning algorithms are examined. Thus, we divide the reported studies based on the different types of law, such as Criminal Law, Administrative Law, Constitutional Law, Human Rights and Private Law, as shown in Figure 1, which depicts the classification of the branches of public and private law. In the reviewed studies, the viability of using these technological tools to predict the occurrence of illicit acts, administrative infractions, or Human Rights violations was demonstrated.
The remainder of this study is organized as follows. First, Section 2 describes the methodology for collecting scientific studies. Section 3 demonstrates related studies focusing on five main topics. Then, Section 4 describes the analysis of the techniques, representation models, and metrics for judicial decision predictions. Section 5 discusses the main findings of the literature review. Finally, Section 6 concludes the study and discusses future research directions.

2. Materials and Methods

This section details the methodology used to gather different scientific studies for the literature review. Accordingly, the building of a literature review is a response to a particular methodology. This step searches for all resources containing formal, informal, written, oral, or multimedia information on the problem under consideration. There are several methodologies for creating a literature review, but the most commonly used in academia are systematic and narrative reviews. The first methodology used in this study was inspired by [9,10]. The Systematic Literature Review SRL [27] begins by selecting a topic to study and transforming the project’s objective into questions that the literature review will attempt to answer. The questions we aim to answer are summarized in Table 1.
Later, the inclusion and exclusion criteria for the studies to be reviewed are specified. In this study, we used keywords and search strings as inclusion criteria in the literature searches. The following list contains these words.
  • Judicial decision prediction
  • Ruling decision prediction
  • Court decision prediction
  • Robot judge
  • Judgebot for ruling decision prediction
  • Natural language processing + Human Rights
  • Natural language processing + constitutional law
  • Natural language processing + ruling prediction of Supreme Courts
  • Natural language processing + Tax Law
  • Natural language processing + intellectual property
  • Natural language processing + Administrative Law
  • Natural language processing + Criminal Law
  • Deep learning + Judicial decisions prediction
  • NLP + Human Rights
  • Private law + Machine Learning + Deep Learning
Inclusion criteria also included the search language that was limited to English. In addition, we added a temporal restriction to filter only articles published after 2000. Thus, we developed a search plan that would include all types of literature. We chose Google Scholar as our search engine, which is a meta-search engine that includes articles from other search engines, such as IEEExplore, Scopus, Sciencedirect, WoS and ACM Digital Library. Therefore, Google Scholar is the most comprehensive academic search engine [28]. This document prioritizes the primary and secondary literature instead of the grey one. The Google Scholar meta-search engine sorts documents based on relevance; thus, we selected the first 20 documents from each search string as the strategy. This preselection resulted in 140 documents. Finally, after a quick reading of the abstract and conclusions of the preselected documents, 45 documents were chosen and grouped into five groups.
Similar to our proposal, some authors review the literature about employing AI techniques in the legal domain. However, the differences between them and our contribution make it a recommended reading for legal practitioners working on these issues. For instance, Ref. [21] proposes an SRL of studies concerning the prediction of court decisions via machine learning methods, but the study does not consider deep learning methods. Furthermore, Ref. [29] studies the statistical limitations concerning three main problems in the classification of law and economics issues: anti-classification, classification parity and calibration. Similarly, the authors of [30] describe 17 legal applications. In contrast to our study, this paper only concentrates on applications and frameworks to help law practitioners. Likewise, the authors of [10] analyze various deep learning methods applied to the legal domain. The authors grouped the documents into three categories: legal data search, legal text analytics and intelligent legal interfaces. This study only concentrates on deep learning methods, unlike our proposal, which includes machine learning methods. Furthermore, in [31], the authors review machine learning algorithms applied in the legal domain. Even though various algorithms were studied, the authors concentrate only on interpretable models, prediction interpretation and justification. Lastly, in [32], the authors use the systematic literature review to perform a biometric analysis of 69 articles related to public law. The main results show a growing number of contributions from 2015 and an interaction of AI topics such as explainable machine learning techniques and decision support systems, among others. In contrast to the contributions mentioned above, our study includes machine and deep learning techniques. Furthermore, it includes a quantitative analysis using the main characteristics of the reviewed documents. Finally, we group contributions into five categories suggested by legal practitioners.

3. State-of-the-Art

In this section, we describe different works modeling the legal text representations and implementing algorithms to predict legal decisions in different law domains, such as Human Rights, Constitutional Law and Decision Prediction of Supreme Courts, Tax Law, Intellectual Property, and Administrative Law and Criminal Law, dealing with corpora in different languages such as Chinese (C), English (E), Farsi (Fa), French (F), German (G), Iranian (I), Philippine (Ph), Portuguese (P), Spanish (S) and Turkish (T).

3.1. Human Rights

Several initiatives have been proposed to study the legal corpus constituted by the ECtHR judgments. The focus of the study is on data mining analysis techniques for predicting violations or infringements of the European Convention on Human Rights (ECHR) articles.
For instance, in 2016, a group of American and British law and computer science researchers developed a predictive algorithm for the ECtHR [33]. This experiment was the first to train the SVM model for predictive analysis of the textual content of court decisions. The algorithm predicted whether there had been a violation of Article 3 (prohibition of torture and inhuman and degrading treatment), Article 6 (right to a fair trial), and Article 8 (respect for family and private life) of the ECHR. The algorithm was developed to predict violations of these articles exclusively based on information extracted from the text of the judgments concerning the description of the facts, applicable laws and the parties’ arguments. The procedure, facts, circumstances and the relevant law of the cases were extracted from 584 decisions. Furthermore, they use a law violation of a given article of the Convention. The proposal achieves between 62% and 79% of accuracy in the decisions of the cases studied. An important conclusion was that the most relevant information for achieving the results was the description of the facts included in the circumstances of the case variable.
In the same vein, Medvedeva et al. [34] used 11532 ECtHR judgment documents to train an SVM linear classifier to predict future judicial decisions. A prediction accuracy of 75% was obtained for the violation of nine ECHT articles. The approach emphasizes the potential of ML techniques in the legal field. However, they showed that predicting decisions of future cases based on past cases negatively impacts performance (average accuracy range of 58–68%). Nevertheless, they demonstrated that relatively high classification performance could be achieved (average accuracy of 65%) by predicting outcomes solely based on the surnames of the judges hearing the cases.
Collenett, Atkinson, and Bench–Capon performed another study on the same dataset. They used the ANGELIC methodology to predict the outcomes of cases [35]. The experimental results were successful because they could predict court decisions with high accuracy (an average of 79%). The study used a dataset comprising 10 cases related to Article 6 of the ECtHR. The study concludes that Prolog can predict decisions with high accuracy and that this model can be adapted as the law evolves.
Furthermore, Liu and Chen [36] used 584 documents to compare five ML techniques—k-NN, logistic regression, bagging, random forests and SVM—to predict ECtHR judicial decisions. The authors used spectral clustering and N-grams to extract textual representations of topics, and they concluded that the SVM outperforms the other models.
The authors of [37] also predict law violation and non-violation using auto-sklearn to build models for 12 articles in the ECHR. The authors used n-grams, word embeddings (echr2vec) and doc2vec for the vectorization task for training Gradient Boosting (GB), Random Forest (RF), Stochastic Gradient Descent (SGD), Decision tree (DT), and Quadratic Discriminant Analysis (QDA). The authors obtained an average of 68.83% accuracy for the different models.
In a similar vein, Medvedeva et al. [38] propose a system to automatically predict judicial decisions using nine articles of the ECHR. Specifically, they propose an approach to automatically predict two possible classes, such as ‘violation’ of an article and ‘non-violation’. After solving the unbalanced-classes problem, they vectorize the documents using the Term frequency-inverse term frequency (TF-IDF) normalization. Then words or tokens were grouped into bigrams, 3-grams, and 4-grams to improve the classification task using the SVM technique. They used 356 documents for Article 3, 746 for Article 6 and 350 for Article 8 for the training step, while the testing set was split by two years. Thus, the test set for 2014–2015 is 72, 80 and 52, and for 2016–2017, the number of documents is 140, 90, and 56 for articles 3, 6, and 8, respectively. In this manner, a corpus of 1942 documents was built. The results showed that the best model correctly predicts decisions between 66% and 77% of the cases.
Furthermore, Ref. [39] compares four algorithms for classifying European Court of Human Rights documents, specifically Articles 3, 6 and 8. The algorithms compared were SVM, KNN, Ensembles and gradient boosting through the accuracy measure and the 10-fold cross-validation strategy. Documents were vectorized using Bag-of-Words (BoW) technique followed by spectral clustering. The main result shows that the Ensemble classifier performs best in law documents.
Finally, in [40], the authors compare various standard ML algorithms on corpus extracted from the ECtHR in this effort. The authors propose a complete ETL pipeline to generate the benchmark scenarios to meet this goal. This pipeline includes the Bag-of-Words and TF-IDF documents vectorization, as well as the use of n-grams before the binary classification task. Several ML algorithms were compared, including Decision Tree (DT), AdaBoost with DT, Bagging with DT, Naive Bayes (NB) (Bernoulli and Multinomial), Ensemble Extra Tree, Extra Tree, Gradient Boosting, K-Neighbors, SVM (Linear SVC, RBF SVC), Neural Network (Multi-layer Perceptron) and Random Forest. The algorithms’ performance was compared using quality measures, such as the accuracy, F1-score, and Matthews correlation coefficient.

3.2. Constitutional Law and Ruling Prediction of Supreme Courts

For the constitutional law and ruling prediction of the Supreme Courts, this study relies on sentences issued by the Supreme Courts of various countries, such as Turkey, the Philippines, the United States, Spain and France. The sentences used in the experiments are related to debates over property rights, adoption, freedom and so on. The documents, in some cases, were taken from institutional websites, such as CENDOJ (for the case of adoption in Spanish courts) or a compilation of sentences from constitutional courts (Turkey) or Cassation (France).
For instance, Ruger et al. [41] developed an algorithm that can predict the individual votes of the nine justices as well as the final direction of the court’s decisions, that is, confirmation or revocation in the U.S. Supreme Court. This experiment was conducted with information obtained from the court for two years (2002–2003), and 628 cases were analyzed. The algorithm was based on a classification tree of the following six variables: the federal circuit in which the case originated, thematic area, type of plaintiff, type of defendant, ideological direction, and whether or not the constitutionality of a rule or practice was challenged. The results obtained were compared with the predictions made by a group of academics and lawyers. The following results were obtained: of 78 cases reviewed in 2002–2003, the algorithm could predict 75% of the court decisions and 66.7% of the individual votes, whereas the experts correctly predicted 59% of the decisions and 67.9% of the individual votes. Katz, Bommarito and Blackman [42] designed a model based on the Random Forest algorithm to predict the behavior of the U.S. Supreme Court using a time-evolving Random Forest classifier on a corpus of 200 documents, with an accuracy of 70.2%.
For the Turkish language, Faith Sert, Yildirim and Halak [43] use different algorithms to predict court decisions in matters of public morality and freedom of speech using a corpus from the Turkish Constitutional court composed of 92 and 338 legal documents, respectively. They used an embedding representation to perform TF-IDF and Bag-of-Words for inputting the text to a Multi-Layer Perceptron with different architectures. The F-measure results obtained are between 60% and 98.7%. In addition, Virtucio et al. [44] propose using Linear SVM and Random Forest classifiers to predict the decisions of the Supreme Court in the Philippines. They analyzed the Historical Philippine Supreme Court case decision and the Lasphil Project to gather 27,492 cases divided into the following four categories: person, property, public order and drugs. They characterize each use case using the following: case title, case type, year, decision, classification, laws (republic, act, presidential, commonwealth, article, crime) and crime category. They used a subsampling technique to balance negative cases. They used a Bag-of-Words and n-gram representations to model the documents, reaching accuracies of 55% and 59% for Linear SVM and Random Forest, respectively.
Sulea et al. [45] propose predicting the law category, court ruling, and time of the decision of the French Supreme Court. The dataset used for these three prediction tasks was a diachronic collection of rulings from the French supreme court (Court de Cassation) in XML format, containing 126,865 unique documents after the cleaning phase. They use Bag-of-Words, 2-gram and 3-gram as inputs for a linear SVM classifier implemented in Sckit-learn for the different tasks. They report the results using precision, recall, accuracy and F-measure. They sampled 200 documents for the eight different classes in the law prediction task. The F-measure obtained for this task is 90.3%.
For the ruling decision prediction, the SVM algorithm obtained an F-measure of 97% and 92.7% when predicting 6 and 8 classes, respectively. The authors used 1-gram and 2-gram representations for the linear SVM in the last task of temporal prediction, achieving 73.2% and 73.9% when predicting 7 and 14 classes, respectively. Alghazzawi et al. [46] propose a forecasting ruling decision using a hybrid neural network model combining a long-short term memory (LSTM) network with a convolutional neural network (CNN). The authors use 120,506 cases with 27 features from the US Supreme Court ruling. They divide the corpus into 80%, 10%, and 10% for training, validation and testing, respectively. Furthermore, they used 10-fold cross-validation to select the best model. They use oversampling techniques and RFE algorithms to select the best features for handling imbalanced classes and feature selection. After the experiments with different architectures, the best score was an F-measure of 93%.
Based on the Spanish language, Muñoz and Serrano-Soria [47] propose a model to predict court decisions on child custody. First, they study the factors explaining a court’s decision to accord child custody by identifying and labeling factual elements and legal principles from the court rulings. Then, they use ANN to predict whether the custody is joint or sole, based on the relationship between the parents and their economic resources, the child’s opinion and the psychological report. They used 1884 court sentences from June 2016 to June 2020 from the Spanish Judicial Authority Documentation Center (CENDOJ). The best model output predictions with 85% accuracy.
A limitation of performing court prediction is that access is limited to the annotated corpus. Song et al. [48] gathered a dataset of 50,000 legal opinions and their manually labeled legal procedural postures (POSTURE50K). The dataset were gathered from all states and Districts of Columbia in the United States between 2013 and 2020. The authors propose a DL architecture that adopts domain-specific pretraining and a label-attention mechanism for multi-label document classification based on RoBERTa using this dataset. The authors used POSTURE50K and EUROLEX57K to compare their proposal with other algorithms, such as Random Forest, Multi-Layer Perceptron, BI-GRU-LWAN, AttentionXML, APLC_XLNet and X-Transformer. Depending on the dataset, the F-measure result ranges from 74.5% to 80.2%, depending on the dataset. Thus, in some cases, their proposal outperforms other algorithms. Additionally, Mumcuoglu et al. [49] propose a study to predict decisions in different courts, such as constitutional, civil, criminal, administrative and taxation. They used a corpus consisting of 39,157 legal documents, represented by a reduced Term Frequency vector using the PCA algorithm. The results were used as an input to DT, Random Forest, SVM, Gated Recurrent Unit (GRU), Long Short-Term Memory (LSTMs) and Bidirectional LSTM (BILSTM). Furthermore, they add an attention layer to the GRU, LSTM and BILSTM algorithms. The F-measure obtained results range from 56% to 87%. Sharma, Shandilya and Sharma proposed the eLegPredict system to predict Indian supreme court decisions [50]. The eLegPredict is trained and tested using more than 3072 supreme court cases and the eXtreme Gradient Boosting (XGBoost), ANN, SVM and RF supervised learning algorithms. The system achieved an F-measure between 60% and 76% accuracy (F1-score).
Sharma et al. [51] describe an experiment using deep neural networks and learning techniques to predict decisions of the Supreme Court of the United States with an accuracy of 70.4% on a corpus made up of 7770 cases and 70,000 judicial votes. This experiment is based on research published by Katz, Bommarito and Blackman in 2014, except that they used modern ML techniques instead of using random trees for prediction. RMSprop and Momentum are two techniques to compare results. The proposed approaches include SVM for surface learning and neural networks for DL. The neural network model used is implemented in the Pythons Theano library. They used the dropout technique to obtain results with the DL algorithm that were then compared with surface learning algorithms, such as SVM and complicated neural networks. The authors chose linear, polynomial and nonlinear kernel models for SVMs. The results were encouraging, as prediction levels were even higher than the model proposed by Katz, Bommarito and Blackman. The Katz, Bommarito and Blackman model reached 69.7% accuracy, while Sharma et al. reached 70.2% (Table 2).
Douka et al. [52] propose the JuriBERT pre-trained structure using 123361 documents from the Court of Cassation and Légifrance. The authors use different versions of JuriBERT to classify legal text into eight classes among the chambers and sections and to classify legal text into five categories. The accuracy ranges from 79.9% to 83.28% and 70.38% to 72.09%, respectively.
The work of Sivaranjani, Jayabharathy, and Teja [53] predicts the Indian supreme court decision on appeal cases using a Hierarchical Convolutional Neural Network (HCNN). The authors used the sentences represented using Word2Vec between 2000 and 2019 to train the Hierarchical CNN, achieving an accuracy ranging from 77.65% to 81.13%.
Table 2. Summary of ruling decision prediction in Constitutional Law and Supreme Courts cases, where E = English, Fa = Farsi, F = French, Ph = Philippine, S = Spanish, and T = Turkish.
Table 2. Summary of ruling decision prediction in Constitutional Law and Supreme Courts cases, where E = English, Fa = Farsi, F = French, Ph = Philippine, S = Spanish, and T = Turkish.
Nro.ReferenceCorpus SizeLang.ModelRepr.MetricMin(%)Max(%)Year
1[41]628EDTBinaryAccuracy68752004
2[51]120,506ELSTM + CNNEmbeddingsAccuracy8892.052015
3[42]28,000ERFTerm frequencyAccuracy70.271.92017
4[45]430TSVMBag-of-Words, 2-gram, 3-gramF-measure6390.32017
5[44]27,492PhSVM, RFBoW, n-gramsAccuracy55592018
6[49]39,157TGRU, LSTM, and BILSTMTF-IDFF-measure56872021
7[47]1884SANNBinaryAccuracy61852021
8[43]430 MLPEmbedings, TF-IDF, BoWF-measure6098.72021
9[48]50,000ERoBERTa, RF, MLP, BIGRU-LWAN, AttentionXML, APLC_XLNet, and X-TransformerSequence of wordsF-measure74.580.22021
10[53]-EHCNNAccuracy77.65-81.132021
11[50]3072EXGBoost, ANN, SVM, and RFTF-IDFF-measure60762021
12[52]123,361FJuriBERTTokenizedAccuracy70.3883.282021
13[46]120,506ECNN, LSTMEmbeddingF-measure79932022

3.3. Criminal Law

For Criminal Law, reviewed studies used text mining and supervised ML models for managing Judicial files, specifically for treating written criminal sentences in a way that allows the identification of cases. Similar to their classification.
In [54], the authors propose a 7-step methodology to classify the accused person’s Acquittal and Conviction (classes) from data obtained from criminal cases related to the murder of the Delhi District Court. Thus, 86 cases were vectorized using the Bag of Word strategy and normalized using the min–max method. Then, algorithms such as SVM, kNN, CART, and NB were used. Finally, leave-one-out cross-validation is used to measure the model’s effectiveness, obtaining an accuracy of 85–92% and an F1 score of 86–92%. Ferreira performed another study in Portuguese, and Seron [55]. They compared Logistic Regression (LR), Latent Dirichlet allocation (LDA), KNN, Regression Tree (RT), Gaussian NB (GNB), and SVM algorithm using a corpus consisting of 1562 homicides and corruption in Brazilian court rulings. They obtained an F-measure result ranging from 78% to 98%, depending on the algorithm and court document.
Chou and Hsing [56] developed a document classification, clustering, and search methodology based on neural networks to help law enforcement departments handle written criminal judgments more efficiently. Thus, judges can review similar cases and have a broader view of issuing a sentence. The corpus used to train the models is composed of 210 written criminal sentences from the judiciary of Taiwan for training and testing. Seven crime categories were selected, including homicide, sex crimes, drug-related corruption, computer crime, theft, and fraud. The critical terms used in the trials and files were summarized using 2604 keywords in which 100 main words with the highest frequency of use were selected. For the neural network, 140 sample documents were used. A word segment process was used in the seven specific criminal categories, which was then increased to 251 keywords. Based on the results, the precision obtained reached 94% in the training samples that used all the segments of the written vectors and were not weighted as Back-Propagation Network (BPN) inputs. Similarly, an accuracy of 67% was achieved in the model that uses all the segments of the written vectors, but weighted vectors were used equally as BPN inputs.
Text mining has also been conducted in India. Kaur et al. [57] created a corpus from the police department data downloaded from official pages. Classifiers such as KNN and K-Means clustering algorithm were used. These algorithms were used to evaluate the incidence of crime in the following cities: New Delhi, Andhra Pradesh, Jammu, Kashmir, Daman, Diu, Jharkhand, Arunachal Pradesh, and Nhaveli, of which Delhi and Jharkhand were ranked as the cities with the highest incidence of crime. In the case of Dehli, the result is explained by the city’s cosmopolitan nature, the lower availability of preventive measures, and the inability of law enforcement. In the case of Jharkhand, the study concludes that the crime incidence is because the area is too remote for police presence. The authors used Root relative squared error (RRSE) to measure the quality of the KNN algorithm, which obtained 67.92%.
Bingfeng et al. [58] predicted the charges of crimes, such as fraud, theft, or homicide. They used both the legal articles of statutory norms and judicial decisions. To accomplish this, they compiled judicial documents available on the website of the Chinese government, where they extracted descriptions of facts, articles of law, and the charges of imputation. The corpus comprised 50,000 randomly selected documents, 5000 documents for validation, and 5000 documents for testing. The researchers propose a neural network to predict the indictment charges and the relevant articles that serve as the legal basis to justify such charges. The results obtained show the effectiveness of their model for both tasks. A BI-GRU sequence encoder was used in the experiment, an SVM classifier was used for legal article extraction, and SGD was used for training.
Xiao et al. [59] present CAIL2018, a tool that condenses more than 2.6 million criminal cases obtained from the website of the Chinese Supreme People’s Court. This tool uses DL techniques to perform NLP tasks combined with neural networks to predict the results of a trial (PJL—Legal Trial Prediction). They used the following three methods in their experiments: TF-IDF + SVM, to extract word features and SVM with a linear kernel to train the classifier. Fast Text was also used to classify texts based on n-grams and Hierarchical softmax. Finally, CNN was used for text classification and fact description coding. Many results were obtained in terms of predicting imputation charges and law articles with high accuracy.
In the same context, Zhong et al. [60] compare text representations, such as TF-IDF and Embeddings with different classification algorithms, such as SVM, CNN, and HLSTM, in over 1.2 million documents of criminal cases in China. The authors used the accuracy to measure the performance of the algorithms, obtaining an accuracy between 38.3% and 94.4%. Furthermore, Li et al. [61] evaluate the judgment rationality of the target case via the judgment results of its similar precedent cases. The authors used Doc2Vec to represent the 41 418 documents in Chinese, which are the input to a GRU. To evaluate the proposal’s performance, the authors used the F-measure, which ranges between 73.6% and 78.7%.
Strickson and De La Iglesia propose a work to predict legal decisions or judgments from the UK [62]. The authors used 188 294 English documents to train supervised learning algorithms, such as SVM, LR, RF, KNN, SLP, and MLP. The authors use different textual representations, such as Count, TF-IDF, LDA, and Embeddings, to compare the algorithms, and they used the accuracy to measure the performance, reaching a value between 49.6% and 69.1%.
In the same spirit, the authors of [63] propose the Law-Article-Distillation-based Attention Network (LADAN) algorithm to face the problem of legal judgment predictions. The proposal includes a graph distillation operator to identify discriminative features from law articles. First, the authors built the similarity using the cosine metric and the TF-IDF vector representation. Later, the authors represent that information in a graph. Then, their proposal LADAN was used, and the results were compared with several baseline algorithms. The authors use three legal datasets and the prediction task’s accuracy ranges between 81.20% and 96.60%.
Mahmoudi et al. [64] propose a zork to predict judicial decisions on French courts using an algorithm named CamemBERT judicial. Authors rely on 503 documents of different French courts using FastText, Elmo, BERT, DeLFT, and Word2vec to represent judicial documents. Therefore, they used CamemBERTjudicial and BiLSTM-CRF to predict the courts’ decisions. For the experiments, the author reaches results between 81.43% and 100% in terms of the F-measure.

3.4. Tax Law, Intellectual Property, and Administrative Law

This section analyses tax, intellectual property, and administrative laws. Text classification in these domains uses corpus resolving tax disputes in countries such as Germany, Brazil and the Netherlands. In intellectual property, the works deal with conflicts over domain names.
For studies on Tax Law, Waltl et al. [65] implemented a Naive Bayes (NB) classifier trained on a corpus of 5990 documents with 11 features, with the objective of predicting whether an appeal was successful in a restricted set of cases from the German taxation court; an F-measure between 53% and 58% was obtained. De Ronde [66] proposes a transformer-based model (RobBERT) to predict Dutch fiscal case-law articles into taxation subareas. A corpus of 59,671 documents was gathered from rechtspraak (rechtspraak.nl: www.rechtspraak.nl, accessed on 29 March 2022) by filtering only those tagged as Tax Law. Each document has ten features, 15 subareas of taxation, and a list of contextual keywords for each subarea of taxation. The authors used BERT and RoBERTa and manual labeling for 100 documents concerning the labeling process. For evaluation purpose splitting, the dataset was divided into 80% for training and 20% for validation. Thus, they obtained an accuracy of 87% in the testing set.
For intellectual property, Brangting et al. [67] proposed a methodology to predict and explain decisions in the intellectual property domain. The proposed method is divided into four steps. The first step manually annotates a subset of 16,040 domain name dispute decisions proposed by the World Intellectual Property Organization (WIPO). In the second step, the manually annotated tags are projected using fast text embedding to group semantically similar texts in the annotated and non-annotated corpus to infer the semantics of different tags in the findings section of the decisions. Thus, step 3 builds a mode for each tag using the SCALE algorithm. Finally, step 4 uses an SVM algorithm to predict decisions based on projected features, facts, and contentious texts, achieving an F-measure of 79.5% and 92.2%, respectively. The authors obtained an accuracy of 58.8%.
For Administrative Law, Vihikan et al. [68] developed an automatic resolution of a domain name dispute system. They used an English corpus of 30,311 cases of domain name disputes emitted by the WIPO arbitration and mediation center to implement this system. The author used pretrained models, such as BERT, out-of-the-box BERT (ooBERT), fine-tuned BERT (ftBERT), and LEGAL-BERT. In addition, they used bidirectional GRU and bidirectional LSTM (BILSTM) with the GLOVE pretrained word vectors. Finally, they used logistic regression and linear-kernel SVM model over-weighted TF-IDF feature vectors. The authors obtained an F-measure value between 75.5% and 81.3%. Lage-Freitas, Allende-Cid, Santana, and de Oliveira-Lage [69] proposed a prototype based on Python’s NLTK library to predict legal decisions of Brazilian courts of justice in a corpus of 4762 decisions with a TF-IDF representation, and a result of 78.99% F1-measure was obtained.
Similarly, in [70], the authors propose a complete pipeline for the Connecticut Civil Court Data classification, including Court Administrative Data and Complaint Documents. They focus on several steps in the knowledge extraction from the law textual data process. First, the authors concentrate on the feature engineering step through TF-IDF to obtain lower dimensional features to predict legal cases. Furthermore, embedding such as doc2vec and law2vec were included in the comparison. Then, ML algorithms such as AdaBoost, decision trees, gradient boosting, random forests, SVM, and XGBoost were compared. The metrics used for evaluation were accuracy, precision and recall. Results range between 0.5661 and 0.6274 in terms of the precision–recall ratio.
Chen and Eagle in [71] propose an RF to classify grant or deny of asylum demands. They used 0.5 million documents from 1981 to 2013 with 43 features to reach an accuracy ranging from 75% to 82%.
In [72], the authors built a system called ILDC (Indian Legal Documents Corpus) made up of the annotated judgments (with original explanations) issued by the Indian Supreme Court. The database contains 34,816 documents (from 1947 to 2020), the largest corpus of sentences compiled in the Indian environment. The objective of this research was to develop a system that assists Indian judges in resolving conflicts, suggesting results of similar judicial cases, aiming to speed up judicial processes and reduce delays and procedural overload. The results they obtained from the judicial decision prediction tests were 78% compared to 94% obtained by human legal experts. To deal with court case information, the authors identified some regular expressions to remove noisy text and meta information, for example, the initial parts of the document containing the case number, judge name, dates and other process meta-information. As the authors indicate, this is because the judge who decides the case influences the final decision. The authors also worked with processes with multiple claims, wherein, in a single case, the appellant presented multiple requests, which led the authors to divide the cases into two groups. One set is made up of cases with a single decision, and another is made up of appeals with different decisions based on multiple claims.
In [73], the authors experimented with different types of deep neural networks applied to the classification of legal consultations. As the authors point out, legal query comprehension is a complex problem that involves two Natural Language Processing (NLP) tasks that must be solved together: (i) identifying user intent and (ii) recognizing entities within queries. Thus, the authors used deep neural architectures as well as Recurrent Neural Networks (RNNs), Long Short Term Memory (LSTM), Convolutional Neural Networks (CNNs) and Gated Recurrent Units (GRU) and compared them both individually and in combinations. The models were also compared to Machine Learning (ML) and rule-based approaches. The results of these experiments show that it is difficult for DNNs to deal with long queries.

3.5. Private Law

To the best of our knowledge, few documents have been found that report the use of machine learning and deep learning applied to private law. Indeed, two main contributions were found in this context.
Li et al. [74] propose a Markov Logic Networks (MLN) probability model to predict the judicial decision of divorce cases. The authors used 695 418 documents from China Judgments Online (China Judgments Online: wenshu.court.gov.cn/, accessed on 16 September 2022). From these documents, authors extract confirmation of facts, articles and judicial decisions to train the MLN. They could predict the probability of a granted divorce (89.7%) and the plaintiff paying the fees (87.06%), with an F1-measure between 73.58% and 77.74%.
Other papers face the problem of class limits between the prediction of one class instead another class in the classification problem. Thus, in [75], the authors propose a two-layered hierarchical fuzzy algorithm applied to a dataset containing Iranian standard contracts between an employer and a contractor grouped into three classes: building, semi-building and non-building. Before applying the algorithm, the authors performed a feature selection step using the normalized entropy measure. Later, the corpus was used as input to the algorithm to extract fuzzy rules, and the accuracy was measured using the 10-fold cross-validation technique.
In [76], the authors processed a collection of court decisions in French from the Régie du Logement du Québec (RDL) on real estate law litigation. Indeed, on a corpus made up of 981,112 decisions issued from 2001 to 2018 by 72 judges in 29 Quebec courts, the authors applied NLP tools to reveal the biases that can influence prediction experiments. The authors divided the rulings into two broad categories: Landlord versus Tenant (LvT) and Tenant versus Landlord (TvL). In this experiment, they used the FlauBERT language model. They managed to identify more than a dozen characteristics of each decision and detect biases contained in the data sets, such as, for example, that landlords tend to sue their tenants, with more probability of success. The prediction results are 93.7% and 85.2% in LvT cases and 84.9% and 74.6% for TvL cases, respectively.

4. Quantitative Analysis of Judicial Decision Prediction Studies

This section presents the analysis performed on the gathered articles. The first analysis performed was about the corpus size over the years, as shown in Figure 2. The maximal size of the corpus is shown in blue, and the average corpus size is shown in green. Note that the corpus size increased over the years, reaching 100,000 documents analyzed in 2020. It is important to note that the corpus with the largest size (>5.5 million) was used in 2018.
Regarding the documents, the languages used for the judicial decision prediction are English, German, Portuguese, Turkish, Chinese, Farsi, French, Iranian and Spanish. English is most used language in the literature (c.f., 60%), as depicted in Figure 3. Other languages are Chinese and Portuguese, representing 10% and 6.7% of the works, respectively. Finally, the other languages represent 23.3% of the works in the literature review.
For the learning model, the different techniques used for predicting rule decisions are shown in Figure 4a. Note that data mining techniques, such as SVM, K-NN and RF are the most used. Furthermore, the DL techniques frequently used are CNN, LSTM and transformers, such as BERT.
Figure 4b illustrates the models used for the textual representation model. Term Frequency, Inverse Document Frequency (TF-IDF), n-grams, Bag-of-Words (BoW) and embedding are the most used. Apropos evaluation metrics, Figure 4c shows that Accuracy and F-measure are the most used metrics to evaluate the learning model’s performance in predicting the judicial decision.
For the performance analysis, the increasing trend in the performance of the judicial decision prediction, even when the corpus size also increases, is shown in Figure 5. This trend is due to the shift from ML to DL techniques, which handle a significant corpus achieving impressive performances. Nonetheless, the predominance of ML over DL techniques is shown in Figure 6. Note that DL techniques have been more popular since 2021. Finally, the minimal and maximal values for different metrics used to assess the performance of ruling decision predictions are illustrated in Figure 7.

5. Discussion

This section discusses our findings in the state-of-the-art following the question proposed in Table 1. To achieve this goal, information from articles gathered in this study (c.f., Section 3) and the quantitative analysis of tables summarizing their main characteristics (c.f., Section 4) were used.

5.1. Which Law Type Applies Judicial Decision Prediction through ML or DL?

The state-of-the-art shows that many NLP methods have been used for analyzing textual corpus associated with the legal domain. After applying the literature search methodology, eight hot topics were revealed, such as Human Rights, Constitutional Law, ruling prediction of Supreme Courts, Tax Law, Intellectual Property, Administrative Law, and Criminal Law. For our purpose, we grouped these topics into four categories in Section 3. For the performance analysis, the increasing trend in the performance of the judicial decision prediction, even when the corpus size also increases, is shown in Figure 5. This trend is caused by the shift from ML to DL techniques, which handle significant corpora, achieving impressive performances. Nonetheless, the predominance of ML over DL techniques is shown in Figure 6. Note that DL techniques have been used more since 2021. Finally, the minimal and maximal values for different used metrics for evaluating the performance of ruling decision predictions are shown in Figure 7.

5.2. Which NLP and ML Techniques Were Used to Analyze Textual Data Associated with the Legal Text?

Table 2, Table 3, Table 4, Table 5 and Table 6 summarize the NLP techniques used for analyzing textual data in the legal domain.
First, several efforts were proposed for Human Rights. All studies reviewed present a binary classifier. Some attempt to classify violation or non-violation of an article from the ECHR. The corpus was vectorized using strategies, such as TF-IDF, n-grams, Bag-of-Words, word embedding, and paragraph embeddings. SVM was the most popular used supervised learning algorithm. Other algorithms were KNN, NB, CART, and various Random Forest variants.
For analyzing documents concerning constitutional law and ruling prediction of Supreme Courts, most studies address the problem of binary classification using classical ML algorithms, such as decision trees, RF, SVM, and XGBoost. Furthermore, recent DL techniques were used, such as CNN, LSTM, and their variants, such as BiLSTM, BI-GRU, Attention, and RoBERT. The authors used classical techniques for text vectorization, such as binary, TF, TF-IDF representation, embeddings, and fuzzy representation. Finally, accuracy and F-measure measures were used to measure the effectiveness of the classification task.
Regarding Tax Law, Intellectual Property, and Administrative Law, algorithms such as NB, SVM, XGBboost, decision trees, logistic regression, BERT, Transformers, CNN, and LSTM, were used for the prediction task. Furthermore, some authors proposed modifications to the BERT algorithm, such as ooBERT, LEGAL-BERT, and ft-BERT. The TF-IDF vector representation of documents is used. In addition to these techniques, two adapted ones were used to improve results, such as normalized thesaurus and weighted TF-IDF. The F-measure is the most used evaluation measure in this category.
Table 4. Summary of ruling decision prediction in Tax Law, Intellectual Property, and Administrative Law, where E = English, F = French, G = German, P = Portuguese and I = Iranian.
Table 4. Summary of ruling decision prediction in Tax Law, Intellectual Property, and Administrative Law, where E = English, F = French, G = German, P = Portuguese and I = Iranian.
Nro.ReferenceCorpus SizeLang.ModelRepr.MetricMin(%)Max(%)Court
1[65]5990GNaive Bayes classifiernorma- lized thesaurusF-measure53582017
2[71]500,000ERFfeature matrixAccuracy75822017
3[73]545,760ECNN, LSTM, RNNCBoWF-measure99.7499.892018
4[69]4762PSVM, DT, XGBoost, BERT, GRU, LSTM, CNNTF-IDFF-measure73.4280.222019
5[66]53,397GTransformers, BERT RobBERTPQRAccuracy61872021
6[67]16,040ESVMEmbedingsF-measure79.592.22021
7[68]30,311EooBERT, ftBERT, and LEGAL-BERT, biLSTM, GRU, LR, SVMweighted TF-IDFF-measure75.581.32021
8[70]7904EadaBoost, decision trees, gradient boosting, random forests, SVM, XGBoostTF-IDF, doc2vec, law2vecAccuracy56.6162.742021
9[72]34,816ILogistic Regression, SVM, Random Forest, BiGRU, GloVe,Sent2Vec, Doc2Vec, Hierarchical Attention Network, BERT, DistilBERT, RoBERTa, XLNet, LEGAL- BERTAccuracy78942021

5.3. What Are the Most Used Techniques in ML and DL to Predict Judicial Decisions?

Even though ML and DL fall under the AI umbrella, some differences exist. Supervised ML extracts patterns from vectorized textual data to classify and improve the experience. DL is a subset of ML that uses complex, multi-layer neural networks. Even though ML and DL fall under the AI umbrella, DL networks have a significant benefit in that they frequently improve as the quantity of data grows [77].
For the classification of legal documents, several traditional ML techniques, such as NB, Logistic Regression, SVM, RF, and variations MLP, and XGBoost, were used. Most of them were conducted well in terms of the classification ratio or accuracy. The DL methods have also been used for legal textual data classification. Algorithms such as LTSM, CNN, BERT, and other variations were successfully used in the literature. The percentage of ML (70.6%) and DL (29.4%) techniques used in the works in the literature is shown in Figure 6.
The best result was obtained using the ML algorithm (Multi-Layer perceptron) with 98.7%.

5.4. Which Countries Apply or Implement Judicial Decisions Prediction through ML or DL?

As shown in Figure 3, most studies were written in English (more than 60%). Furthermore, Portuguese has a representative number of publications addressing the problem of legal texts classification. Nevertheless, Turkish, Chinese, Spanish, Philippine, and Farsi are other languages.

5.5. Which Quality Measures Are Used to Validate Decision Prediction?

AI is invaluable in automating time-consuming tasks. Nevertheless, the credibility of the models is always debatable [77]. To address this issue, it is crucial to measure the performance of algorithms in terms of the success ratio. In addition, it is important to have as few errors as possible in the classification (false positives and true negatives). The performance of an algorithm depends on multiple factors, such as the corpora used, the application domain, and the ML algorithm. The literature reviewed in our study reveals the use of several quality measures. The most commonly used is the accuracy, which measures the success classification ratio. Other measures include the F1 score, precision, and RSE. The percentage of quality measures found in the literature is shown in Figure 7.

5.6. Which Law Type Uses the Most Judicial Decisions Prediction through ML or DL?

As shown in Table 2, Table 3, Table 4 and Table 5, Constitutional Law and Ruling Prediction of Supreme Courts is the category with the highest number of applications using ML or DL. The second one is related to Criminal Law, and only a few studies were found for the category combining Tax Law, Intellectual Property, and Administrative Law.
Table 5. Summary of ruling decision prediction in Criminal Law, where C = Chinese, E = English, F = French, P = Portuguese and S = Spanish.
Table 5. Summary of ruling decision prediction in Criminal Law, where C = Chinese, E = English, F = French, P = Portuguese and S = Spanish.
Nro.ReferenceCorpus SizeLang.ModelRepr.MetricMin(%)Max(%)Year
1[56]210CANNTF-IDFPrecision67942010
2[58]60,000CSVM, ANNEmbeddingF-measure70.1598.512017
3[59]5.7 MCSVM, Fast Text, CNN,TF-IDF, n-grams, embeddingsAccuracy94.397.62018
4[60]1.2 MESVM, CNN, HLSTMTFIDF, EmbedingsAccuracy38.394.42018
5[61]41,418CGRU, likelihood measureDoc2VecF173.678.72019
6[57]38EKNNBoWRRSE 67.922019
7[62]188,294ESVM, LR, RF, KNN, SLP, MLPCount, TF-IDF, LDA, EmbeddingsAccuracy49.669.12020
8[54]86ESVM, kNN, CART, and NBBoWF-measure86922020
9[63]1.5 MCLADANTF-IDFAccuracy81.2096.62020
10[55]1562PLR, LDA, KNN, RT, GNB, SVMTF-IDFF-measure78982020
11[64]503FCamemBERT, BiLSTM-CRFFastText, Elmo, BERT, DeLFT, Word2vecF-measure81.431002022
Table 6. Summary of ruling decision prediction in Public Law, where C = Chinese, F = French and I = Iranian.
Table 6. Summary of ruling decision prediction in Public Law, where C = Chinese, F = French and I = Iranian.
Nro.ReferenceCorpus SizeLang.ModelRepr.MetricMin(%)Max(%)Court
1[74]695 418CMarkov logic networks F-measure73.5877.742018
2[76]981112FFlauBERTTF-IDF, FastTextAccuracy74.693.72020
3[75]100ITSK fuzzy systemEntropyAccuracy55.358.82021

6. Conclusions

In recent years, artificial intelligence, specifically text mining, has been applied in many areas of knowledge and in systems that humans use daily (chatbots, voice recognition, etc.). The application of these technologies in the legal domain, especially in predicting judicial decisions, has been increasing in recent years. The reviewed papers show, in this ambit, a predominance of the use of text mining techniques, such as Support Vector Machine (SVM), K Nearest Neighbors (K-NN) and Random Forest (RF), over deep learning techniques. These techniques have been applied to predict judicial decisions in various legal domains, such as human rights, divorces, intellectual property, etc., and used to predict the commission of crimes, impute charges or identify the areas of cities with the highest incidence of crime. Although NLP methods are used in the analysis of the legal textual corpus, this trend is due to the shift from ML to DL techniques, which handle a significant corpus and achieve impressive performance. However, the predominance of ML techniques over DL is observed in the results obtained in the works reviewed, i.e., the percentage of ML was 70.6%) and DL was 29.4%. The best result was obtained using the ML algorithm (Multi-Layer perceptron) with 98.7%. This behavior is observed in constitutional law and sentence prediction since the authors preferred using ML techniques such as decision trees, RF, SVM and XGBoost. Furthermore, recent DL techniques were used, such as CNN, LSTM, and their variants, such as BiLSTM, BI-GRU, Attention, and RoBERT. In other areas of law, such as Tax Law, Intellectual Property, and Administrative Law, algorithms such as NB, SVM, XGBoost, decision trees, logistic regression, BERT, Transformers, CNN, and LSTM, were used for the prediction task. Furthermore, some authors proposed modifications to the BERT algorithm, such as ooBERT, LEGAL-BERT, and ft-BERT. Most of the research has been conducted in English. We found that 64% of the works belong to studies carried out in English-speaking countries, 8% in Portuguese and 28% in other languages (such as German, Chinese, Turkish, Spanish, etc.). Very few works of this type have been carried out in Spanish-speaking countries. Applying these prediction techniques in the different legal domains reaches an accuracy of 60%.
We believe that it would be interesting to extend this work to other thematic areas and focus on the new technologies that are being developed in legal intelligence for future work.

Author Contributions

Conceptualization, O.A.A.F., M.N.-d.-P. and H.A.-S.; methodology, O.A.A.F., M.N.-d.-P. and H.A.-S.; validation, M.N.-d.-P., O.A.A.F. and H.A.-S.; formal analysis, O.A.A.F., M.N.-d.-P. and H.A.-S.; investigation, O.A.A.F., M.N.-d.-P. and H.A.-S.; resources, O.A.A.F.; data curation, M.N.-d.-P.; writing—original draft preparation, O.A.A.F., M.N.-d.-P. and H.A.-S.; writing—review and editing, M.N.-d.-P. and H.A.-S.; visualization, M.N.-d.-P. and H.A.-S.; supervision, O.A.A.F., M.N.-d.-P. and H.A.-S.; project administration, O.A.A.F.; funding acquisition, O.A.A.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Instituto de Investigación Científica (IDIC), Universidad de Lima.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The code and files for results replication are available at https://github.com/bitmapup/SurveyJudicialDecisionsPrediction.

Acknowledgments

This article was developed as part of the research project “Application of Big Data in the “personalization” of consumer law” of the Scientific Research Institute (IDIC) of the University of Lima.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AbbreviationName
APLC XLNETPretrained Generalized Autoregressive Model with Adaptive Probabilistic
Label Clusters
ANNArtificial neural network
BI-GRUBidirectional Gated recurrent units
BI-LSTMBi-directional Long Short Term Memory
BERTBidirectional Encoder Representations from Transformers
BoWBack of Word
BPNBack-Propagation Network
CARTClassification And Regression Trees
CNNConvolutional Neural Network
DTDecision Tree
GBGradient Boosting
GRUGated Recurrent Unit
KNNK-Nearest Neighbors
LDALinear Discriminant Analysis
LSTMLong Short-Term Memory
LRLogistic Regression
LWANLabel-Wise Attention Network
NBNaive Bayes
NNNeural network
ftBERTFine-Tuned Bert
ooBERTout-of-the-box BERT
MPLMulti-Layer Perceptron
RoBERTaRobustly Optimized BERT Pretraining
RBFRadial Basis Function
SGBStochastic Gradient Boosting
SLPStochastic Logic Programs
SVMSupport Vector Machine
TF-IDFTerm Frequency Inverse Document Frequency
RFRandom Forest
QDAQuadratic classifier
XG BoosteXtreme Gradient Boosting
X TransformereXtreme Transformer
MLNMarkov Logic Networks
HCNNHierarchical Convolutional Neural Network
SRLSystematic Literature Review

References

  1. Lippi, M.; Pałka, P.; Contissa, G.; Lagioia, F.; Micklitz, H.W.; Sartor, G.; Torroni, P. CLAUDETTE: An automated detector of potentially unfair clauses in online terms of service. Artif. Intell. Law 2019, 27, 117–139. [Google Scholar] [CrossRef] [Green Version]
  2. Chalkidis, I.; Androutsopoulos, I.; Michos, A. Extracting contract elements. In Proceedings of the 16th Edition of the International Conference on Articial Intelligence and Law, London, UK, 12–16 June 2017; pp. 19–28. [Google Scholar]
  3. Chalkidis, I.; Fergadiotis, M.; Malakasiotis, P.; Aletras, N.; Androutsopoulos, I. Extreme multi-label legal text classification: A case study in EU legislation. arXiv 2019, arXiv:1905.10892. [Google Scholar]
  4. Glaser, I.; Scepankova, E.; Matthes, F. Classifying semantic types of legal sentences: Portability of machine learning models. In Legal Knowledge and Information Systems; IOS Press: Amsterdam, The Netherlands, 2018; pp. 61–70. [Google Scholar]
  5. Savelka, J.; Ashley, K.D. Segmenting US Court Decisions into Functional and Issue Specific Parts. In Proceedings of the JURIX 2018, Groningen, The Netherlands, 12–14 December 2018; pp. 111–120. [Google Scholar]
  6. Fariss, C.J.; Linder, F.J.; Jones, Z.M.; Crabtree, C.D.; Biek, M.A.; Ross, A.S.M.; Kaur, T.; Tsai, M. Human rights texts: Converting human rights primary source documents into data. PLoS ONE 2015, 10, e0138935. [Google Scholar] [CrossRef]
  7. Hirschberg, J.; Manning, C.D. Advances in natural language processing. Science 2015, 349, 261–266. [Google Scholar] [CrossRef] [PubMed]
  8. Zeroual, I.; Lakhouaja, A. Data science in light of natural language processing: An overview. Procedia Comput. Sci. 2018, 127, 82–91. [Google Scholar] [CrossRef]
  9. Reis, J.; Santo, P.E.; Melão, N. Impacts of artificial intelligence on public administration: A systematic literature review. In Proceedings of the 2019 14th Iberian Conference on Information Systems and Technologies (CISTI), Coimbra, Portugal, 19–22 June 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1–7. [Google Scholar]
  10. Bansal, N.; Sharma, A.; Singh, R. A review on the application of deep learning in legal domain. In Proceedings of the IFIP International Conference on Artificial Intelligence Applications and Innovations, Hersonissos, Crete, Greece, 24–26 May 2019; Springer: Berlin/Heidelberg, Germany, 2019; pp. 374–381. [Google Scholar]
  11. Nay, J. Natural Language Processing and Machine Learning for Law and Policy Texts. 2018. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3438276 (accessed on 10 October 2022).
  12. Sourdin, T. Judge v Robot?: Artificial intelligence and judicial decision-making. Univ. New South Wales Law J. 2018, 41, 1114–1133. [Google Scholar] [CrossRef]
  13. Fabian, S. Artificial Intelligence and the Law: Will Judges Run on Punch Cards. Common Law Rev. 2020, 16, 4. [Google Scholar]
  14. Reiling, A. Courts and Artificial Intelligence. Int. J. Court. Adm. 2020, 11, 1. [Google Scholar] [CrossRef]
  15. Campbell, R.W. Artificial intelligence in the courtroom: The delivery of justice in the age of machine learning. Colo. Technol. Law J. 2020, 18, 323. [Google Scholar]
  16. Ulenaers, J. The impact of artificial intelligence on the right to a fair trial: Towards a robot judge? Asian J. Law Econ. 2020, 11. [Google Scholar] [CrossRef]
  17. Re, R.M.; Solow-Niederman, A. Developing artificially intelligent justice. Stanf. Technol. Law Rev. 2019, 22, 242. [Google Scholar]
  18. Henman, P. Improving public services using artificial intelligence: Possibilities, pitfalls, governance. Asia Pac. J. Public Adm. 2020, 42, 209–221. [Google Scholar] [CrossRef]
  19. Henrique de Jesus Prado, K.; Santos Souza, L.; Dias de Jesus Junior, I.; Colaço Júnior, M. Applied intelligent data analysis to government data related to criminal incident: A systematic review. J. Appl. Secur. Res. 2020, 15, 297–331. [Google Scholar] [CrossRef]
  20. Park, S.H.; Lee, D.G.; Park, J.S.; Kim, J.W. A Survey of Research on Data Analytics-Based Legal Tech. Sustainability 2021, 13, 8085. [Google Scholar] [CrossRef]
  21. Rosili, N.A.K.; Zakaria, N.H.; Hassan, R.; Kasim, S.; Rose, F.Z.C.; Sutikno, T. A systematic literature review of machine learning methods in predicting court decisions. IAES Int. J. Artif. Intell. 2021, 10, 1091. [Google Scholar] [CrossRef]
  22. Sukanya, G.; Priyadarshini, J. A Meta Analysis of Attention Models on Legal Judgment Prediction System. Int. J. Adv. Comput. Sci. Appl. 2021, 12, 532–538. [Google Scholar] [CrossRef]
  23. Brand, D. Algorithmic Decision-making and the Law. JeDEM-eJournal eDemocracy Open Gov. 2020, 12, 114–131. [Google Scholar] [CrossRef]
  24. Agrawal, A.; Gans, J.S.; Goldfarb, A. Exploring the impact of artificial intelligence: Prediction versus judgment. Inf. Econ. Policy 2019, 47, 1–6. [Google Scholar] [CrossRef]
  25. Atkinson, K.; Bench-Capon, T.; Bollegala, D. Explanation in AI and law: Past, present and future. Artif. Intell. 2020, 289, 103387. [Google Scholar] [CrossRef]
  26. Pessach, D.; Shmueli, E. A Review on Fairness in Machine Learning. ACM Comput. Surv. (CSUR) 2022, 55, 1–44. [Google Scholar] [CrossRef]
  27. Torres-Carrión, P.V.; González-González, C.S.; Aciar, S.; Rodríguez-Morales, G. Methodology for systematic literature review applied to engineering and education. In Proceedings of the 2018 IEEE Global engineering education conference (EDUCON), Santa Cruz de Tenerife, Spain, 17–20 April 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1364–1373. [Google Scholar]
  28. Gusenbauer, M. Google Scholar to overshadow them all? Comparing the sizes of 12 academic search engines and bibliographic databases. Scientometrics 2019, 118, 177–214. [Google Scholar] [CrossRef] [Green Version]
  29. Corbett-Davies, S.; Goel, S. The measure and mismeasure of fairness: A critical review of fair machine learning. arXiv 2018, arXiv:1808.00023. [Google Scholar]
  30. Sil, R.; Roy, A.; Bhushan, B.; Mazumdar, A. Artificial intelligence and machine learning based legal application: The state-of-the-art and future research trends. In Proceedings of the 2019 International Conference on Computing, Communication, and Intelligent Systems (ICCCIS), Greater Noida, India, 18–19 October 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 57–62. [Google Scholar]
  31. Biran, O.; Cotton, C. Explanation and justification in machine learning: A survey. In Proceedings of the IJCAI-17 Workshop on Explainable AI (XAI), Melbourne, Australia, 20 August 2017; Volume 8, pp. 8–13. [Google Scholar]
  32. de Oliveira, L.F.; da Silva Gomes, A.; Enes, Y.; Castelo Branco, T.V.; Pires, R.P.; Bolzon, A.; Demo, G. Path and future of artificial intelligence in the field of justice: A systematic literature review and a research agenda. SN Soc. Sci. 2022, 2, 1–21. [Google Scholar] [CrossRef]
  33. Aletras, N.; Tsarapatsanis, D.; Preoţiuc-Pietro, D.; Lampos, V. Predicting judicial decisions of the European Court of Human Rights: A natural language processing perspective. PeerJ Comput. Sci. 2016, 2, e93. [Google Scholar] [CrossRef] [Green Version]
  34. Medvedeva, M.; Vols, M.; Wieling, M. Using machine learning to predict decisions of the European Court of Human Rights. Artif. Intell. Law 2020, 28, 237–266. [Google Scholar] [CrossRef]
  35. Collenette, J.; Atkinson, K.; Bench-Capon, T.J. An Explainable Approach to Deducing Outcomes in European Court of Human Rights Cases Using ADFs. In Proceedings of the COMMA 2020, Perugia, Italy, 4–11 September 2020; pp. 21–32. [Google Scholar]
  36. Liu, Z.; Chen, H. A predictive performance comparison of machine learning models for judicial cases. In Proceedings of the 2017 IEEE Symposium Series on Computational Intelligence (SSCI), Honolulu, HI, USA, 27 November 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 1–6. [Google Scholar]
  37. O’Sullivan, C.; Beel, J. Predicting the outcome of judicial decisions made by the european court of human rights. arXiv 2019, arXiv:1912.10819. [Google Scholar]
  38. Medvedeva, M.; Vols, M.; Wieling, M. Judicial decisions of the European Court of Human Rights: Looking into the crystal ball. In Proceedings of the Conference on Empirical Legal Studies, Ann Arbor, MI, USA, 9–10 November 2018; p. 24. [Google Scholar]
  39. Visentin, A.; Nardotto, A.; O’Sullivan, B. Predicting judicial decisions: A statistically rigorous approach and a new ensemble classifier. In Proceedings of the 2019 IEEE 31st International Conference on Tools with Artificial Intelligence (ICTAI), Portland, OR, USA, 4–6 November 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 1820–1824. [Google Scholar]
  40. Quemy, A.; Wrembel, R. On integrating and classifying legal text documents. In Proceedings of the International Conference on Database and Expert Systems Applications, Bratislava, Slovakia, 14–17 September 2020; Springer: Berlin/Heidelberg, Germany, 2020; pp. 385–399. [Google Scholar]
  41. Ruger, T.W.; Kim, P.T.; Martin, A.D.; Quinn, K.M. The supreme court forecasting project: Legal and political science approaches to predicting supreme court decisionmaking. Columbia Law Rev. 2004, 104, 1150–1210. [Google Scholar] [CrossRef] [Green Version]
  42. Katz, D.M.; Bommarito, M.J.; Blackman, J. A general approach for predicting the behavior of the Supreme Court of the United States. PLoS ONE 2017, 12, e0174698. [Google Scholar] [CrossRef]
  43. Sert, M.F.; Yıldırım, E.; Haşlak, İ. Using Artificial Intelligence to Predict Decisions of the Turkish Constitutional Court. Soc. Sci. Comput. Rev. 2021, 93, 08944393211010398. [Google Scholar] [CrossRef]
  44. Virtucio, M.B.L.; Aborot, J.A.; Abonita, J.K.C.; Avinante, R.S.; Copino, R.J.B.; Neverida, M.P.; Osiana, V.O.; Peramo, E.C.; Syjuco, J.G.; Tan, G.B.A. Predicting decisions of the philippine supreme court using natural language processing and machine learning. In Proceedings of the 2018 IEEE 42nd annual computer software and applications conference (COMPSAC), Tokyo, Japan, 23–27 July 2018; IEEE: Piscataway, NJ, USA, 2018; Volume 2, pp. 130–135. [Google Scholar]
  45. Sulea, O.M.; Zampieri, M.; Vela, M.; Van Genabith, J. Predicting the law area and decisions of french supreme court cases. arXiv 2017, arXiv:1708.01681. [Google Scholar]
  46. Alghazzawi, D.; Bamasag, O.; Albeshri, A.; Sana, I.; Ullah, H.; Asghar, M.Z. Efficient prediction of court judgments using an LSTM+ CNN neural network model with an optimal feature set. Mathematics 2022, 10, 683. [Google Scholar] [CrossRef]
  47. Muñoz Soro, J.F.; Serrano-Cinca, C. A model for predicting court decisions on child custody. PLoS ONE 2021, 16, e0258993. [Google Scholar] [CrossRef]
  48. Song, D.; Vold, A.; Madan, K.; Schilder, F. Multi-label legal document classification: A deep learning-based approach with label-attention and domain-specific pre-training. Inf. Syst. 2021, 106, 101718. [Google Scholar] [CrossRef]
  49. Mumcuoğlu, E.; Öztürk, C.E.; Ozaktas, H.M.; Koç, A. Natural language processing in law: Prediction of outcomes in the higher courts of Turkey. Inf. Process. Manag. 2021, 58, 102684. [Google Scholar] [CrossRef]
  50. Sharma, S.; Shandilya, R.; Sharma, S. Predicting Indian Supreme Court Decisions. 2021. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3917603 (accessed on 10 October 2022).
  51. Sharma, R.D.; Mittal, S.; Tripathi, S.; Acharya, S. Using modern neural networks to predict the decisions of supreme court of the united states with state-of-the-art accuracy. In Proceedings of the International Conference on Neural Information Processing, Montreal, Canada, 7–12 December 2015; Springer: Berlin/Heidelberg, Germany, 2015; pp. 475–483. [Google Scholar]
  52. Douka, S.; Abdine, H.; Vazirgiannis, M.; Hamdani, R.E.; Amariles, D.R. Juribert: A masked-language model adaptation for french legal text. arXiv 2021, arXiv:2110.01485. [Google Scholar]
  53. Sivaranjani, N.; Jayabharathy, J.; Teja, P. Predicting the supreme court decision on appeal cases using hierarchical convolutional neural network. Int. J. Speech Technol. 2021, 24, 643–650. [Google Scholar] [CrossRef]
  54. Shaikh, R.A.; Sahu, T.P.; Anand, V. Predicting outcomes of legal cases based on legal factors using classifiers. Procedia Comput. Sci. 2020, 167, 2393–2402. [Google Scholar] [CrossRef]
  55. Bertalan, V.G.F.; Ruiz, E.E.S. Predicting Judicial Outcomes in the Brazilian Legal System Using Textual Features. In Proceedings of the DHandNLP@ PROPOR, Evora, Portugal, 2 March 2020; pp. 22–32. [Google Scholar]
  56. Chou, S.; Hsing, T.P. Text mining technique for Chinese written judgment of criminal cases. In Proceedings of the Pacific-Asia Workshop on Intelligence and Security Informatics, Hyderabad, India, 21 June 2010; Springer: Berlin/Heidelberg, Germany, 2010; pp. 113–125. [Google Scholar]
  57. Kaur, H.; Choudhury, T.; Singh, T.P.; Shamoon, M. Crime analysis using text mining. In Proceedings of the 2019 International Conference on Contemporary Computing and Informatics (IC3I), Singapore, 12–14 December 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 283–288. [Google Scholar]
  58. Luo, B.; Feng, Y.; Xu, J.; Zhang, X.; Zhao, D. Learning to predict charges for criminal cases with legal basis. arXiv 2017, arXiv:1707.09168. [Google Scholar]
  59. Xiao, C.; Zhong, H.; Guo, Z.; Tu, C.; Liu, Z.; Sun, M.; Feng, Y.; Han, X.; Hu, Z.; Wang, H.; et al. Cail2018: A large-scale legal dataset for judgment prediction. arXiv 2018, arXiv:1807.02478. [Google Scholar]
  60. Zhong, H.; Guo, Z.; Tu, C.; Xiao, C.; Liu, Z.; Sun, M. Legal judgment prediction via topological learning. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, 31 October–4 November 2018; pp. 3540–3549. [Google Scholar]
  61. Li, S.; Guo, B.; Cai, Y.; Ye, L.; Zhang, H.; Fang, B. Legal case inspection: An analogy-based approach to judgment evaluation. In Proceedings of the International Conference on Artificial Intelligence and Security, New York, NY, USA, 26–28 July 2019; Springer: Berlin/Heidelberg, Germany, 2019; pp. 148–158. [Google Scholar]
  62. Strickson, B.; De La Iglesia, B. Legal judgement prediction for uk courts. In Proceedings of the 2020 the 3rd International Conference on Information Science and System, Cambridge, UK, 19–22 March 2020; pp. 204–209. [Google Scholar]
  63. Xu, N.; Wang, P.; Chen, L.; Pan, L.; Wang, X.; Zhao, J. Distinguish confusing law articles for legal judgment prediction. arXiv 2020, arXiv:2004.02557. [Google Scholar]
  64. Mahmoudi, S.; Condevaux, C.; Mathis, B.; Zambrano, G.; Mussard, S. NER sur décisions judiciaires françaises: CamemBERT Judiciaire ou méthode ensembliste? In Proceedings of the Extraction et Gestion des Connaissances EGC’2022, Blois, France, 24–28 January 2022. [Google Scholar]
  65. Waltl, B.; Bonczek, G.; Scepankova, E.; Landthaler, J.; Matthes, F. Predicting the outcome of appeal decisions in germany’s tax law. In International Conference on Electronic Participation; Springer: Berlin/Heidelberg, Germany, 2017; pp. 89–99. [Google Scholar]
  66. de Ronde, K. Classifying Dutch Fiscal Case-Law Articles Using Natural Language Processing. Master’s Thesis, Erasmus University Rotterdam, Rotterdam, The Netherlands, 2021. [Google Scholar]
  67. Branting, L.K.; Pfeifer, C.; Brown, B.; Ferro, L.; Aberdeen, J.; Weiss, B.; Pfaff, M.; Liao, B. Scalable and explainable legal prediction. Artif. Intell. Law 2021, 29, 213–238. [Google Scholar] [CrossRef]
  68. Vihikan, W.O.; Mistica, M.; Levy, I.; Christie, A.; Baldwin, T.; Mistica, M. Automatic Resolution of Domain Name Disputes; Association for Computational Linguistics: Stroudsburg, PA, USA, 2021. [Google Scholar]
  69. Lage-Freitas, A.; Allende-Cid, H.; Santana, O.; de Oliveira-Lage, L. Predicting Brazilian court decisions. arXiv 2019, arXiv:1905.10348. [Google Scholar] [CrossRef]
  70. McConnell, D.J.; Zhu, J.; Pandya, S.; Aguiar, D. Case-level prediction of motion outcomes in civil litigation. In Proceedings of the Eighteenth International Conference on Artificial Intelligence and Law, São Paulo, Brazil, 21–25 June 2021; pp. 99–108. [Google Scholar]
  71. Chen, D.L.; Eagel, J. Can machine learning help predict the outcome of asylum adjudications? In Proceedings of the 16th Edition of the International Conference on Articial Intelligence and Law, London, UK, 12–16 June 2017; pp. 237–240. [Google Scholar]
  72. Malik, V.; Sanjay, R.; Nigam, S.K.; Ghosh, K.; Guha, S.K.; Bhattacharya, A.; Modi, A. ILDC for CJPE: Indian legal documents corpus for court judgment prediction and explanation. arXiv 2021, arXiv:2105.13562. [Google Scholar]
  73. Shankar, A.; Buddarapu, V.N. Deep Ensemble Learning for Legal Query Understanding. In Proceedings of the CIKM Workshops, Torino, Italy, 22 October 2018. [Google Scholar]
  74. Li, J.; Zhang, G.; Yan, H.; Yu, L.; Meng, T. A Markov logic networks based method to predict judicial decisions of divorce cases. In Proceedings of the 2018 IEEE International Conference on Smart Cloud (SmartCloud), Turin, Italy, 22–26 October 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 129–132. [Google Scholar]
  75. Bagherian-Marandi, N.; Ravanshadnia, M.; Akbarzadeh-T, M.R. Two-layered fuzzy logic-based model for predicting court decisions in construction contract disputes. Artif. Intell. Law 2021, 29, 453–484. [Google Scholar] [CrossRef]
  76. Salaün, O.; Langlais, P.; Lou, A.; Westermann, H.; Benyekhlef, K. Analysis and multilabel classification of Quebec court decisions in the domain of housing law. In Proceedings of the International Conference on Applications of Natural Language to Information Systems, Saarbrücken, Germany, 24–26 June 2020; Springer: Berlin/Heidelberg, Germany, 2020; pp. 135–143. [Google Scholar]
  77. Kamath, C.N.; Bukhari, S.S.; Dengel, A. Comparative study between traditional machine learning and deep learning approaches for text classification. In Proceedings of the ACM Symposium on Document Engineering 2018, Halifax, NS, Canada, 28–31 August 2018; pp. 1–11. [Google Scholar]
Figure 1. Survey classification by types of law.
Figure 1. Survey classification by types of law.
Applsci 12 10200 g001
Figure 2. Corpus size evolution.
Figure 2. Corpus size evolution.
Applsci 12 10200 g002
Figure 3. Languages distribution of analyzed works.
Figure 3. Languages distribution of analyzed works.
Applsci 12 10200 g003
Figure 4. Word cloud analysis.
Figure 4. Word cloud analysis.
Applsci 12 10200 g004
Figure 5. Historical performance of judicial decision prediction.
Figure 5. Historical performance of judicial decision prediction.
Applsci 12 10200 g005
Figure 6. Percentage of models used for ruling decision prediction.
Figure 6. Percentage of models used for ruling decision prediction.
Applsci 12 10200 g006
Figure 7. Scores using different metrics to assess the ruling decision prediction.
Figure 7. Scores using different metrics to assess the ruling decision prediction.
Applsci 12 10200 g007
Table 1. Research questions.
Table 1. Research questions.
Num.Question
Q1Which law type applies judicial decision prediction through ML or DL?
Q2Which NLP and ML techniques were used to examine textual data associated with the legal text?
Q3What are the most used techniques in ML and DL to predict judicial decisions?
Q4Which countries apply or implement judicial decision prediction through ML or DL?
Q5Which quality measures are used to validate decision prediction?
Q6Which law type uses the most judicial decision prediction through ML or DL?
Table 3. Summary of ruling decision prediction in Human Rights, where E = English.
Table 3. Summary of ruling decision prediction in Human Rights, where E = English.
Nro.ReferenceCorpus SizeLang.ModelRepr.MetricMin(%)Max(%)Year
1[33]584ESVMBoW, n-grams, topicsAccuracy62792016
2[36]584EKNN, LR, Bagging, RF, SVMTopicsAccuracy66.587.52017
3[38]1942ESVMTF-IDF n-gramsAccuracy66772018
4[37]9703EGB, RF, SGB, DT, and QDAn-grams. word embedings and doc2vecAccuracy68.8368.832019
5[39]684ESVM, GBN, KNN, EnsamblesBoW + Spectral clusteringAccuracy69.686.12019
6[40]18,420EAdaBoost, Bagging, NB, DT, Ensemble Extra Tree, Extra Tree, GB, KNN, SVM, NN, and RFTF-IDF, n-gramsAccuracy75.8698.322020
7[35]10EAbstract Dialectical FrameworkArgumentsAccuracy-792020
8[34]11,532ESVMTF-IDFAccuracy77792020
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Alcántara Francia, O.A.; Nunez-del-Prado, M.; Alatrista-Salas, H. Survey of Text Mining Techniques Applied to Judicial Decisions Prediction. Appl. Sci. 2022, 12, 10200. https://doi.org/10.3390/app122010200

AMA Style

Alcántara Francia OA, Nunez-del-Prado M, Alatrista-Salas H. Survey of Text Mining Techniques Applied to Judicial Decisions Prediction. Applied Sciences. 2022; 12(20):10200. https://doi.org/10.3390/app122010200

Chicago/Turabian Style

Alcántara Francia, Olga Alejandra, Miguel Nunez-del-Prado, and Hugo Alatrista-Salas. 2022. "Survey of Text Mining Techniques Applied to Judicial Decisions Prediction" Applied Sciences 12, no. 20: 10200. https://doi.org/10.3390/app122010200

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop