[Paper Review] Exploiting Contrastive Learning and Numerical Evidence for Confusing Legal Judgment Prediction
This paper proposes a novel framework that combines MoCo-based supervised contrastive learning and weakly supervised numerical evidence extraction via NER to improve legal judgment prediction (LJP) for confusing cases. By jointly learning discriminative representations and accurately identifying total crime amounts, the method achieves state-of-the-art performance, especially on confusing charge and penalty term prediction, with a 2.55-point F1 improvement on the most challenging cases.
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. 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.
Motivation & Objective
- To address the challenge of distinguishing confusing legal cases with subtle textual or numerical differences in legal judgment prediction (LJP).
- To improve prediction accuracy for charge, applicable law article, and penalty term, especially in cases with high confusion risk.
- To overcome the limitations of standard cross-entropy loss, which treats all misclassifications equally, regardless of whether they involve confusing charges.
- To enhance penalty term prediction by automatically extracting and encoding the total crime amount from unstructured fact descriptions.
- To develop a model-agnostic framework that integrates numerical evidence and contrastive learning to benefit all three LJP subtasks simultaneously.
Proposed method
- Formalizes total crime amount extraction as a named entity recognition (NER) task to identify relevant numbers from unstructured legal fact descriptions.
- Employs a pre-trained number encoder to preserve numerical semantics and integrate extracted crime amounts into the penalty term prediction head.
- Introduces a momentum-based contrastive learning strategy using a large-scale queue to provide sufficient negative examples, overcoming data scarcity in high-entropy classification tasks.
- Designs a multi-task positive pair construction strategy that simultaneously benefits charge, law article, and penalty term prediction by aligning representations across all three tasks.
- Applies MoCo-based supervised contrastive learning to pull representations of the same legal case closer while pushing apart those of confusing cases.
- Optimizes the trade-off between contrastive learning and classification via a hyperparameter λ, balancing the loss contributions in the multi-task objective.
Experimental results
Research questions
- RQ1Can supervised contrastive learning with a momentum queue improve representation learning for legal judgment prediction, especially in high-variability, high-confusion settings?
- RQ2Does weakly supervised numerical evidence extraction via NER lead to significant gains in penalty term prediction for financial and number-sensitive cases?
- RQ3Can a unified contrastive learning strategy effectively benefit all three subtasks (charge, law, penalty) simultaneously without causing performance degradation due to conflicting supervision?
- RQ4How does the integration of extracted numerical evidence compare in impact to contrastive learning for improving penalty term prediction?
- RQ5What is the optimal strategy for constructing positive pairs in multi-task LJP to avoid the 'contradictory phenomenon' where same-charge instances differ in law or penalty labels?
Key findings
- The proposed method achieves new state-of-the-art performance on real-world Chinese LJP datasets, particularly excelling in predicting confusing cases.
- The framework improves the F1 score on confusing charges by 2.55 points when applied to NeurJudge+, demonstrating strong robustness to subtle case distinctions.
- The integration of extracted numerical evidence yields a 2.55-point F1 gain on the most challenging penalty term prediction, outperforming the contrastive learning component alone.
- Ablation studies confirm that both numerical evidence extraction and contrastive learning are essential, with numerical evidence having a stronger impact on penalty term prediction.
- The momentum contrast queue significantly enhances performance by providing a large, stable set of negative examples, especially given the high number of charge classes (119).
- Qualitative case studies show the model successfully corrects misclassifications of confusing charges and accurately predicts penalty terms based on correctly extracted crime amounts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.