Towards Interactivity and Interpretability: A Rationale-based Legal Judgment Prediction Framework

Yiquan Wu, Yifei Liu, Weiming Lu, Yating Zhang, Jun Feng, Changlong Sun, Fei Wu, Kun Kuang

Introduction

Legal Judgment Prediction (LJP) is a critical task in legal AI, aiming to predict law articles, charges, and penalty terms based on case facts. While deep learning models have achieved high accuracy, they often function as "black boxes," lacking the interpretability and interactivity required for high-stakes legal applications. Judges cannot easily understand the model's reasoning or intervene to correct logical errors. To address these limitations, researchers proposed the Rationale-based Legal Judgment Prediction (RLJP) framework.

The RLJP Framework

This "biomimic" approach splits the prediction process into two human-like stages: rationale generation and judgment prediction. By separating the reasoning from the final verdict, the framework allows for greater transparency and human-in-the-loop interaction.

The RLJP framework architecture, illustrating the flow from Fact Description through Rationale Generation to the final Judgment Prediction Module.

The framework consists of two primary modules:

  1. Rationale Generation Module: This module generates a charge rationale (explaining why a crime was committed) and a penalty rationale (identifying sentencing factors like surrendering or returning stolen goods). It utilizes architectures like BART or Pointer-Generator Networks (PGN).
  2. Judgment Prediction Module: This module uses the original facts and the generated rationales to predict the final verdict. It employs a Topological Attention (TOPATT) mechanism to model the hierarchical dependencies between legal subtasks—recognizing, for example, that a penalty term depends on the specific charge and law article.

Experimental Evaluation

The researchers evaluated RLJP on a dataset of 89,768 samples from the LAIC 2021 competition. RLJP achieved state-of-the-art results, outperforming established models like TopJudge, NeurJudge, and LADAN. For instance, it reached a Macro-F1 of 55.81 for law article prediction, a significant improvement over previous benchmarks.

Rationales as Force Multipliers

A key finding of the study is the strong correlation between the quality of generated rationales and final prediction accuracy. As the linguistic quality of the reasoning improves, the model's ability to render correct legal judgments increases proportionally.

Graph showing the correlation between rationale quality (ROUGE-1) and judgment prediction performance across multiple metrics.

This relationship suggests that the model is not just memorizing patterns but is learning to leverage structured reasoning. Furthermore, experiments simulating human intervention—where "perfect" rationales were provided—saw charge accuracy (Mi-F1) jump from ~95% to over 99%. This proves that allowing judges to correct the AI's logic is a viable path toward high-accuracy, deployable legal AI.

Conclusion

RLJP represents a significant step toward interpretable and interactive legal AI. By mimicking human judicial reasoning and allowing for manual corrections, it provides a more transparent and trustworthy framework for legal judgment prediction. Future work will focus on reducing sensitivity to "noise" in the generation phase and incorporating explicit legal text into the model's logic to further refine penalty predictions.

Summary updated

BibTeX
@inproceedings{wu2022towards,
  author = {Yiquan Wu and Yifei Liu and Weiming Lu and Yating Zhang and Jun Feng and Changlong Sun and Fei Wu and Kun Kuang},
  title = {{Towards Interactivity and Interpretability: A Rationale-based Legal Judgment Prediction Framework}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.316},
}
Figure