Legal Fact Prediction: The Missing Piece in Legal Judgment Prediction

Junkai Liu, Yujie Tong, Hui Huang, Bowen Zheng, Yiran Hu, Peicheng Wu, Chuan Xiao, Makoto Onizuka, Muyun Yang, Shuyuan Zheng

TL;DR

This paper introduces Legal Fact Prediction (LFP), a novel task that bridges the gap between raw evidence and final court judgments. By inserting an intermediate step where models predict "legal facts" from evidence before forecasting a judgment, the authors significantly improve the accuracy and real-world utility of Legal Judgment Prediction (LJP) systems.

What Problem Does This Paper Address?

Legal Judgment Prediction (LJP) aims to automate the forecasting of court rulings. However, most existing research relies on "ground-truth legal facts"—the final, verified version of events determined by a judge after a trial.

This creates a massive practicality gap: litigants and lawyers need predictions before or during a trial to refine their strategies, a stage where only raw, often conflicting evidence is available. As shown in Figure 2, a trial consists of two distinct stages: Fact-Finding (turning evidence into legal facts) and Application of Law (turning legal facts into a judgment). Prior LJP work largely skipped the first stage, assuming the second stage's inputs were already available.

Figure 2: A trial primarily addresses two tasks: determining legal facts and applying the law.

Methods

The authors propose a new pipeline called LFP-empowered LJP. Instead of predicting a judgment directly from evidence (which is difficult and prone to error), the system first performs LFP to generate a set of predicted legal facts. These predicted facts are then fed into a standard LJP system.

Figure 1: Connection between the legal fact prediction (LFP) and legal judgment prediction (LJP) tasks and comparison of three pipelines of LJP: fact-based LJP, evidence-based LJP, and LFP-empowered LJP. Most existing studies focus on fact-based LJP, while evidence-based LJP and LFP-empowered LJP remain unexplored.

The study evaluated six Large Language Models (LLMs), including general-purpose giants like GPT-4o and Claude 3.5, as well as legal-specific models like Law-Llama3.1. They compared three approaches:

  1. Fact-based LJP: Uses ground-truth legal facts (the theoretical upper bound).
  2. Evidence-based LJP: Predicts judgments directly from raw evidence.
  3. LFP-empowered LJP: The proposed two-step process.

Datasets

The authors introduced LFPBench, the first benchmark specifically designed for the LFP task.

  • Source: 657 first-instance civil cases from China.
  • Content: Includes plaintiff claims, evidence items from multiple parties, ground-truth legal facts, and final judgment outcomes.
  • Diversity: Covers 10 representative types of civil disputes, such as house leases, labor payments, and torts.
Figure 4: Distribution of case types in the LFPBench dataset.

Key Insights and Ideas

  • The "Missing Piece" is Real: Predicting judgments directly from evidence is significantly harder than using legal facts. However, adding the LFP step reduces the accuracy drop of evidence-based LJP by 38.5% on average.
  • Legal LLMs Struggle with Complexity: Surprisingly, specialized legal LLMs performed worse than general-purpose models like GPT-4o. The authors suggest this is because legal models are often fine-tuned on short-text QA, making them less capable of the long-form reasoning and summarization required for LFP.
  • Inherent Model Biases: The researchers uncovered two significant biases in how LLMs handle legal evidence:
  • Recency Bias: Models are more likely to favor the party whose evidence is presented last in the prompt.
  • Quantity Bias: Models exhibit a "more is better" bias, tending to favor the plaintiff more strongly as the number of evidence items they submit increases, regardless of the evidence's actual quality.
  • Multimodal Needs: Cases involving torts (like personal injury) were harder to predict because they often rely on non-textual evidence (photos, video) that loses critical detail when converted to the text descriptions used in this study.

Key Results

  • Accuracy Boost: For general-purpose LLMs, LFP-empowered LJP achieved an average accuracy of 48.16%, outperforming direct evidence-based LJP (46.72%) and moving closer to the fact-based upper bound (50.46%).
  • Correlation: The study confirmed a direct positive correlation between the quality of predicted legal facts and the accuracy of the final judgment prediction. As LFP similarity to ground truth increases, so does LJP accuracy.
Figure 5: The correlation between the LFP similarity and the LJP accuaracy. We leverage the DP-Prompt method (Utpala et al., 2023) to generate rewritten legal facts with varying LFP similarities.

Limitations and Future Work

  • Summarized Evidence: Because original trial evidence is often private, LFPBench uses evidence descriptions extracted from public judgments, which are already somewhat summarized by court clerks.
  • Scope: The dataset is currently limited to Chinese civil law. Expanding to criminal law and other jurisdictions is a key next step.
  • Bias Mitigation: Future work needs to address the recency and quantity biases identified in Figure 6 to ensure fairer automated legal assistance.
Figure 6: The effect of the difference in the number of evidence items between the plaintiff and the defendant on the judgments yielded by LFP-empowered LJP. The bias in y-axis means the difference in the rate between the model’s predictions and the ground truth.

Summary updated

Abstract

Legal judgment prediction (LJP), which enables litigants and their lawyers to forecast judgment outcomes and refine litigation strategies, has emerged as a crucial legal NLP task. Existing studies typically utilize legal facts, i.e., facts that have been established by evidence and determined by the judge, to predict the judgment. However, legal facts are often difficult to obtain in the early stages of litigation, significantly limiting the practical applicability of fact-based LJP. To address this limitation, we propose a novel legal NLP task: legal fact prediction (LFP), which takes the evidence submitted by litigants for trial as input to predict legal facts, thereby empowering fact-based LJP technologies to make predictions in the absence of ground-truth legal facts. We also propose the first benchmark dataset, LFPBench, for evaluating the LFP task. Our extensive experiments on LFPBench demonstrate the effectiveness of LFP-empowered LJP and highlight promising research directions for LFP.
BibTeX
@misc{liu2024legal,
  author = {Junkai Liu and Yujie Tong and Hui Huang and Bowen Zheng and Yiran Hu and Peicheng Wu and Chuan Xiao and Makoto Onizuka and Muyun Yang and Shuyuan Zheng},
  title = {{Legal Fact Prediction: The Missing Piece in Legal Judgment Prediction}},
  year = {2024},
  eprint = {2409.07055},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.07055},
}
Figure