Exploiting Contrastive Learning and Numerical Evidence for Confusing Legal Judgment Prediction

Leilei Gan, Baokui Li, Kun Kuang, Yating Zhang, Lei Wang +3 more
11/15/2022
cs.CLcs.AI
contrastive-ssl

Official code: leileigan/ContrastiveLJP (9 stars, Python, last commit 2024-07-03).

Abstract

Given the fact description text of a legal case, legal judgment prediction (LJP) aims to predict the case's charge, law article and penalty term. A core problem of LJP is how to distinguish confusing legal cases, where only subtle text differences exist.

Show full abstract

Previous studies fail to distinguish different classification errors with a standard cross-entropy classification loss, and ignore the numbers in the fact description for predicting the term of penalty. To tackle these issues, in this work, first, we propose a moco-based supervised contrastive learning to learn distinguishable representations, and explore the best strategy to construct positive example pairs to benefit all three subtasks of LJP simultaneously. Second, in order to exploit the numbers in legal cases for predicting the penalty terms of certain cases, we further enhance the representation of the fact description with extracted crime amounts which are encoded by a pre-trained numeracy model. Extensive experiments on public benchmarks show that the proposed method achieves new state-of-the-art results, especially on confusing legal cases. Ablation studies also demonstrate the effectiveness of each component.

View on arXivView PDF

Code Implementations(1)

90Python, Jupyter NotebookJun 21, 20232 years ago

Similar Papers

Cite this paper

@article{gan2022exploiting,
  title  = {Exploiting Contrastive Learning and Numerical Evidence for Confusing Legal Judgment Prediction},
  author = {Leilei Gan and Baokui Li and Kun Kuang and Yating Zhang and Lei Wang and Luu Anh Tuan and Yi Yang and Fei Wu},
  year   = {2022},
  eprint = {2211.08238},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.08238}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.08238.svg)](https://codeofpaper.com/paper/2211.08238)

Discussion