Lune

ACL Findings2024

LJPCheck: Functional Tests for Legal Judgment Prediction

Yuan Zhang, Wanhong Huang, Yi Feng, Chuanyi Li, Zhiwei Fei, Jidong Ge, Bin Luo, Vincent Ng

Abstract

Legal Judgment Prediction (LJP) refers to the task of automatically predicting judgment results (e.g., charges, law articles and term of penalty) given the fact description of cases. While SOTA models have achieved high accuracy and F1 scores on public datasets, existing datasets fail to evaluate specific aspects of these models (e.g., legal fairness, which significantly impact their applications in real scenarios). Inspired by functional testing in software engineering, we introduce LJPCHECK, a suite of functional tests for LJP models, to comprehend LJP models' behaviors and offer diagnostic insights. We illustrate the utility of LJPCHECK on five SOTA LJP models. Extensive experiments reveal vulnerabilities in these models, prompting an in-depth discussion into the underlying reasons of their shortcomings.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Legal Judgment Prediction: A Reflection on the State of the Art cites NeurJudge: A Circumstance-aware Neural Framework for Legal Judgment Prediction
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Legal Judgment Prediction: A Reflection on the State of the ArtYi Feng, Chuanyi Li, Vincent NgACL 2026

Builds on8

  1. Evaluating Models' Local Decision Boundaries via Contrast SetsMatt Gardner, Yoav Artzi, Victoria Basmova, Jonathan Berant et al.EMNLP Findings 2020 · 260 citations
  2. NeurJudge: A Circumstance-aware Neural Framework for Legal Judgment PredictionLinan Yue, Qi Liu, Binbin Jin, Han Wu et al.SIGIR 2021 · 83 citations
  3. Legal Judgment Prediction via Relational LearningQian Dong, Shuzi NiuSIGIR 2021 · 53 citations
  4. Beyond Accuracy: Behavioral Testing of NLP Models with CheckListMarco Túlio Ribeiro, Tongshuang Wu, Carlos Guestrin, Sameer SinghACL 2020 · 51 citations
  5. LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model DevelopmentIlias Chalkidis, Nicolas Garneau, Catalina Goanta, Daniel Martin Katz et al.ACL 2023 · 29 citations

Related papers

  1. Towards Interactivity and Interpretability: A Rationale-based Legal Judgment Prediction FrameworkYiquan Wu, Yifei Liu, Weiming Lu, Yating Zhang et al.EMNLP 2022 · 33 citations
  2. Distinguish Confusing Law Articles for Legal Judgment PredictionNuo Xu, Pinghui Wang, Long Chen, Li Pan et al.ACL 2020 · 150 citations
  3. HateCheck: Functional Tests for Hate Speech Detection ModelsPaul Röttger, Bertie Vidgen, Dong Nguyen, Zeerak Waseem et al.ACL 2021
  4. Legal Fact Prediction: The Missing Piece in Legal Judgment PredictionJunkai Liu, Yujie Tong, Hui Huang, Bowen Zheng et al.EMNLP 2025
  5. Iteratively Questioning and Answering for Interpretable Legal Judgment PredictionHaoxi Zhong, Yuzhong Wang, Cunchao Tu, Tianyang Zhang et al.AAAI 2020 · 133 citations
Dusk over the sea between two cliffs drawn in fine vertical lines