How LLMs write Chinese court judgments
Work on judgment generation has so far mostly dealt with criminal cases, and datasets covering all three types of proceedings are small: JuDGE has 501 cases, CaseGen 500, J1-EVAL 162, PLawBench 40. Text metrics such as ROUGE and BERTScore do not catch a wrong charge or a missing payment amount, and free-form scoring of a judgment by an LLM judge is unstable. The authors build a dataset for Chinese judgments: the input is the header, the parties’ positions and the facts established by the court, and the model writes the reasoning and the operative part. The judgments come from the official China Judgments Online portal: 3,462 cases from 2019-2024, 1,650 civil, 1,022 criminal and 790 administrative. The sample is stratified by case type and year, and within each stratum by category (cause of action, charge, dispute category), with an adjustment in favor of rare categories: the final distribution is 30% empirical and 70% smoothed. The average input length is 2,563 characters, the reasoning 596 and the operative part 120, and a judgment cites 4.68 provisions on average.
The evaluation consists of 13 metrics: three shared by all cases (statutory provisions applied, disputed issues, justification of conclusions) and ten specific to case types. For criminal cases - charges, fine amount, recidivism, mitigating circumstances and sentence length; for civil cases - claim support (in full, in part, rejected) and payment amounts per obligor; for administrative cases - claim support, payment amounts and the court’s non-monetary dispositions on the administrative act, such as annulment or an order to issue a new one. Qwen3-Plus extracts the required elements from the generated and the real judgment, and for disputed issues, justification and administrative dispositions it also tags pairs as equivalent, partially equivalent or not equivalent; scores are then computed by formulas - F1 for provisions and charges, numerical closeness for amounts and sentences. On 5,000 extraction tasks Qwen3-Plus averages 99.41% accuracy over three runs; agreement of its tags with the majority of three lawyers on 150 examples is Cohen’s kappa 0.82 for disputed issues, 0.70 for justification and 0.89 for administrative dispositions. In an example where instead of theft of 1,010,674 yuan the model wrote fraud of 1 million with different provisions, ROUGE-L gives 0.70, BERTScore 0.91, an LLM judge 3 out of 10, and the dataset’s metrics 0.125 on average.
Nine models were tested: the legal-domain WisdomInterrogatory and LegalOne (8 billion parameters) and the general-purpose Claude Sonnet 4.5, DeepSeek-R1, Gemini 3 Pro Preview, GPT-5.4, Grok-4, LLaMA 3.1 405B and Qwen3-Max; a prompt with three examples, temperature 0, three runs each. Gemini 3 Pro Preview has the best average score in all three case types: 0.801 in criminal, 0.730 in civil, 0.677 in administrative cases. LegalOne is close to the leaders in criminal cases (0.776), but in civil (0.657) and administrative (0.572) cases it trails Gemini 3 Pro Preview and Claude Sonnet 4.5; WisdomInterrogatory is last everywhere. Leaders differ by metric: DeepSeek-R1 on justification in criminal cases, Grok-4 on charges and administrative dispositions, Claude Sonnet 4.5 on justification in civil and administrative cases, Qwen3-Max on disputed issues in civil cases. Almost all models determine criminal charges with F1 of 0.96-0.98, while statutory citations are the weakest point, especially in civil cases: from 0.079 to 0.595. Payment amounts in administrative cases (best result 0.441), fine amounts and recidivism are also hard. On the three shared metrics, models do better on criminal cases than on administrative ones, and better on administrative than on civil ones.
The authors name the limitations themselves: the dataset includes only published judgments, it is a snapshot at a point in time while norms and practice change, and it cannot be ruled out that the judgments were in the models’ training data, especially for closed models. The authors do not propose using the dataset to justify real decisions without human oversight. For court analytics the paper shows a way to check a generated judgment: compare not the text but the elements of the outcome - provisions, charges, sentence, amounts, claim support; the theft-versus-fraud example shows that text metrics do not catch such errors.
Paper: ChJGBench: A Comprehensive Benchmark for Chinese Legal Judgment Generation with Diagnostic Evaluation. Yinghao Hu, Linggang Kong, Qian Xiao et al.