An Element-aware Multi-representation Model for Law Article Prediction

Huilin Zhong, Junsheng Zhou, Weiguang Qu, Yunfei Long, Yanhui Gu

Abstract

Legal Judgment Prediction (LJP) is a critical task in legal informatics, traditionally approached through global text representation. However, standard models often fail to capture the nuanced distinctions between similar law articles. This paper introduces the Law Article Element-aware Multi-representation Model (LEMM), which mimics human judicial reasoning by decomposing law articles into constituent elements. By using these elements to guide feature extraction from case facts, LEMM achieves state-of-the-art performance on the CAIL 2018 dataset, particularly in complex multi-label scenarios.

Introduction

Legal Judgment Prediction (LJP) involves automating the prediction of relevant law articles, charges, and penalty terms based on case descriptions. Despite advancements in NLP, existing models face three primary challenges: a lack of granularity in distinguishing similar laws, a bias toward single-label predictions, and a departure from the logical reasoning processes used by human judges. Human judges typically analyze a case by checking if specific "elements" of a crime—such as motive, subject, or harmful behavior—are satisfied by the facts.

Structural Labeling of Law Articles

To bridge the gap between neural models and legal logic, the researchers propose a structural labeling approach. They manually decomposed 183 law articles into seven key elements: Subject, Object, Purpose and Motive, Harmful Behavior, Harmful Result, Crime Occasion, and Supplementary Explanation.

Example of a law article (Article 165) decomposed into its constituent legal elements.

This decomposition allows the model to treat law articles not as monolithic text blocks, but as structured queries that can be matched against case facts. This process mirrors how a legal professional identifies whether a defendant's actions meet the specific criteria of a statute.

The LEMM Architecture

The Law Article Element-aware Multi-representation Model (LEMM) consists of a multi-stage pipeline designed to extract and fuse element-specific features.

The high-level architecture of LEMM, illustrating the flow from encoding to multi-label classification.

1. Encoder and Feature Extraction

The model uses Bi-directional Gated Recurrent Units (BiGRU) to encode case facts and law elements. A key innovation is the use of law elements as queries in an attention mechanism. This "element-aware" extraction identifies specific evidence within the case description for each legal criterion (e.g., locating the "motive" within the narrative).

2. Fusion and Relation Extraction

Extracted features are fused into "crime-aware" and "law-aware" representations. Recognizing that law articles are often interrelated, LEMM employs a self-attention-based Relation Extraction module to capture dependencies between different statutes before final classification. This ensures that the prediction of one law article informs the likelihood of related articles.

3. Multi-label Classification

To handle real-world cases involving multiple crimes, the model utilizes multiple binary classifiers rather than a single softmax output, enabling robust multi-label prediction.

Experimental Results

LEMM was evaluated on the CAIL 2018 dataset, a large-scale collection of criminal cases from China. It significantly outperformed baseline models, including CNN, LSTM, and the previous state-of-the-art, TopJudge.

On the filtered dataset, LEMM achieved an accuracy of 77.25%, representing a 5.84% improvement over TopJudge. Its Macro F1 (82.46%) and Micro F1 (84.13%) scores also showed substantial gains. Ablation studies highlighted the necessity of the element-aware approach: replacing structured elements with standard whole-text representations (the "fact-art" variant) led to a nearly 5% drop in accuracy, confirming that granular element matching is vital for high-precision legal prediction.

Conclusion

LEMM demonstrates that incorporating domain-specific structural knowledge—specifically legal elements—can significantly enhance the performance and interpretability of LJP models. While the current reliance on manual labeling presents a scaling challenge, future work may focus on automating element extraction to apply this logic across broader legal systems and diverse sub-tasks like penalty estimation.

Summary updated

BibTeX
@inproceedings{zhong2020element,
  author = {Huilin Zhong and Junsheng Zhou and Weiguang Qu and Yunfei Long and Yanhui Gu},
  title = {{An Element-aware Multi-representation Model for Law Article Prediction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.540},
}
Figure