Skip to main content
QUICK REVIEW

[Paper Review] Overview of CAIL2018: Legal Judgment Prediction Competition

Haoxi Zhong, Chaojun Xiao|arXiv (Cornell University)|Oct 13, 2018
Artificial Intelligence in LawSocial Sciences17 references21 citations
TL;DR

This paper presents the CAIL2018 Legal Judgment Prediction competition, introducing a large-scale Chinese criminal law dataset and three subtasks: predicting relevant law articles, criminal charges, and prison terms from case descriptions. Using deep learning and ensemble methods, top models achieved 90.62% F1 on law articles, 87.91% on charges, and 78.22% on prison terms, highlighting advances in handling class imbalance and legal logic dependencies.

ABSTRACT

In this paper, we give an overview of the Legal Judgment Prediction (LJP) competition at Chinese AI and Law challenge (CAIL2018). This competition focuses on LJP which aims to predict the judgment results according to the given facts. Specifically, in CAIL2018 , we proposed three subtasks of LJP for the contestants, i.e., predicting relevant law articles, charges and prison terms given the fact descriptions. CAIL2018 has attracted several hundreds participants (601 teams, 1, 144 contestants from 269 organizations). In this paper, we provide a detailed overview of the task definition, related works, outstanding methods and competition results in CAIL2018.

Motivation & Objective

  • To advance legal intelligence by developing automated systems that predict legal judgments from factual case descriptions.
  • To address the challenges of class imbalance, ambiguous charge definitions, and complex dependencies among legal subtasks.
  • To evaluate state-of-the-art NLP and deep learning models on real-world Chinese criminal law data.
  • To promote research in interpretable and robust legal AI through a large-scale, publicly released dataset and competition framework.

Proposed method

  • Constructed a large-scale dataset of 5.7 million Chinese criminal case documents from China Judgment Online, filtered to 1.7 million for training.
  • Defined three subtasks: predicting relevant law articles, criminal charges, and prison terms from fact descriptions.
  • Employed neural text classification models including Text-CNN, BiLSTM, GRU, HAN, RCNN, and DPCNN for feature extraction and classification.
  • Applied advanced techniques such as ELMo embeddings, focal loss, data oversampling/undersampling, and multi-task learning to address class imbalance.
  • Integrated additional features like named entities, monetary amounts, and defendant age to improve prison term prediction.
  • Used ensemble methods combining multiple models via voting or weighted averaging to boost performance on all subtasks.

Experimental results

Research questions

  • RQ1How effective are deep learning models in predicting legal judgments from natural language case descriptions in the Chinese legal system?
  • RQ2What techniques best mitigate the impact of long-tailed class distributions in legal text classification tasks?
  • RQ3To what extent can joint modeling of interdependent legal subtasks (e.g., charges linked to law articles) improve overall prediction performance?
  • RQ4How do manually engineered features and attribute prediction enhance performance on low-frequency or confusing legal categories?
  • RQ5Can loss functions like focal loss and attention mechanisms improve classification accuracy on rare legal charges and prison term intervals?

Key findings

  • The best-performing models achieved 90.62% F1-score on the law article prediction subtask, indicating strong performance on high-frequency categories.
  • Charge prediction reached 87.91% F1, demonstrating the effectiveness of deep learning and data balancing techniques on complex, imbalanced legal categories.
  • Prison term prediction achieved 78.22% F1, the most challenging subtask due to multi-factor dependencies and continuous outcome discretization.
  • Techniques such as ELMo embeddings, focal loss, and manual feature engineering significantly improved performance on low-frequency classes.
  • Multi-task learning and ensemble methods consistently outperformed single-model baselines across all subtasks.
  • The competition revealed that explicit feature engineering (e.g., amount involved, age) was particularly effective for prison term prediction, where semantic cues alone were insufficient.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.